Skip to main content
GET
/
place_enrichment
/
batches
List batches
curl --request GET \
  --url https://api.repromptai.com/v1/{org}/place_enrichment/batches \
  --header 'Authorization: Bearer <token>'
{
  "batches": [
    {
      "id": "<string>",
      "batch_name": "<string>",
      "status_counts": {},
      "created_at": "2023-11-07T05:31:56Z",
      "status": "pending",
      "metadata": "<unknown>"
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123
}

Authorizations

Authorization
string
header
required

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

Headers

apiKey
string | null

Query Parameters

limit
integer
default:10

Number of batches to return per page

Required range: 1 <= x <= 500
offset
integer
default:0

Number of batches to skip

Required range: x >= 0
query
string | null

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

Response

200 - application/json

List of all batches for the organization with pagination

batches
BatchJob · object[]
required
total
integer
required
limit
integer
required
offset
integer
required