Skip to main content
POST
Retry Batch

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required
Pattern: ^[A-Za-z0-9._~-]{8,128}$

Path Parameters

batch_id
string
required
Pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$

Body

application/json
webhook_endpoint_id
string | null
Pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$

Response

Successful Response

batch_id
string
required
Pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
connection_id
string
required
Pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
parent_batch_id
string | null
required
Pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
status
enum<string>
required
Available options:
validating,
queued,
running,
cancelling,
succeeded,
completed_with_errors,
failed,
cancelled
selection_snapshot_id
string
required
Pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
selection_truncated
boolean
required
total_items
integer
required
counters
Counters · object
required
usage
Usage · object
required
analysis_profile
enum<string>
required
Available options:
context_av_v1,
context_audio_v1
profile_revision
string
required
safety_policy_id
string
required
Pattern: ^[a-z]+_[A-Za-z0-9_-]{8,64}$
policy_revision
string
required
outputs
enum<string>[]
required
Available options:
transcript,
context,
suitability,
opportunities
max_input_seconds
integer
required
blocked_reason
string | null
required
Allowed value: "connection_action_required"
error
WorkError · object | null
required
created_at
string
required
Pattern: ^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.\d{1,9})?Z$
started_at
string | null
required
Pattern: ^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.\d{1,9})?Z$
finished_at
string | null
required
Pattern: ^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.\d{1,9})?Z$
deadline_at
string
required
Pattern: ^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.\d{1,9})?Z$
status_url
string
required