Skip to main content
POST
/
api
/
agent-runs
/
{runId}
/
feedback
cURL
curl -X POST "https://app.cotool.ai/api/agent-runs/:runId/feedback" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"label":"up","agentId":"string","chatEventId":"string","comment":"string"}'

Documentation Index

Fetch the complete documentation index at: https://docs.cotool.ai/llms.txt

Use this file to discover all available pages before exploring further.

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 string length: 1000

Response

200

Successful response - no content