Get a message by ID
Changed onReturns a single message from the session by its ID. This feature is enabled for selected organizations only.
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Path parameters
Session ID
Message ID
Query parameters
Computer ID to query directly
Headers
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 200
Unix timestamp, in milliseconds, when the message was created.
Unix timestamp, in milliseconds, when the message last changed.
Marks a notice the harness wrote into the conversation, such as a provider error or a skill activation. The role is unchanged by it, so readers that predate the marker still show its text.
On a system notice: what it reports; more values may be added, and a reader treats one it does not know as absent. Readers that hide system notices show the reasoning_effort_disabled kind, because it explains why the reasoning level in use differs from the one selected.
On a reasoning_effort_disabled notice: the model, the selected reasoning level the organization disabled, and the level that ran instead. Absent on notices written before the field existed. A level the reader does not know reads as absent.
On a notice that repeats a hook's error: the id of the hook row that already shows the error. A client that draws that hook row can leave the notice out.
Marks an assistant message that ended early. When the session is loaded, a model-owned call of it that has no result is not run or resumed, unless a pending marker reserves that call or a message without the mark also makes it.
@deprecated Use thinking block signature fields with signatureProvider: "google" instead. Do not use in new code.
Unix timestamp, in milliseconds, when the hook started.
Unix timestamp, in milliseconds, when the hook finished.
Changes
- info
added the optional property
author/sharedSessionMemberto the response with the status - info
added the optional property
content/items/anyOf[subschema #6]/respondedBy/sharedSessionMemberto the response with the status
- info
- info
added the optional property
noticeKindto the response with the status
1 more change in this revision
- info