Persists a reusable voice persona — systemPrompt, optional voice, routing intent, and optional llmOptions — keyed by name within the authenticated organization. Pass the returned id as agentId on POST /v1/sessions to seed a session from this agent.
Documentation Index
Fetch the complete documentation index at: https://docs.speko.dev/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Human-readable name. Must be unique within the organization — duplicates return 409.
1 - 120Initial agent instructions used as the session-level systemPrompt default.
1Routing defaults stored on an agent row. Hydrated into a session's RoutingIntent when the session is created with agentId and no inline intent. Note: agents accept a smaller optimizeFor enum than the per-session RoutingIntent.
Default TTS voice id. Omit to let the router pick per provider.
Optional LLM tuning defaults stored on an agent. Strict object — only these three keys are accepted.
Per-agent stack preferences. Empty / missing layers leave the router unconstrained for that layer; failover stays active within the allowed set.
Agent created
Reusable voice persona — systemPrompt + optional voice + routing intent defaults, plus optional llmOptions. Pass the id as agentId on POST /v1/sessions to seed a session from this agent.
Agent id, prefixed agent_.
"agent_01HW..."
Owning organization. Always equal to the authenticated org — agents are never visible across orgs.
Human-readable name. Unique within an organization.
1 - 120Initial agent instructions. Hydrated as the session's systemPrompt default when no per-call value is supplied.
1Default TTS voice id. null when unset — the router picks a sane default per provider.
Routing defaults stored on an agent row. Hydrated into a session's RoutingIntent when the session is created with agentId and no inline intent. Note: agents accept a smaller optimizeFor enum than the per-session RoutingIntent.
Optional LLM tuning defaults. null when unset.
Per-agent stack preferences. null when the agent has no preferences set.