Delete Generation
Delete a generation. Generations are organization-scoped, so any member — or an API key for the organization — can delete one. Only generations in a terminal state can be deleted; deleting one that is still processing returns 409 (errorCode generation_not_deletable_while_processing). Returns the deleted generation in its stored shape (modelName, inputs, outputMediaUrl, deletedAt), not the Get Generation shape.
Authentication
x-api-keystring
API Key authentication via header
Path parameters
id
A unique identifier for the generation.
Response
The deleted generation, in the stored-generation shape.
id
A unique identifier for the generation.
organizationId
userId
apiKeyId
createdAt
updatedAt
startedAt
finishedAt
status
The status of the generation.
Allowed values:
model
modelName
inputs
webhookUrl
thumbnailUrl
frameCount
options
Persisted generation options, including server-owned fields. This is not a create-request options contract.
outputMediaUrl
segmentOutputMediaUrl
segmentOutputBucketPath
outputMediaLength
potentialError
isPublic
deletedAt
projectId
A unique identifier for a project.
segments
playbackMediaUrl
Browser playback URL, using a preview when available. Use outputMediaUrl or the download endpoint for the original output. Returned on project responses.
creatorName
outputFileName
outputExtension
generationEstimate
A completion-time estimate produced when a generation is accepted.
Errors
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error

