RepromptDocs
Batches

Get batch status

GET
/place_enrichment/batches/{batch_id}

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

batch_id*Batch Id

Query Parameters

enrichments?|

Comma-separated list of enrichment names to get status for

Header Parameters

apiKey?string|null

Response Body

Successful Response

application/json
  1. response

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

id*Id

Unique identifier for tracking the batch

batch_name*Batch Name

User-provided name to identify the batch

status?BatchJobStatus

Current 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"        ]      }    }  }}