v1/jobs
GEThttps://{endpoint}/v1/jobs/:jobId
get job
Request
Path Parameters
jobId uint64required
Responses
- 200
- 404
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
job 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
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -g -X GET 'https://{endpoint}/v1/jobs/:jobId' \
-H 'Accept: application/json'
ResponseClear