Create an Agent Research Chat Message

Creates an async chat message for a research job. Set stream=true to reuse the SSE chat chunk stream.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequiredformat: "uuid"
Research job identifier.

Query parameters

streambooleanOptionalDefaults to false
When true, responds with an SSE stream of chat chunks.

Request

This endpoint expects an object.
contentstringRequired
Chat message content.

Response

Chat message created or stream started.
idstringformat: "uuid"
Assistant message identifier.
contentstring
Assistant message content.
statusenum
Status of the assistant chat message.
Allowed values:
error_messagestring or null
Error details when status is failed.
resultslist of objects or null
Optional cited results for completed responses.

Errors