Skip to main content
GET
Get Workspace Agents

Authorizations

Authorization
string
header
required

Use Tuner API key (tr_api_...) or user session token. Find your API key in Workspace Settings > API Keys.

Path Parameters

workspace_id
integer
required

Response

Successful Response

id
integer
required

Tuner's internal numeric ID for this agent.

integration_id
integer
required

ID of the voice provider integration this agent uses.

name
string
required

Display name of the agent.

call_direction
string
required

'inbound' for customer-initiated calls, 'outbound' for agent-initiated calls.

remote_identifier
string
required

Your voice provider's unique identifier for this agent.

created_at
string<date-time>
required

ISO 8601 timestamp when the agent was created.

updated_at
string<date-time>
required

ISO 8601 timestamp when the agent was last updated.

description
string | null

Brief description of what this agent does.

lang
string | null

BCP 47 language tag for the agent's primary language (e.g., 'en', 'es').

persona
AgentPersona · object | null

Nested language and accent for the agent. Null when the agent has no language configured.

prompt
string | null

System prompt or instructions given to the agent.

workflow
Workflow · object | null

Agent workflow configuration. Must be valid JSON.

webhook_url
string | null

Destination URL for outbound webhook notifications. Null if not configured.

integration_name
string | null

Name of the voice provider for this agent's integration.

source_template_id
integer | null

ID of the template this agent was created from. Null if none.

setup_method
string
default:pending

How this agent's config was set up: 'pending', 'template', 'manual', 'mcp', or 'skipped'.

setup_code_confirmed_at
string<date-time> | null

Timestamp when the integration/code step of the setup wizard was confirmed. Null if not yet confirmed.

setup_completed_at
string<date-time> | null

Timestamp when the setup wizard was completed. Null if not yet completed.

is_sample
boolean
default:false

True for the auto-provisioned demo/sample agent. Excluded from real-agent counts that drive the welcome flow and zero-agent empty state.

deleted_at
string<date-time> | null

Timestamp when the agent was deleted. Null if the agent is active.

created_by
integer | null

ID of the user who created this agent.

updated_by
integer | null

ID of the user who last updated this agent.

integration
IntegrationWithProvider · object | null

Integration schema with nested provider object.