---
title: "Display Tasks"
method: GET
path: "/api/task"
tags: ["Task"]
---

# Display Tasks

`GET /api/task`

## Query parameters

- `name` string

## Response `200`

OK

- object
  - `executing_tasks` string, required — ongoing executing tasks
  - `finished_tasks` object[], required
    - `begin_time` string, required — Task begin time
    - `duration` integer, required
    - `end_time` string, required — Task end time
    - `exception` boolean, required
    - `metadata` object, required
      - `pool` integer, required
    - `name` string, required — finished tasks name
    - `progress` integer, required — Progress of tasks
    - `ret_value` boolean, required
    - `success` boolean, required

## Other responses

- `400` — Operation exception. Please check the response body for details.
- `401` — Unauthenticated access. Please login first.
- `403` — Unauthorized access. Please check your permissions.
- `500` — Unexpected error. Please check the response body for the stack trace.

---

[API](https://skmtc.net/ceph/apis/ceph-rest-api.md) · [All operations](https://skmtc.net/ceph/apis/ceph-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ceph/ceph-rest-api/revisions/b03ae23c3806/schema)
