Retrieves a session with all its turns, including user prompts, agent responses, and generated content.
cURL
curl --request GET \ --url https://api.raccoonai.tech/chat/{chatId} \ --header 'Authorization: Bearer <token>'
{ "chat": { "id": "<string>", "chatId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "title": "<string>", "userId": "<string>", "createdAt": 123, "updatedAt": 123, "fileSnapshot": {} }, "messages": [ { "id": "<string>", "chatId": "<string>", "type": "user", "taskId": "<string>", "content": "<string>", "createdAt": 123, "inputMode": "auto", "blocks": [ { "id": "<string>", "type": "markdown", "final": true, "state": {} } ], "status": { "phase": "queued", "eta_seconds": 123, "error": { "message": "<string>", "code": "<string>" } } } ] }
API key from Raccoon AI
Chat retrieved
A persistent workspace containing turns and files
Show child attributes
All turns in this session
Was this page helpful?