---
title: "Get the specific query worker access level"
method: GET
path: "/_api/key/{keyid}/database/{geofabric}/restql/{query-worker}"
tags: ["API Keys"]
---

# Get the specific query worker access level

`GET /_api/key/{keyid}/database/{geofabric}/restql/{query-worker}`

## 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/_api/key/:keyid/database/:geofabric/restql/:query-worker/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch the access level for a specific query worker.

 If access level for the query worker is not set, then the default("&#42;") access level is used. If the default("&#42;") access level is also not set, then the GeoFabric access level is used.

## Path parameters

- `keyid` string, string, required
- `geofabric` string, string, required
- `query-worker` string, string, required

## Response `200`

Successfully fetched query worker access level.

- ApiKeyDbnameExamplesRc200
  - `code` integer: HTTP response code.
  - `error` boolean: Flag if there is an error in response. *False* for this response.
  - `result` string

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `401`: Failed to validate because you do not have access to the GeoFabric.
- `403`: Failed to validate because you do not have access to the server.
- `404`: Failed to find specified fabric, API key, or query worker.

---

[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)
