Agent API (Sample)
API key for authentication
Timestamp of the message
2025-11-07T10:30:00ZSuccessful response from the AI agent
Whether the request was successful. Always true.
trueBad request - Message content is required
Unauthorized - Invalid or missing authentication headers
Internal server error
API key for authentication
Timestamp of the message
2025-11-07T10:30:00ZSuccessful streaming response from the AI agent
Server-Sent Events stream containing message chunks
Bad request - Message is required
Unauthorized - Invalid or missing authentication headers
Internal server error
API key for authentication
Chat history retrieved successfully
Whether the request was successful. Always true.
trueUnauthorized - User not authenticated or missing user information
Internal server error
API key for authentication
The text content to be added to the vector store
Context added successfully
Whether the request was successful. Always true.
trueBad request - Context text is required
Unauthorized - Invalid or missing authentication headers
Internal server error
API key for authentication
The URL to fetch content from
https://example.com/articleContext added successfully
Whether the request was successful. Always true.
trueBad request - URL is required
Unauthorized - Invalid or missing authentication headers
Internal server error
Schemas
Last updated
Was this helpful?