Skip to main content
GET
/
v1
/
chats
/
{id}
/
messages
/
{mid}
Error
A valid request URL is required to generate request examples
{
  "id": "message_d8aad64dib2c7m3ae7jg",
  "created_at": "2026-05-23T10:15:31Z"
}

Documentation Index

Fetch the complete documentation index at: https://dev.chief.bot/llms.txt

Use this file to discover all available pages before exploring further.

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>

From cp.messages.created_at — when the message row was persisted by the workflow.