Skip to main content
GET
/
chat
/
{chatId}
Get session history
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>"
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

API key from Raccoon AI

Path Parameters

chatId
string<uuid>
required

Response

Chat retrieved

chat
object

A persistent workspace containing turns and files

messages
object[]

All turns in this session