---
title: "Check if a server is in a specific task"
method: GET
path: "/api/clusters/{clusterName}/servers/{serverName}/{serverPort}/is-in-task/{taskname}"
tags: ["DatabaseTasks"]
---

# Check if a server is in a specific task

`GET /api/clusters/{clusterName}/servers/{serverName}/{serverPort}/is-in-task/{taskname}`

## Request

- The document declares no server URL.
- Auth: none declared

Checks if a specified server within a cluster is currently involved in a specific task.

## Path parameters

- `clusterName` string, required
- `serverName` string, required
- `serverPort` string, required
- `type` 'mysqldump' | 'mydumper' | 'xtrabackup' | 'mariabackup' | 'pgdump' | 'pgbasebackup' | 'pgstandby' | 'pgreseed' | 'pgschemasync' | 'pgrestore' | 'pgreseedlogical' | 'pgwalarchive' | 'pgrestorelogical' | 'errorlog' | 'slowquery' | 'sqlerrorlog' | 'auditlog' | 'zfssnapback' | 'optimize' | 'reseedxtrabackup' | 'reseedmariabackup' | 'reseedmysqldump' | 'flashbackxtrabackup' | 'flashbackmariadbackup' | 'flashbackmysqldump' | 'stop' | 'restart' | 'start' | 'printdefault-current' | 'printdefault-dummy' | 'jobs-check' | 'jobs-upgrade', required

## Response `200`

true" or "false

- string

## Other responses

- `500`: Cluster Not Found" or "Server Not Found" or "Error checking task status

## Changes

- **2026-07-17** `7465ea0ee21a`: 1 info
  - endpoint added
- **2023-03-31** `b57fc7b9446e`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/changes/api/clusters/:clusterName/servers/:serverName/:serverPort/is-in-task/:taskname/get.md)

---

[API](https://skmtc.dev/signal18/apis/signal-18-dashboard-api.md) - [All operations](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/revisions/8ee8a1e31294?raw)
