Skip to main content
curl -X GET https://api.thinnest.ai/v2/chats/{session_id} \
  -H "Authorization: Bearer $THINNESTAI_API_KEY"

Response 200

{
  "id": "sess_abc123",
  "agent_id": 5,
  "name": "Sales inquiry",
  "source": "dashboard",
  "messages": [
    { "role": "user", "content": "What's the pricing?", "timestamp": "2026-03-25T10:00:01Z" },
    { "role": "assistant", "content": "Our pricing starts at...", "timestamp": "2026-03-25T10:00:03Z" }
  ],
  "created_at": "2026-03-25T10:00:00Z",
  "updated_at": "2026-03-25T10:15:00Z"
}

Errors

CodeDescription
404Chat session not found
403Not authorized to access this chat