Skip to Content

Batches

Bulk cohorts of scenes uploaded together, plus the workspace ledger that rolls up yield, quality, and cost. Reads need scenes:read; writes need scenes:write.

List batches with aggregated scene counts.

scenes:read
GET/v1/batches
id
string
Batch ID.
name
string
Batch name.
tier
"TIER_1" | "TIER_2" | "TIER_3"
Batch tier.
status
string
Batch status.
scenesTotal
integer
Total scenes in the batch.
scenesCompleted
integer
Scenes finished processing.
createdAt
string (ISO)
Created timestamp.
GET/v1/batches
Request
GET /v1/batches
Response
Press Run request to see the response

Get one batch with its scenes.

scenes:read
GET/v1/batches/{id}
id
string · required
Batch ID.
id
string
Batch ID.
name
string
Batch name.
tier
"TIER_1" | "TIER_2" | "TIER_3"
Batch tier.
status
string
Batch status.
scenes
object[]
Scenes in the batch.

Workspace ledger — 30d summary tiles + per-batch cohort rows.

scenes:read
GET/v1/batches/ledger
summary
object
{ totalBatches30d, scenesShipped30d, yieldAvg, qualityAvg, costSpent30d, costPerScene, gpuHours30d, flaggedOpen }.
batches
object[]
Per-batch cohort rows.

Batch detail: lineage, quality histogram, failures, scene grid.

scenes:read
GET/v1/batches/{id}/detail
id
string · required
Batch ID.
meta
object
Batch metadata.
lineage
object
Batch lineage/provenance.
qualityHist
object[]
Quality-score histogram buckets.
failures
object[]
Failed scenes with reasons.
scenes
object[]
Scene grid.
totalSceneCount
integer
Total scenes in the batch.

Recent activity events for a batch.

scenes:read
GET/v1/batches/{id}/events
id
string · required
Batch ID.
limit
integer
Max events (default 4, max 20).
id
string
Event ID.
kind
string
Event kind.
text
string
Human-readable text.
actor
string
Who triggered it.
occurredAt
string (ISO)
When it happened.

Create a batch from existing scene IDs.

scenes:write
POST/v1/batches
Console roles: OWNER, DIRECTOR
name
string · required
Batch name.
tier
"TIER_1" | "TIER_2" | "TIER_3" · required
Batch tier.
sceneIds
string[] · required
Existing scene IDs to group.
id
string
Batch ID.
name
string
Batch name.
tier
"TIER_1" | "TIER_2" | "TIER_3"
Batch tier.
status
string
Batch status.
scenesCount
integer
Scenes in the batch.
createdAt
string (ISO)
Created timestamp.

Create a batch with up to 5000 scenes; validates credits (402 if short).

scenes:write
POST/v1/batches/bulk
Console roles: OWNER, DIRECTOR
name
string · required
Batch name.
tier
"TIER_1" | "TIER_2" | "TIER_3" · required
Batch tier.
scenes
object[] · required
1–5000 scenes: { filename, url?, tier?, sceneName? }.
id
string
Batch ID.
name
string
Batch name.
tier
"TIER_1" | "TIER_2" | "TIER_3"
Batch tier.
status
string
Batch status.
scenesCount
integer
Scenes created.
creditsCharged
integer
Credits debited.
createdAt
string (ISO)
Created timestamp.

Cancel a running batch.

scenes:write
POST/v1/batches/{id}/cancel
Console roles: OWNER, DIRECTOR
id
string · required
Batch ID.

Returns the updated batch with status CANCELLED.

Hard-delete a batch and all its scenes (cascade).

scenes:write
DELETE/v1/batches/{id}
Console roles: OWNER, DIRECTOR
id
string · required
Batch ID.
deleted
boolean
True if deleted.
deletedSceneCount
integer
Scenes removed in the cascade.
Last updated on