v1/jobs
GET/v1/jobs/:jobId
get job
Request
Path Parameters
Responses
- 200
- 404
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
job object
job id
Possible values: [DEFAULT, CREATED, PENDING, RUNNING, CANCELED, SUCCESS, FAILED, WAITING]
Default value: DEFAULT
job status
waitingInfo object
waiting info, when status is waiting will return this
failedInfo object
failed info, when status is failed will return this
Possible values: [DEFAULT, TRANSITORY_ERROR, FATAL_ERROR]
Default value: DEFAULT
runningInfo object
running info, when status is running will return this
processingImages object[]
resourceImage object
meta object
image object
workflowFinishItem object
Possible values: [DEFAULT, INIT, RUNNING, SUCCESS, FAILED]
Default value: DEFAULT
nodes object
property name* object
Possible values: [DEFAULT, INIT, RUNNING, SUCCESS, FAILED]
Default value: DEFAULT
outputUi object
images object[]
finishedNodes object
successInfo object
success info, when status is success will return this
images object[]
final output images
meta object
image object
videos object[]
final output videos
meta object
image object
workflowFinishItem object
Possible values: [DEFAULT, INIT, RUNNING, SUCCESS, FAILED]
Default value: DEFAULT
nodes object
property name* object
Possible values: [DEFAULT, INIT, RUNNING, SUCCESS, FAILED]
Default value: DEFAULT
outputUi object
images object[]
finishedNodes object
{
  "job": {
    "id": "string",
    "status": "DEFAULT",
    "credits": 0,
    "waitingInfo": {
      "queueRank": "string",
      "queueLen": "string"
    },
    "failedInfo": {
      "reason": "string",
      "code": "DEFAULT"
    },
    "runningInfo": {
      "processingImages": [
        {
          "resourceImage": {
            "id": "string",
            "url": "string",
            "expiredIn": "string",
            "meta": {
              "image": {
                "format": "string",
                "width": 0,
                "height": 0
              }
            }
          },
          "progress": 0
        }
      ],
      "workflowFinishItem": {
        "status": "DEFAULT",
        "progress": 0,
        "step": 0,
        "id": "string",
        "ctime": "string",
        "mtime": "string",
        "nodes": {},
        "finishedNodes": {}
      }
    },
    "successInfo": {
      "images": [
        {
          "id": "string",
          "url": "string",
          "expiredIn": "string",
          "meta": {
            "image": {
              "format": "string",
              "width": 0,
              "height": 0
            }
          }
        }
      ],
      "videos": [
        {
          "id": "string",
          "url": "string",
          "expiredIn": "string",
          "meta": {
            "image": {
              "format": "string",
              "width": 0,
              "height": 0
            }
          }
        }
      ],
      "workflowFinishItem": {
        "status": "DEFAULT",
        "progress": 0,
        "step": 0,
        "id": "string",
        "ctime": "string",
        "mtime": "string",
        "nodes": {},
        "finishedNodes": {}
      }
    }
  }
}
Not Found: job not found
- application/json
- Schema
Schema
- any
Default
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}