conversation_id to continue, or omit it to start fresh.
How conversations work
- Client sends
POST /v1/agents/{name}/chatwith messages - Reminix manages conversation state and history
- Messages accumulate across turns via
conversation_id
Request format
Array of messages in OpenAI-compatible format. Each message has a
role (user, assistant, system) and content.ID of an existing conversation to continue. Omit to start a new conversation.
conversation_id, a new conversation is created. With one, the conversation continues from where it left off.
Response format
The agent’s response text.
The conversation identifier. Store this to continue the conversation in subsequent requests.
Using the SDK
Identity scoping
Passcontext.identity to scope conversations to a specific user. Conversations are isolated per identity, making it safe for multi-tenant applications.
When using identity scoping, a user can only access and continue their own conversations. Attempting to use a
conversation_id that belongs to a different identity will return a 404.Stateless mode
If you don’t need history, simply omitconversation_id on every call and don’t store the returned one. Every call starts a fresh conversation with no prior context.
This is useful for one-off chat interactions where you want the chat message format but don’t need persistence.
Managing conversations
Use the REST API or SDK to list, inspect, and delete conversations.| Endpoint | Description |
|---|---|
GET /v1/conversations | List all conversations for the project |
GET /v1/conversations/{id} | Get conversation details including full message history |
DELETE /v1/conversations/{id} | Delete a conversation and its history |
Best for
- Chat agents (
type: "chat") — back-and-forth conversations - Thread agents (
type: "thread") — full message history management - Any multi-turn interaction requiring history
Next steps
Streaming
Stream chat responses token-by-token over Server-Sent Events.
Workflows
Pause and resume multi-step processes with human input.
TypeScript: chat()
Build chat experiences from TypeScript.
Python: chat()
Build chat experiences from Python.