Retrieves a list of jobs with specified job id.
Security
ApiKeyAuth
- https://api.treasuredata.com/v3https://api.treasuredata.com/v3/job/show/{job_id}
- https://api.treasuredata.co.jp/v3https://api.treasuredata.co.jp/v3/job/show/{job_id}
- https://api.ap02.treasuredata.com/v3https://api.ap02.treasuredata.com/v3/job/show/{job_id}
- https://api.eu01.treasuredata.com/v3https://api.eu01.treasuredata.com/v3/job/show/{job_id}
curl -i -X GET \
https://api.treasuredata.com/v3/job/show/19 \
-H 'Authorization: TD1 <YOUR_TOKEN_HERE>'OK
Datetime in custom format (2020-12-31 11:22:33 -0500 or 2020-12-31 11:22:33 UTC for UTC)
Example:"2020-12-31 11:22:33 UTC"
One of:
Datetime in custom format (2020-12-31 11:22:33 -0500 or 2020-12-31 11:22:33 UTC for UTC)
string(DateTimeAsString)
Any of:
unique identifier of job
integer(JobId)
the number of records in the result. Will be null until job has finished, and may not be set for all query types
Example:100
Any of:
string or null
Any of:
unique identifier of job
integer(JobId)
size in bytes of the job's result, in msgpack.gz format
Example:1048576
automatically retry this many times on failure
Default:0
Example:3
One of:
Datetime in custom format (2020-12-31 11:22:33 -0500 or 2020-12-31 11:22:33 UTC for UTC)
string(DateTimeAsString)
current status of the job
Enum:"queued""running""killed""success""error"
Example:"success"
Datetime in custom format (2020-12-31 11:22:33 -0500 or 2020-12-31 11:22:33 UTC for UTC)
Example:"2020-12-31 11:22:33 UTC"
Response
{ "cpu_time": 0, "created_at": "2020-12-31 11:22:33 UTC", "database": "string", "duration": 10, "end_at": "2020-12-31 11:22:33 UTC", "hive_result_schema": "string", "job_id": "19", "linked_result_export_job_id": 19, "num_records": 100, "organization": "string", "priority": 0, "query": "string", "result": "string", "result_export_target_job_id": 19, "result_size": 1048576, "retry_limit": 3, "start_at": "2020-12-31 11:22:33 UTC", "status": "success", "type": "presto", "updated_at": "2020-12-31 11:22:33 UTC", "url": "string", "user_name": "Treasure Data", "debug": { "cmdout": "string", "stderr": "string" } }