RepromptDocs
Batches

List batches

GET
/place_enrichment/batches

Retrieve batches for an organization with pagination and optional search by name.

Returns a paginated list of batch jobs with their metadata including batch ID, creation timestamp, and job counts. If 'query' is provided, only batches whose name matches (case-insensitive, substring) will be returned.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Query Parameters

limit?Limit

Number of batches to return per page

Range1 <= value <= 500
Default10
offset?Offset

Number of batches to skip

Range0 <= value
Default0
query?|

Optional search string to filter batches by name (case-insensitive)

Header Parameters

apiKey?string|null

Response Body

List of all batches for the organization with pagination

application/json
  1. response
batches*array<>
total*Total
limit*Limit
offset*Offset
Example Request
curl -X GET 'https://api.repromptai.com/v1/reprompt/place_enrichment/batches'
Example Response
{  "batches": [    {      "id": "batch_2025_03_10_123456",      "name": "NYC Restaurants March 2025",      "created_at": "2025-03-10T15:30:00Z",      "organization_id": "org-abc123",      "job_count": 150,      "completed_count": 142,      "failed_count": 3,      "pending_count": 0,      "in_progress_count": 5    }  ],  "total": 42,  "limit": 10,  "offset": 0}