batches

Mark batches for refresh

Mark a list of batch IDs for refresh.

Sets the refresh flag on PlaceEnrichmentBatchJob for the provided batch IDs. Only batches belonging to the organization tied to the API key are updated. The response includes which batch IDs were updated and which were missing.

What refresh does: https://docs.repromptai.com/guides/monthly-refresh Refreshes re-run enrichment for places you've marked to detect changes over time. Runs execute on the 9th of every month, and by default re-run only the attributes that were already enriched for that place.

Pass refresh=true to turn refresh on, or refresh=false to turn it off.

post/{org_slug}/place_enrichment/batches/refresh

Request

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

Path parameters

org_slugstring nullable required

Headers

apiKeystring nullable

Request body

batch_idsstring[] required

List of batch IDs to update.

refreshboolean

Set to true to turn refresh on, or false to turn it off for the batch(es).

Response

Batch refresh flags updated successfully

updated_batch_idsstring[] required
missing_batch_idsstring[] required
updated_countinteger required
refreshboolean required

Changes

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