---
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://dados.gov.pt/api/1`
- URL: `https://dados.gov.pt/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` 'STARTED' | 'FAILURE' | 'RETRY' | 'REVOKED' | 'PENDING' | 'SUCCESS' | 'RECEIVED': Cron expression for hour
  - `traceback` string: The execution traceback

## Changes

- **2026-09-11** `1175d034be00`: 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Operation history](https://skmtc.dev/dados/apis/udata-api/changes/workers/tasks/:id/get.md)

---

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