Skip to main content
POST
/
api
/
v1
/
tasks
/
{task_id}
/
feedback
Submit Task Feedback
curl --request POST \
  --url https://api.tracelm.ai/api/v1/tasks/{task_id}/feedback

Request Body

  • tool_call_id (UUID, required)
  • feedback_type (required: necessary | unnecessary | unclear)
  • comment (optional)

Behavior

  • If the same user already submitted feedback for this tool call, the record is updated.
  • Aggregated unnecessary-tool patterns are recomputed for that tool.

Response

Returns feedback row with id, task_id, user_id, tool_call_id, feedback_type, comment, created_at.