RepromptDocs
CSV Exports

Create a CSV export

POST
/place_enrichment/exports

Unified export endpoint. Small requests return 200 text/csv inline; large requests create a durable async job and return 202 + status url. Idempotency-Key is optional but recommended: send the same key on every retry of a create so a lost response can't spawn a duplicate job (the client can't know the delivery mode in advance). Omit it and the request still succeeds, just without that retry-safety.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key?string|null
apiKey?string|null

Request Body

application/json
  1. body
batch_ids*array<string>

Batch IDs to export (must be owned by the org).

Items1 <= items

Response Body

Sync delivery: the CSV is returned inline (small exports under the size gate).

response?unknown
Example Request
curl -X POST 'https://api.repromptai.com/v1/reprompt/place_enrichment/exports' \  -H 'Content-Type: application/json' \  -d '{  "batch_ids": [    "string"  ]}'
Example Response
null