Skip to main content
GET
Get Batch Statistics (Overall Progress)

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

Query Parameters

batchId
string
required

The ID returned from POST /api/v1/batch

Example:

"batch_1678886400_agent_clx123..."

limit
string
default:10

Number of recent calls to return. Defaults to 10. Use 'all' or '-1' to return all calls in the batch.

Example:

"20"

Response

Batch statistics retrieved successfully

batchId
string
status
enum<string>
Available options:
ingesting,
scheduled,
pending,
processing,
completed,
cancelled
priority
number
statistics
object
performance
object
timestamps
object
recentCalls
object[]
webhooks
object | null
agentId
string
userId
string