Retrieves the task with the given ID.
/ v1 / tasks / :id
curl "https://api.turbofiles.io/v1/tasks/vjhd09hfl2" \ -H 'Accept: application/vnd.api+json' \ -H 'Content-Type: application/vnd.api+json' \ -H 'Authorization: Bearer {api_key}'
{ "jsonapi": { "version": "1.1" }, "links": { "self": "https://api.turbofiles.io/v1/tasks/vjhd09hfl2" }, "data": { "type": "tasks", "id": "vjhd09hfl2", "attributes": { "format": { "input": "png", "output": "webp" }, "settings": {}, "processing_metadata": {}, "status": "completed", "started_at": "2023-01-03T00:00:00.000000Z", "processed_at": "2023-01-04T00:00:00.000000Z", "created_at": "2023-01-01T00:00:00.000000Z", "updated_at": "2023-01-02T00:00:00.000000Z" }, "relationships": { "input": { "data": { "type": "files", "id": "a8fhd83jpk.png" }, "links": { "self": "https://api.turbofiles.io/v1/tasks/vjhd09hfl2/relationships/input", "related": "https://api.turbofiles.io/v1/tasks/vjhd09hfl2/input" } }, "output": { "data": { "type": "files", "id": "ud3k2pif9f.webp" }, "links": { "self": "https://api.turbofiles.io/v1/tasks/vjhd09hfl2/relationships/output", "related": "https://api.turbofiles.io/v1/tasks/vjhd09hfl2/output" } } }, "included": [ { "type": "files", "id": "a8fhd83jpk.png", "attributes": { "format": "png", "size": 1901020, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "links": { "self": "https://api.turbofiles.io/v1/files/a8fhd83jpk.png", "download": "https://cdn.turbofiles.io/public/a8fhd83jpk.png" } }, { "type": "files", "id": "ud3k2pif9f.webp", "attributes": { "format": "webp", "size": 402932, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "links": { "self": "https://api.turbofiles.io/v1/files/ud3k2pif9f.webp", "download": "https://cdn.turbofiles.io/public/ud3k2pif9f.webp" } } ], "links": { "self": "https://api.turbofiles.io/v1/tasks/vjhd09hfl2", } } }