URL parameters
The ID of the chat to retrieve.
Headers
Bearer $TOKEN
Retrieves a specific chat by its ID, including its full transcript and any pending confirmations.
URL parameters
The ID of the chat to retrieve.
Headers
Bearer $TOKEN
Returns the requested chat with its transcript and pending confirmations.
Response body
Unauthorized
Response body
Not Found
Response body
Response attributes
The ID of the chat.
Always chat.
The ID of the team the chat belongs to.
The name of the team the chat belongs to.
The name of the chat.
Whether the agent is working on the chat: processing, awaiting_confirmation, or idle. Chat statuses explains each.
The number of messages in the chat.
When the latest message was posted, as an ISO 8601 date-time in UTC, or null when the chat has no messages.
The number of tokens the agent has used on the chat so far.
The model the chat runs on, such as anthropic/claude-opus-5.5, or null on chats created before model selection.
What the chat has cost so far, in US dollars.
When the chat was created, as an ISO 8601 date-time in UTC.
When the chat was last updated, as an ISO 8601 date-time in UTC.
The messages of the chat, oldest first.
The ID of the message.
Who wrote the message: user or ai.
The text of the message as markdown, which on an AI message is the answer and is null until the agent produces one.
The structured content of the message: the agent's reports on an AI message, or the files and references a user attached.
The kind of artifact: report on AI messages, or file, incident, error, text_blob, investigation, prompt, or live_tail_filter on user messages.
The title of a report, investigation, or prompt, or the source names of a live_tail_filter.
The text of a report as markdown, or the pasted text of a text_blob.
The file name of a file, or the name of an incident or text_blob.
A link to the file, incident, or error.
The size of a file in bytes.
The MIME type of a file, such as image/png.
The ID of an incident.
The exception type of an error.
The exception message of an error.
The ID of the application an error belongs to, or of the source an investigation looks into.
The pattern hash that identifies an error.
What an investigation looks into: log, span, error, or exception.
The timestamp of the log or span row an investigation looks into.
The trace ID of the span an investigation looks into.
The span ID of the span an investigation looks into.
The name of the Uptime AI SRE integration a prompt comes from.
The comma-separated IDs of the sources a live_tail_filter covers.
The filter query of a live_tail_filter.
The start of a live_tail_filter's time range, absolute or relative like now-3h.
The end of a live_tail_filter's time range, absolute or relative like now.
The label of a live_tail_filter's time range, such as Last 3 hours.
When the message was posted, as an ISO 8601 date-time in UTC.
The user who wrote the message, or null when no user is behind it, as on AI messages and messages sent with a team API token.
The Better Stack ID of the user.
The full name of the user, or their e-mail when no name is set.
The tool runs waiting for your approval, oldest first, empty unless the status is awaiting_confirmation.
The ID of the confirmation, used to approve or deny it.
The name of the tool the agent wants to run, such as Bash.
The input the agent wants to run the tool with, such as the command.
Always pending, since only confirmations still waiting for a decision are listed.
The note left with the decision, always null here since the confirmation is still pending.
When the confirmation expires if nobody approves or denies it, as an ISO 8601 date-time in UTC.
When the confirmation was approved or denied, always null here since the confirmation is still pending.
When the agent asked for the confirmation, as an ISO 8601 date-time in UTC.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.