Skip to main content
GET
/
place_enrichment
/
batches
/
{batch_id}
Get Batch Status Endpoint
curl --request GET \
  --url https://api.repromptai.com/v1/{org}/place_enrichment/batches/{batch_id} \
  --header 'Authorization: Bearer <token>'
{
  "batch_name": "NYC Restaurants March 2024",
  "id": "batch_2024_03_15_123456",
  "jobs": {
    "completed": [],
    "failed": [],
    "in_progress": [],
    "pending": [
      "place_nyc_123",
      "place_nyc_456",
      "place_nyc_789"
    ]
  },
  "status": "pending"
}

Authorizations

Authorization
string
header
required

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

Headers

apiKey
string | null

Path Parameters

batch_id
string
required

Response

200 - application/json

Successful Response

Represents the response when submitting a new batch of places for enrichment

id
string
required

Unique identifier for tracking the batch

Example:

"batch_2024_03_15_123456"

batch_name
string
required

User-provided name to identify the batch

Example:

"NYC Restaurants March 2024"

jobs
object
required
status
enum<string>

Current processing status of the batch. Initially PENDING, changes to IN_PROGRESS when processing starts

Available options:
pending,
queued,
in_progress,
completed,
failed
metadata
null

Batch statistics and metadata. Basic stats available to all organizations, detailed stats only for Reprompt.

I