GET
/
batches
/
{agent_id}
/
all
curl --request GET \
  --url https://api.bolna.ai/batches/{agent_id}/all \
  --header 'Authorization: Bearer <token>'
[
  {
    "batch_id": "3c90c3cc0d444b5088888dd25736052a",
    "humanized_created_at": "5 minutes ago",
    "created_at": "2024-01-23T05:14:37Z",
    "updated_at": "2024-02-29T04:22:89Z",
    "status": "scheduled",
    "scheduled_at": "2024-01-29T08:30:00Z",
    "from_phone_number": "+19876543007",
    "file_name": "customers.csv",
    "valid_contacts": 7,
    "total_contacts": 11,
    "execution_status": {
      "completed": 1,
      "ringing": 10,
      "in-progress": 15
    }
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

agent_id
string
required

The ID of the agent

Response

200
application/json

list batches response

The response is of type Items · object[].