API referenceentity/batch
Batch upsert content entities
Same as POST /entity with content for each content[] item (parallel prepare). Linking parents is not part of batch — use POST /entity/{parent_id}/link after. Async Bedrock batch returns 202; poll GET /v1/entity/batch/jobs/{job_id}.
Authorization
ApiKeyAuth X-API-Key<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/entity/batch" \ -H "Content-Type: application/json" \ -d '{ "content": [ { "url": "http://example.com", "type": "image", "domain": "restaurants" } ] }'{
"results": [
{
"entity_id": "string",
"created": true,
"turbopuffer_document_id": "string"
}
]
}{
"job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
"job_arn": "string",
"status": "Submitted",
"status_path": "string"
}{
"error": "string",
"code": "string"
}{
"error": "string",
"code": "string"
}