---
title: "Get task"
method: GET
path: "/tasks/{taskid}"
tags: ["Tasks"]
---

# Get task

`GET /tasks/{taskid}`

Return the status of a task.

## Path parameters

- `taskid` string, required — Task ID

## Response `200`

Task

- Task — Task
  - `id` string, required — Task ID
  - `status` 'pending' | 'running' | 'canceled' | 'done', required
  - `percent` number, required
  - `ended` string, date-time — RFC 3339, section 5.6
  - `result` unknown
  - `error` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Resource Not Found
- `405` — Method Not Allowed
- `429` — Too Many Requests (rate limit exceeded)
- `500` — Internal Server Error

---

[API](https://skmtc.net/callr/apis/callr-rest-api-v2-0.md) · [All operations](https://skmtc.net/callr/apis/callr-rest-api-v2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/callr/callr-rest-api-v2-0/versions/76d36d004a8f/schema)
