batches
Submit a batch of places for enrichment
Submit a batch of places for enrichment
post/{org_slug}/place_enrichment/batches
Request
- Base URL: https://api.repromptai.com/v1
- URL: https://api.repromptai.com/v1/{org_slug}/place_enrichment/batches
- Auth: HTTP bearer
Path parameters
org_slugstring nullable required
Headers
apiKeystring nullable
Request body
Example request
{
"jobs": [
{
"place_id": "place_nyc_123",
"inputs": {
"country_code": "PH"
},
"attributes": [
"websites",
"categories",
"closed_permanently"
]
}
]
}Response
Successfully submitted batch for processing
Example response
{
"batch_name": "NYC Restaurants March 2024",
"id": "batch_2024_03_15_123456",
"jobs": {
"completed": [],
"failed": [],
"in_progress": [],
"pending": [
"place_nyc_123",
"place_nyc_456",
"place_nyc_789"
]
},
"status": "pending"
}Changes
No recorded changes to this operation across all 1 revision of this API.