TelephonyCampaign interface

Agent-owned outbound call Campaign. Creation/replacement authorizes execution after successful preparation.

Properties

connection_name

Human-readable name of the provider connection in the current project.

created_at

Creation time.

error

Preparation/control failure, cleared on retry. Never includes secrets or raw recipient values.

etag

Conditional-action token, not a cache validator. Changes with control state, not progress.

finished_at

Time of terminal completion for the current round; cleared when failed preparation is replaced.

locked_agent_version

Latest Agent version pinned once per preparation and shared by retries/calls. Omitted until resolved; replacement clears it. Unavailable pins fail without fallback.

name

Immutable name supplied as campaign_name in the PUT path, not the request body; echoed in responses. Unique within the project and Agent.

operation_id

Latest accepted action, for discovery only. Poll the initiating response's Operation-Id/Operation-Location instead.

progress

Available partial accounting even when the job fails or is cancelled.

recipients

1-100 recipients, exclusive with recipient_dataset. The whole UTF-8 request is limited to 1 MiB. Omitted from reads; retain the submission for row correlation.

recipient_dataset

Same-project CSV/JSON/JSONL uri_file, exclusive with recipients. Omitted version pins latest per preparation. Limits: 1-1,000,000 rows, 256 MiB decoded/file, 1 MiB/row.

retry_policy

Per-recipient retries. Omit for one attempt; generated CallJobs return fixed_interval with max_attempts=1 and interval=0 seconds.

schedule

Dispatch schedule; omission equals ImmediateSchedule. Every mode waits for successful preparation, then follows its schedule and available capacity.

source

Typed caller address shared with generated CallJobs. The connection validates source support separately from recipient support.

status

Business execution state. Each asynchronous action has its own retained operation monitor.

updated_at

Last observable progress update.

Property Details

connection_name

Human-readable name of the provider connection in the current project.

connection_name: string

Property Value

string

created_at

Creation time.

created_at: Date

Property Value

Date

error

Preparation/control failure, cleared on retry. Never includes secrets or raw recipient values.

error?: ErrorModel

Property Value

etag

Conditional-action token, not a cache validator. Changes with control state, not progress.

etag: string

Property Value

string

finished_at

Time of terminal completion for the current round; cleared when failed preparation is replaced.

finished_at?: Date

Property Value

Date

locked_agent_version

Latest Agent version pinned once per preparation and shared by retries/calls. Omitted until resolved; replacement clears it. Unavailable pins fail without fallback.

locked_agent_version?: string

Property Value

string

name

Immutable name supplied as campaign_name in the PUT path, not the request body; echoed in responses. Unique within the project and Agent.

name: string

Property Value

string

operation_id

Latest accepted action, for discovery only. Poll the initiating response's Operation-Id/Operation-Location instead.

operation_id: string

Property Value

string

progress

Available partial accounting even when the job fails or is cancelled.

progress: TelephonyCampaignProgress

Property Value

recipients

1-100 recipients, exclusive with recipient_dataset. The whole UTF-8 request is limited to 1 MiB. Omitted from reads; retain the submission for row correlation.

recipients?: TelephonyRecipient[]

Property Value

recipient_dataset

Same-project CSV/JSON/JSONL uri_file, exclusive with recipients. Omitted version pins latest per preparation. Limits: 1-1,000,000 rows, 256 MiB decoded/file, 1 MiB/row.

recipient_dataset?: TelephonyCampaignDatasetReference

Property Value

retry_policy

Per-recipient retries. Omit for one attempt; generated CallJobs return fixed_interval with max_attempts=1 and interval=0 seconds.

retry_policy?: TelephonyOutboundRetryPolicyUnion

Property Value

schedule

Dispatch schedule; omission equals ImmediateSchedule. Every mode waits for successful preparation, then follows its schedule and available capacity.

schedule?: TelephonyCampaignScheduleUnion

Property Value

source

Typed caller address shared with generated CallJobs. The connection validates source support separately from recipient support.

source: TelephonyAddressUnion

Property Value

status

Business execution state. Each asynchronous action has its own retained operation monitor.

status: TelephonyCampaignStatus

Property Value

updated_at

Last observable progress update.

updated_at: Date

Property Value

Date