---
title: "GET /workqueues"
method: GET
path: "/workqueues"
tags: ["global"]
---

# GET /workqueues

`GET /workqueues`

Get the process' `/proc/self/task/[tid]/stat` information.

## Query parameters

- `pretty` boolean

## Response `200`

Successfully retrieved all workqueue information.

- object[]
  - `name` string
  - `references` integer
  - `minimum_threads` integer
  - `maximum_threads` integer
  - `current_threads` integer
  - `busy` integer
  - `working` integer
  - `delayed` integer
  - `barrier_id` integer
  - `calls` integer
  - `latency_ns` integer
  - `wmesg` string
  - `state` 'R' | 'S' | 'D' | 'Z' | 'T' | 't' | 'W' | 'X' | 'x' | 'K' | 'P'
  - `processor` integer
  - `time` string
  - `thread_id` integer
  - `thread_name` string

## Other responses

- `400` — Bad Request

## Changes

- **2022-11-04** `0b067d9f2c08` — 1 info
  - added the non-success response with the status `400`
- **2022-10-04** `905263e69b48` — 1 info
  - removed the non-success response with the status `400`

[Change history](https://skmtc.dev/hse-project/apis/hse-rest-api/changes/workqueues/get.md)

---

[API](https://skmtc.dev/hse-project/apis/hse-rest-api.md) · [All operations](https://skmtc.dev/hse-project/apis/hse-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hse-project/hse-rest-api/revisions/35114e72c580/schema)
