GET
/
v1
/
messages
/
async
/
{message_id}
/
status
{
"message_id": "msg_async_12345",
"status": "pending",
"created_at": "2025-07-10T09:11:16.003615Z",
"updated_at": "2025-07-10T09:11:16.003615Z",
"stream_type": "default",
"metadata": {}
}

Path Parameters

message_id
string
required

Message ID of the asynchronous chat stream to check status for.

Response

Stream status and metadata information

Stream metadata and status information for asynchronous chat completions

message_id
string
required

Unique identifier for the stream

status
enum<string>
required

Current status of the stream

Available options:
pending,
processing,
completed,
failed,
cancelled,
error
created_at
string<date-time>
required

Timestamp when the stream was created

updated_at
string<date-time>
required

Timestamp when the stream was last updated

completed_at
string<date-time> | null

Timestamp when the stream was completed, if applicable

error_message
string | null

Error message if the stream encountered an error

stream_type
string
default:default

Type of the stream, used for categorization

metadata
object

Additional metadata associated with the stream