{"type":"api","title":"Get task details","meta":{"id":"/apps/pubhub/media/dna-center-235/0e427c513038595590fc5a0593cb0e208dd78571/2192edf3-d24e-3461-ab8c-12a97b547df4","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.5","version":"2.3.5","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"getTaskDetails","tags":["Policy"],"summary":"Get task details","description":"Fetches the details of backend task. Task is typically created by making call to some other API that takes longer time to execute.\n","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"taskId","description":"Unique identifier for the task.","required":true,"type":"string","in":"path"}],"responses":{"200":{"description":"Success.","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["IN_PROGRESS","COMPLETED","PARTIALLY_FAILED","FAILED"]},"errors":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer"},"code":{"type":"integer"},"message":{"type":"string"},"details":{"type":"string"}}}},"additionalInfo":{"type":"object","properties":{}},"createdBy":{"type":"string"},"createdOn":{"type":"integer"},"lastUpdatedOn":{"type":"integer"}},"$$ref":"#/definitions/Task"}},"404":{"description":"Task for the given 'taskId' not found."},"500":{"description":"Internal server error. Check response body for more details."}},"__originalOperationId":"getTaskDetails","method":"get","path":"/dna/intent/api/v1/endpoint-analytics/tasks/{taskId}"}}