Get message
Threads
Get message
Get a message by ID.
GET
Get message
Retrieve a single message by ID. For assistant messages where file search was used, the content includes source tracking fields per retrieved chunk:
chunk_id, page, lines, and section. Use chunk_id to call the chunk endpoint for full Markdown provenance and the file_id of the source document.Authorizations
Authorization Bearer Token
Headers
Response
Successful Response
Thread message shape returned by the thread API.
parts are opt-in so existing clients keep the previous response shape by default.
parts
(MessageTextPart · object | MessageReasoningPart · object | MessageFilePart · object | MessageDataPart · object | MessageToolCallPart · object | MessageToolErrorPart · object | MessageToolResultPart · object)[] | null
A text part persisted alongside a thread message.
- MessageTextPart
- MessageReasoningPart
- MessageFilePart
- MessageDataPart
- MessageToolCallPart
- MessageToolErrorPart
- MessageToolResultPart
Last modified on June 18, 2026