Skip to main content
GET
/
v0
/
chat
/
{conversation_id}
Get conversation
curl --request GET \
  --url https://api.getdecimal.ai/v0/chat/{conversation_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "status": "completed",
  "messages": [
    {
      "role": "user",
      "content": "<string>",
      "sources": [
        {
          "title": "<string>",
          "url": "<string>"
        }
      ]
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API token with sk-de- prefix. Created in the Decimal dashboard under Settings → API Tokens.

Path Parameters

conversation_id
string
required

Conversation ID (returned by POST /v0/chat).

Response

Conversation with message history.

id
string
required
status
enum<string>
required

Conversation status. processing while the AI is working, completed once the response is ready, or failed if an error occurred.

Available options:
completed,
processing,
failed
messages
object[]
required
created_at
string<date-time>
required
updated_at
string<date-time>
required