Endpoint
POST /v1/tents/bulk.
Bulk Job Status Values
| Status | Meaning |
|---|---|
accepted | The bulk job was admitted and is about to start processing |
running | One or more accepted items are still queued or generating |
completed | All accepted items finished successfully |
completed_with_failures | Some accepted items completed and some failed |
failed | No accepted items completed successfully |
Item Status Values
| Status | Meaning |
|---|---|
rejected | The item was rejected during admission and never queued |
queued | The item was accepted but generation has not started yet |
generating | Tented is actively generating the tent |
completed | The tent generation finished successfully |
failed | Generation failed after the item was accepted |
Request Example
Response Examples
In-Progress Response
Completed Response
Completed With Failures Response
Response Fields
Top-Level Fields
| Field | Type | Notes |
|---|---|---|
bulk_job_id | string | Bulk job identifier returned by POST /v1/tents/bulk |
status | string | Bulk job status |
template_id | string | Template used for this batch |
auto_publish | boolean | Whether the batch requested auto-publish |
total | integer | Total number of submitted items |
queued | integer | Accepted items waiting to start |
generating | integer | Accepted items currently generating |
completed | integer | Accepted items that completed successfully |
failed | integer | Accepted items that failed after admission |
items | array | Per-item statuses and tent references |
credits | object | Aggregate bulk job credit accounting |
created_at | string | Bulk job creation timestamp |
updated_at | string | Last aggregate update timestamp |
Item Fields
| Field | Type | Notes |
|---|---|---|
index | integer | Zero-based index from the original request |
client_item_id | string | Your per-item identifier, when supplied |
tent_id | uuid | Present for accepted items |
tent_name | string | Tent name used for generation |
status | string | Item status |
publication_status | string | Present when publication state exists for the current generation |
published_url | string | Present when the tent has been published |
error_code | string | Present for rejected items |
message | string | Present for rejected or failed items |
Publication Behavior
If the original bulk request usedauto_publish: true, item responses can include:
publication_status: pendingpublication_status: publishedpublication_status: published_with_warningspublication_status: failed
published_url appears when a tent is successfully published.
Common Errors
| Status | Cause |
|---|---|
400 Bad Request | bulkJobId is missing or malformed |
401 Unauthorized | Missing or invalid bearer token |
404 Not Found | The bulk job does not exist in the workspace associated with your API key |
Back: Create Bulk Tents
Review the bulk request format and admission response.