cURL
curl -X GET "https://app.cotool.ai/api/chats" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"
{ "chats": [ { "id": "<string>", "organizationId": "<string>", "title": "<string>", "createdAt": "2025-06-17T12:34:56.789Z", "updatedAt": "2025-06-17T12:34:56.789Z", "experience": "chat", "modelAlias": "<unknown>", "userId": "<string>", "agentId": "<string>", "detectionId": "<string>", "detectionPlatform": "panther", "triggerId": "<string>", "triggerName": "<string>", "triggerSource": "<string>", "triggerDescription": "<string>", "isStreaming": true, "result": "<string>", "structuredOutputSchema": { "type": "string", "title": "<string>", "description": "<string>", "properties": {}, "items": "<unknown>", "required": [ "<string>" ], "enum": [ "<string>" ], "x-cotool": { "presetId": "classification" } }, "error": "<string>", "evalScore": 123, "evalExplanation": "<string>", "evalBulletSummary": [ "<string>" ] } ], "totalCount": 123, "feedbackByEvent": {} }
Retrieve a paginated list of chats for the current user or agent.
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Bearer your_api_key_here
1 <= x <= 100
x >= 0
Successful response
Show child attributes
Was this page helpful?