Skip to main content
GET
Get a task
The task is visible only to the account that created it.

Authorizations

Authorization
string
header
required

Use your YingTu API key as a bearer token.

Path Parameters

task_id
string
required

Public task identifier returned by the submit endpoint.

Response

Task state

task_id
string
required
model
string
required
status
enum<string>
required
Available options:
queued,
processing,
succeeded,
failed
created_at
string<date-time>
required
progress
integer
Required range: 0 <= x <= 100
completed_at
string<date-time> | null
output
object | null
Example:
error
object | null