v1Stable
The Messaging API lets you programmatically interact with Apollo-1 agents: create conversation threads, send messages, regenerate interactions, and inspect the symbolic reasoning traces.
Base URL
Authentication
All requests require thex-aui-api-key header:
Core Concepts
Tasks (Threads)
A task represents a conversation thread with an agent. Create a task to start a new conversation, then send messages within it.
Messages
Send messages to an agent and receive responses, including follow-up suggestions. Optionally include your agent configuration bundle.
Rerun
Regenerate a previous interaction with edited text or updated agent configuration to test changes.
Trace
Access the complete symbolic reasoning trace for any interaction — intents, entities, rules evaluated, and decisions made.
How It Works
- Create a thread —
POST /v1/messaging/taskswithagent_idanduser_idto start a conversation. Receive a task ID and welcome message. - Send messages —
POST /v1/messaging/messageswith your message text. Optionally includeagent_settings_bundleto test local configuration changes. - Inspect traces —
GET /v1/messaging/tasks/{task_id}/trace-infoto see the symbolic computation: rules evaluated, parameters extracted, decisions made. - Regenerate —
POST /v1/messaging/messages/rerunto replay an interaction with edited text or updated configuration.
Quick Start
Create a thread
Send a message
Get trace
Key Features
Agent Settings Bundle
Send your local agent configuration with messages to test changes without deploying:Trace Visibility
Every interaction produces a complete symbolic trace:- Intent parsing — How the user’s message was understood
- Entities resolved — What values were extracted
- Rules evaluated — Which predicates fired or blocked actions
- Parameters extracted — What information was collected
- Decisions made — Which tools were invoked and why
?include_trace=true on message endpoints, or fetch traces separately.
Explore the API
Create Tasks
Start conversation threads with agents.
Send Messages
Send messages and receive agent responses.
Get Trace
Inspect symbolic reasoning traces for interactions.
Authentication
API keys and authentication headers.
Errors
Error codes and response format.
