Gets agent thread message status.

Returns the processing status of a submitted agent thread message, including messages still in the queue. Use the accepted message id returned by the server when creating a thread or submitting a message. The response indicates whether an agent response exists and includes its id and error details when available. Retrieve reply content with [GET /agents/threads/{threadId}/messages](api:GET/agents/threads/{threadId}/messages). <Check title="Required Permissions" icon="key">Any authenticated user.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

threadIdstringRequiredformat: "uuid"
The id of the thread that contains the message.
messageIdstringRequiredformat: "uuid"
The accepted message id returned by the server.

Response

OK
messageIdstringOptionalformat: "uuid"

The server-generated identifier of the accepted user message.

statusstring or nullOptional
The processing status.
hasAgentResponsebooleanOptional
Whether an agent response was persisted.
responseIdstring or nullOptional
The persisted agent response id.
lastSequenceNumberinteger or nullOptional
The last streamed sequence number observed for the response.
errorstring or nullOptional
The processing error, if any.

Errors

404
Not Found Error