API v1

List team tasks

GET/v1/video/tasks

Returns tasks across your team, including those created with other API keys.

View Markdown
  • Put your API key after Authorization: Bearer in the request header.
  • Lists all of your team's tasks, whichever API key created them, newest first.
  • Page with next_cursor; it is null on the last page.
  • Read usage, charges, results and errors from the task by its ID.

Headers

#AuthorizationstringRequired

Bearer, a space and your API key. A missing or invalid key returns 401 authentication_failed.

#X-Request-IDstring

Your own request identifier. An invalid or repeated value is replaced; the value used comes back in the X-Request-ID response header.

Query parameters

#cursorstring

Use next_cursor from the preceding page. A value not issued for this team's task list returns invalid_request.

Length1–256
#page_sizeinteger

Maximum number of tasks to return on this page.

Default50Range1–100

ReturnsHTTP 200

One page of the current team's tasks.

#objectstringRequired

Identifies the kind of object returned.

Alwayslist
#dataarrayRequired

Task entries included in this page.

Items≤ 100
12 child fields
#idstringRequired

ID of the task in this list entry.

Length4–128CharactersA–Z a–z 0–9 _ -
#request_idstringRequired

Request ID used to correlate this task.

Length4–128CharactersA–Z a–z 0–9 _ -
#billing_correlation_idstringRequired

Billing correlation ID for this task.

Length4–128CharactersA–Z a–z 0–9 _ -
#modelstringRequired

ID of the model used for this request.

dreamina-seedance-2-0-260128Seedance 2.0
dreamina-seedance-2-0-fast-260128Seedance 2.0 Fast
dreamina-seedance-2-0-mini-260615Seedance 2.0 Mini
#statusstringRequired

Current state; see the value notes for its meaning.

queuedQueued
processingProcessing
succeededSucceeded
failedFailed
cancelledCancelled
#phasestringRequiredNullable

Current execution phase, or null when no phase applies.

preparing_assetsPreparing inputs
waiting_routeWaiting
submittingStarting
provider_processingGenerating
reconcilingConfirming the result
finalizingFinishing
settlement_pendingAwaiting settlement
nullNull value
#delivery_statusstringRequired

Progress of result file delivery.

pendingNot yet delivered
materializingPreparing the download
availableReady to download
output_unavailableResult unavailable
#settlement_statusstringRequired

Current progress of billing settlement.

reservedReserved
pendingPending
reconciliation_requiredUnder review
settledSettled
settled_with_receivableSettled - amount due
#created_atintegerRequired

Creation time as whole seconds since the Unix epoch.

Range≥ 0
#started_atintegerRequiredNullable

Time the task started, or null before it starts.

Range≥ 0
#completed_atintegerRequiredNullable

Time the task finished, or null while unfinished.

Range≥ 0
#cancellationobjectNullable

Stable Cancellation ID, status and reason code when a cancellation operation exists. Omitted otherwise.

3 child fields
#cancel_operation_idstringRequired

Stable ID of the cancellation operation.

Length4–128CharactersA–Z a–z 0–9 _ -
#statusstringRequired

Current state; see the value notes for its meaning.

requestedRequested
effectiveCancelled
not_effectiveNot cancelled
failedFailed
#reason_codestringRequiredNullable

Reason cancellation did not take effect or failed. Null when requested or effective.

Length1–96Charactersa–z 0–9 _
#next_cursorstringRequiredNullable

Value for requesting the next page, or null on the last page.

Length1–256

Response headers

#X-Request-IDstringRequired

The identifier of this request: the valid value you sent, or its replacement.

Status codes

Each error.code and what to do about it is on Error codes.

StatusMeaning and error.code
200One page of the current team's tasks.
400The submitted request is not valid.
401The API key is missing or invalid.
Response headersWWW-Authenticate
429The request rate limit blocks this read operation.
Response headersRetry-After
500Internal error.
503The service is temporarily unavailable.