---
title: "Get a tasks status given its ID"
method: GET
path: "/workers/tasks/{id}"
tags: ["workers"]
---

# Get a tasks status given its ID

`GET /workers/tasks/{id}`

## Request

- Base URL: `https://data.public.lu/api/1`
- URL: `https://data.public.lu/api/1/workers/tasks/{id}`
- Auth: none declared

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- Task
  - `exc` string: The exception thrown during execution
  - `id` string: Tha task execution ID
  - `result` string: The task results if exists
  - `status` 'RETRY' | 'REVOKED' | 'RECEIVED' | 'STARTED' | 'SUCCESS' | 'PENDING' | 'FAILURE': Cron expression for hour
  - `traceback` string: The execution traceback

---

[API](https://skmtc.dev/public/apis/udata-api.md) - [All operations](https://skmtc.dev/public/apis/udata-api/llms.txt) - [OpenAPI document](https://skmtc.dev/public/apis/udata-api/revisions/3f583ca74f7e?raw)
