Create a chat message for a research object
Creates a new chat message for a research object and starts asynchronous processing.
Use the stream or message endpoint to retrieve the response as it becomes available.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
Research job identifier.
Request
This endpoint expects an object.
content
Chat message content.
snippets
Optional snippets to attach to the message.
excluded_domains
List of domains to exclude from web search results (e.g., “example.com”). Subdomains are also excluded.
Response
Chat message created.
id
Chat message identifier.
role
Role of the message sender.
content
Message content.
snippets
Snippets attached to the message.
status
Message processing status.
Allowed values:
created_at
ISO 8601 timestamp when the message was created.
updated_at
ISO 8601 timestamp when the message was last updated.
account_id
Account identifier.
ask_id
Research job identifier.
error_message
Error message if processing failed.
results
Research results referenced by citation index in the message content, ordered by citation index.