Get task info
Changed onRequest
- Base URL: http://localhost:10998/api
- URL: http://localhost:10998/api/tasks/{id}
- Auth: none declared
Path parameters
Unique task ID assigned by dstack server
Response
Task info
Example response
{
"id": "23a2c7a0-6c88-48ee-8028-b9ad9f6f5c24",
"status": "terminated",
"ports": [
{
"host": 32770,
"container": 80
}
],
"container_name": "horrible-mule-1-0-0-44f7cb95",
"container_id": "a6bb8d4bb8af8ec72482ecd194ff92fac9974521aa5ad8a46abfc4f0ba858775",
"gpu_ids": [
"GPU-2b79666e-d81f-f3f8-fd47-9903f118c3f5"
]
}Changes
- info
api tag
Tasksadded
- info
- warning
added the new
container_exited_with_errorenum value to theresponse property for the response status - warning
added the new
creating_container_errorenum value to theresponse property for the response status - warning
added the new
done_by_runnerenum value to theresponse property for the response status - warning
added the new
executor_errorenum value to theresponse property for the response status - warning
added the new
max_duration_exceededenum value to theresponse property for the response status - warning
added the new
terminated_by_serverenum value to theresponse property for the response status - warning
added the new
terminated_by_userenum value to theresponse property for the response status - info
removed the
CONTAINER_EXITED_WITH_ERRORenum value from theresponse property for the response status - info
removed the
CREATING_CONTAINER_ERRORenum value from theresponse property for the response status - info
removed the
DONE_BY_RUNNERenum value from theresponse property for the response status - info
removed the
EXECUTOR_ERRORenum value from theresponse property for the response status - info
removed the
TERMINATED_BY_SERVERenum value from theresponse property for the response status - info
removed the
TERMINATED_BY_USERenum value from theresponse property for the response status
- warning