batches

Reprocess a batch

Reprocess jobs in a specific batch.

You can specify which attributes to process by providing:

  • 'attributes': A list of specific attributes to enrich (e.g., ["websites", "phoneNumbers", "categories"])

If not provided, "core" attributes will be processed: websites, phoneNumbers, openingHours, names, address, categories, closed_permanently

Options:

  • failed_only: When true, only reprocess jobs with 'failed' status. When false, reprocess all jobs in the batch.
  • incomplete_only: When true, only reprocess jobs with 'pending' or 'in_progress' status. When false, reprocess all jobs in the batch (unless failed_only is true).
post/{org_slug}/place_enrichment/batches/{batch_id}/reprocess

Request

  • Base URL: https://api.repromptai.com/v1
  • URL: https://api.repromptai.com/v1/{org_slug}/place_enrichment/batches/{batch_id}/reprocess
  • Auth: HTTP bearer

Path parameters

org_slugstring nullable required
batch_idstring required

Headers

apiKeystring nullable

Request body

failed_onlyboolean

When true, only reprocess jobs with 'failed' status. When false, reprocess all jobs in the batch.

incomplete_onlyboolean

When true, only reprocess jobs with 'pending', 'queued' or 'in_progress' status. When false, reprocess all jobs in the batch (unless failed_only is true).

refreshboolean

When true, force fresh enrichment ignoring cached data.

attributesstring[] nullable

List of specific attributes to enrich (e.g. 'websites', 'phoneNumbers'). Merged with attribute_set when both are provided.

attribute_set'open_closed' | 'core' | 'all'

Predefined attribute group presets exposed by the API.

use_previous_invocation_paramsboolean

When true, reuse each job's last-invocation parameters (attributes are inferred per place_id). Request-level attributes/attribute_set are only used as a fallback for place_ids that have no prior invocation.

Response

Successfully initiated batch reprocessing

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.