---
title: "List current query workers"
method: GET
path: "/_fabric/{fabric}/_api/restql/user"
tags: ["Query Workers"]
---

# List current query workers

`GET /_fabric/{fabric}/_api/restql/user`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_fabric/:fabric/_api/restql/user/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch list of saved queries for the fabric.

## Path parameters

- `fabric` string, string, required

## Response `200`

Successfully fetched queries.

- QueryWorkersGetRestqlUserRc200
  - `code` integer: HTTP response code.
  - `error` boolean: Flag if there is an error in response. *False* for this response.
  - `result` ExamplesIdKeyRevData[]
    - `_id` string: ID of the collection.
    - `_key` string: _key details of collection.
    - `_rev` string: _rev details of collection.
    - `data` string: data in record.

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `403`: Failed because you do not have permission to list query workers.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
