Personal Access Tokens

List scopes available for a new personal access token

Changed on

Returns the org's configured MCP_SCOPES as a flat array of scope definitions, for populating the create-token scope picker. Unlike GET /oauth-clients/scopes, this is not grouped by category and not role-aware — every org member sees the same set, since PAT scope selection isn't gated by admin status. The handler reads no query parameters and ignores any that are sent.

get/personal-access-tokens/scopes

Request

  • Base URL
    https://app.pipeshub.com/api/v1
  • URL
    https://app.pipeshub.com/api/v1/personal-access-tokens/scopes
  • Auth
    HTTP bearer

Response

Scopes available to grant

Example response

{
  "scopes": [
    {
      "name": "openid",
      "description": "OpenID Connect authentication",
      "category": "Identity"
    }
  ]
}

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      endpoint added