---
title: "List the API key scopes this workspace may create"
method: GET
path: "/apikey/scopes/"
tags: ["apikey"]
---

# List the API key scopes this workspace may create

`GET /apikey/scopes/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/apikey/scopes/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

What a new key in this workspace may be allowed to do. A workspace on a paid plan can create read or write keys; the free plan can create read keys.

## Response `200`

Successful Response

- APIKeyScopesReadSchema: Which scopes this workspace's plan lets it mint, for the create form.
  - `scopes` APIKeyScope[], required: The scopes on offer. A workspace that does not pay gets read only.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
