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
Error details when status is failed.
resultslist of objects
Optional cited results for completed responses.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error