Skip to main content
Agents are the central entity in TalkPilot — AI voice bots that handle phone calls. Every other resource (tools, employees, forwarding slots, knowledge base, calls) is scoped to an agent.

Key concepts

  • Each agent has a phone number and belongs to one organization
  • Agents are configured with an LLM (language model), voice, and system prompt
  • Agents can have a schedule (business hours) and vacation mode
  • A backup agent handles calls when the primary agent is unavailable

Data model

Schedule object

Days: 0 = Sunday, 1 = Monday, …, 6 = Saturday.

Endpoints

List agents

Permission: agents:read | Pagination: yes Returns all agents accessible to the API key. If the key has allowed_agent_ids set, only those agents are returned.

Get agent details

Permission: agents:read Returns the full configuration of a single agent.

Get agent status (lightweight)

Permission: agents:read Returns only the agent’s active status, schedule, and vacation state. Includes a computed is_within_schedule field. Use this for monitoring dashboards where you don’t need the full config.

Update agent

Permission: agents:write Partial update — only include fields you want to change. Omitted fields remain unchanged. Read-only fields (cannot be changed via API): phone_number, organization_id, created_by

Common patterns

Vacation mode workflow

Set business hours with backup