Process a message with an assistant
Sends messages to the specified assistant specialization and returns its response. You can provide a chatUid to continue an existing conversation.
Authorizations
Use JWT token for authentication
Path Parameters
Identifier of the assistant specialization to use
Body
Messages and optional chat context for the assistant
Messages to process, usually including the latest user message
Optional chat UID to continue an existing conversation
Custom metadata for this interaction
Tenant (customer/organization) this conversation belongs to in multi-tenant setups. Auto-registers the tenant on first use and attributes its cost/usage. See the Tenants endpoints.
End user/entity inside the tenant. When omitted it is derived from metadata.subtenantMetadata.id or the legacy metadata.userId. Used for per-subtenant cost attribution and usage limits.
Response
Assistant response and updated chat context
Unique identifier for the chat session
Identifier for the assistant specialization used
Timestamp when the chat was created
Messages exchanged in the chat
Custom metadata associated with the chat