Skip to main content
GET
/
api
/
v1
/
batch
/
list
List All Batches
curl --request GET \
  --url https://sa.dialgen.ai/api/v1/batch/list \
  --header 'Authorization: Bearer <token>'
[
  {
    "batchId": "batch_123...",
    "status": "processing",
    "total": 1000,
    "processed": 500,
    "succeeded": 450,
    "failed": 50,
    "percentComplete": 50,
    "createdAt": "2024-01-15T10:00:00.000Z",
    "agentId": "agent_abc...",
    "priority": 5
  }
]

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain your API key from the Dialgen API Keys dashboard at https://sa.dialgen.ai/api-keys

Response

Batch list retrieved successfully

batchId
string
status
enum<string>
Available options:
ingesting,
scheduled,
pending,
processing,
completed,
cancelled
total
number
processed
number
succeeded
number
failed
number
percentComplete
number
createdAt
string<date-time>
agentId
string
priority
number