---
title: "Mintable Scopes"
method: GET
path: "/v1/orgs/{org_id}/api-keys/mintable-scopes"
tags: ["api-keys"]
---

# Mintable Scopes

`GET /v1/orgs/{org_id}/api-keys/mintable-scopes`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/orgs/{org_id}/api-keys/mintable-scopes`
- Auth: none declared

The scopes THIS caller may actually mint — read it, do not restate it.

A key-creation form that hard-codes the scope list drifts the moment the
ceiling moves: client-admin's was already offering 7 of the 10 the API
accepts, an omission indistinguishable from a deliberate display list. Mirror
this endpoint instead.

## Path parameters

- `org_id` string, required

## Query parameters

- `project_id` string[]: Projects the key would act on. Repeat for several. A non-admin's ceiling is the INTERSECTION across them, so pass exactly what the form has selected.

## Response `200`

Successful Response

- MintableScopesOut
  - `your_org_role` string, required
  - `is_staff` boolean, required
  - `mintable` string[], required
  - `staff_only_excluded` string[]
  - `beyond_your_role_excluded` string[]
  - `org_wide_allowed` boolean, required
  - `projects_considered` string[]
  - `projects_without_role` string[]
  - `note` string, nullable
  - `formula` object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
