Send messages to your agent and receive AI-powered responses.
| Header | Required | Description |
|---|---|---|
api-key | For private agents | Your Tiny Talk API key |
Content-Type | Yes | Must be application/json |
role and content.data: and the stream terminates with data: [DONE]. After the stream completes, a message_payload event is sent containing any Knowledge Base sources cited in the response.
stream is set to false, the API returns a single JSON response with the complete message, token usage, and cited resources.
id, url, title, and type.messages array. The agent uses the full history to generate more relevant responses.