Documentation Index
Fetch the complete documentation index at: https://docs.brainstormer.io/llms.txt
Use this file to discover all available pages before exploring further.
Send a message
Send a user message to an agent and receive its reply.Request body
The ID of the agent to chat with. You can find agent IDs using the List agents endpoint.
The message to send to the agent.
The ID of an existing conversation to continue. Omit this field to start a new conversation — the response will include a
conversationId you can use in subsequent requests.When you pass a
conversation_id, the agent has memory of the entire prior conversation. Omit it to start fresh with no prior context.conversation_id from a prior response:
Response
The agent’s reply to your message.
The conversation ID. Pass this as
conversation_id in your next request to continue the conversation.The AI model that generated the response.
Token usage and cost for this request.
Number of tokens in the input (prompt + conversation history).
Number of tokens in the agent’s reply.
Total tokens consumed.
Cost of this request in USD.
Knowledge base chunks that the agent referenced when generating its reply. Present only when the agent has linked knowledge bases and relevant content was found.
Citation number as referenced in the response.
Name of the knowledge base the chunk came from.
The source document or URL the chunk originated from.
Relevance score between 0 and 1. Higher values indicate a closer match to the query.
The text content of the chunk used as context.
Optional list of suggested follow-up questions the user might ask next.