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.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
threadIdstringRequiredThe id of the thread that contains the message.
messageIdstringRequiredThe accepted message id returned by the server.
Responses
200 OK
application/json
messageIdstringOptionalThe server-generated identifier of the accepted user message.
statusstring or nullOptionalThe processing status.
hasAgentResponsebooleanOptionalWhether an agent response was persisted.
responseIdstring or nullOptionalThe persisted agent response id.
lastSequenceNumberinteger or nullOptionalThe last streamed sequence number observed for the response.
errorstring or nullOptionalThe processing error, if any.
404 Not Found
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.