Skip to main content
POST
/
api
/
agent-runs
/
{runId}
/
feedback
cURL
curl --request POST \
  --url https://app.cotool.ai/api/agent-runs/{runId}/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "up",
  "agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "chatEventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "comment": "<string>"
}'

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

runId
string<uuid>
required

Body

application/json
label
enum<string>
required
Available options:
up,
down
agentId
string<uuid>
chatEventId
string<uuid>
comment
string
Maximum length: 1000

Response

200

Successful response - no content