Skip to main content
GET
Error

Authorizations

X-API-Key
string
header
required

Personal Access Token, sent verbatim as pat_<32 chars>. PATs are minted from the Chief settings UI.

Headers

X-Project-Id
string
required

Project identifier scoping the request. Required on every project-scoped public endpoint. Missing or malformed values respond with HTTP 400 and code publicapi.tenancy.project.missing.

Pattern: ^project_[a-z0-9]{20}$

Path Parameters

id
string
required

Chat identifier.

Pattern: ^chat_[a-z0-9]{20}$
mid
string
required

Message identifier.

Pattern: ^message_[a-z0-9]{20}$

Response

Message body.

id
string
required
Pattern: ^message_[a-z0-9]{20}$
prompt
string

The user's text on this turn. Omitted until the workflow has written the recording. Rich-text prompts are rendered to markdown.

response
string

The assistant's text on this turn (the final answer only; intermediate reasoning blocks are excluded). Omitted until the workflow has written the recording. Rich-text responses are rendered to markdown.

created_at
string<date-time>

When the message was completed by the system.

ingress_credits
integer<int64>

Credits consumed reading context into the turn. Absent until the turn completes and its debit is posted.

egress_credits
integer<int64>

Credits consumed producing the response. Absent until the turn completes and its debit is posted.

total_credits
integer<int64>

Total credits debited for the turn. Absent until the turn completes and its debit is posted.