Skip to content

Endpoints

This page covers the key endpoints available on the Agent One REST API. For the full interactive spec, see /api/docs on your running instance.

Returns agent health status and component readiness.

{
"status": "healthy",
"version": "0.14.0",
"uptime_seconds": 3600,
"components": {
"litellm": "connected",
"memory": "ready",
"channels": { "cli": "active", "whatsapp": "active" },
"mcp_servers": { "github": "ready", "clickup": "ready" }
}
}

Real-time chat with the agent. See API Overview for the WebSocket message format.

Send a message and get a complete response (non-streaming).

// Request
{
"content": "How much did I spend this week?",
"channel": "web"
}
// Response
{
"content": "You spent $245.00 this week across 3 purchases...",
"model": "cheap",
"tokens_used": 187
}

List all configured Hands.

Get details for a specific Hand, including recent runs.

Create a new Hand. Requires owner role.

{
"name": "weekly-report",
"schedule": "0 17 * * 5",
"prompt": "Summarize the week's accomplishments",
"tools": ["github", "clickup"],
"budget_cap_usd": 0.30,
"approval_required": false
}

Update an existing Hand. Requires owner role.

Delete a Hand. Requires owner role.

List run history for a Hand. Returns status, cost, timestamps, and plan details.

Approve a pending Hand run. Requires owner or admin role.

Reject a pending Hand run. Requires owner or admin role.

List all personas (system defaults + user-defined).

Get a specific persona with its soul, tools, and bindings.

Create a new persona. Requires owner role.

{
"id": "sales-rep",
"name": "Sales Assistant",
"soul": "You are a sales assistant focused on lead qualification.",
"tools": ["clickup", "browser_navigate"],
"budget_cap_usd": 0.30
}

Update a persona. System defaults are read-only.

Delete a user-defined persona. System defaults cannot be deleted.

List all channels with their status (active, inactive, error).

Update channel configuration. Requires owner role.

List all team members with roles. Requires admin or owner role.

Add a new member. Requires owner role.

{
"name": "Maria",
"role": "admin",
"channels": ["whatsapp", "telegram"]
}

Update a member’s role or channel access.

Remove a member. Requires owner role.

Get the current agent configuration (secrets redacted). Requires owner role.

Update specific config fields. Changes are validated and hot-reloaded. Requires owner role.

{
"budget": {
"daily_limit_usd": 2.00
},
"channels": {
"default": "telegram"
}
}

Get current billing status, usage, and plan details. Available in SaaS platform mode.

Get token usage and cost breakdown by model, day, and Hand.

Message volume over time, grouped by channel.

Cost breakdown by model tier, day, and Hand.

Tool usage frequency and latency.

Query the append-only audit log. Requires owner or admin role.

GET /api/v1/audit?action=config_change&page=1&page_size=20

Returns timestamped entries for all significant actions: config changes, Hand approvals, member management, tool calls, and more.