---
title: "Get Task"
method: GET
path: "/api/v1/task/{id}"
tags: ["Task"]
---

# Get Task

`GET /api/v1/task/{id}`

## Request

- Base URL: `https://api.scade.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scade.pro/api/v1/task/{id}`
- Auth: HTTP basic

## Path parameters

- `id` integer, required

## Headers

- `x-public-token` string
- `x-company-id` string
- `x-auth-as-staff` boolean
- `x-owner-payment-flag` boolean
- `x-auth-token` string
- `x-company-username` string
- `accept-language` string

## Cookies

- `ory_kratos_session` string

## Response `200`

Successful Response

- TaskSchema
  - `id` integer
  - `data` object
  - `status` 1 | 2 | 3 | 4 | 5: An enumeration.
  - `created` string, date-time
  - `finished` string, date-time
  - `result` unknown
  - `execution_time` integer
  - `execution_cost` unknown
  - `parent_id` integer
  - `ref_id` string
  - `task_type` 1 | 2 | 3 | 4 | 5 | 99: An enumeration.
  - `is_hide` boolean
  - `public_access_token` string
  - `file_result_link` string
  - `meta` object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/scade/apis/scade-prod.md) - [All operations](https://skmtc.dev/scade/apis/scade-prod/llms.txt) - [OpenAPI document](https://skmtc.dev/scade/apis/scade-prod/revisions/f3d7ba71abbc?raw)
