Batches
Get batch status
GET
HTTPBearerheader
AuthorizationBearer <token>batch_id*Batch Idenrichments?|Comma-separated list of enrichment names to get status for
apiKey?string|nullSuccessful Response
application/json- response
Represents the response when submitting a new batch of places for enrichment
id*IdUnique identifier for tracking the batch
batch_name*Batch NameUser-provided name to identify the batch
status?BatchJobStatusCurrent processing status of the batch. Initially PENDING, changes to IN_PROGRESS when processing starts
Default
"pending"Value in
"pending""queued""in_progress""completed""failed"jobs*metadata?Batch statistics and metadata. Basic stats available to all organizations, detailed stats only for Reprompt.
attribute_statuses?|Status distribution per attribute (only populated when enrichments query param is provided)
Example Request
curl -X GET 'https://api.repromptai.com/v1/reprompt/place_enrichment/batches/string'Example Response
{ "id": "string", "batch_name": "string", "status": "pending", "jobs": {}, "metadata": null, "attribute_statuses": { "property1": { "RUN": { "total": 0, "ids": [ "string" ] }, "ERROR": { "total": 0, "ids": [ "string" ] }, "NOT_RUN": { "total": 0, "ids": [ "string" ] }, "RUN_CONDITION_FAILED": { "total": 0, "ids": [ "string" ] } }, "property2": { "RUN": { "total": 0, "ids": [ "string" ] }, "ERROR": { "total": 0, "ids": [ "string" ] }, "NOT_RUN": { "total": 0, "ids": [ "string" ] }, "RUN_CONDITION_FAILED": { "total": 0, "ids": [ "string" ] } } }}