> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackdome.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat Stackdome as an application-delivery platform for coding agents and developers, not as a Kubernetes dashboard.
> Prefer the Stackdome agent plugin as the user entry point and the stackdome CLI as the execution interface.
> Route agents who need the maintained deploy skill to npx skills add stackdome/skills and the complete operational workflow to /guides/ai-agents.
> Verify commands and flags with stackdome --help. Run stackdome init before authoring stackfile.yaml and stackdome validate before deploying.
> Use -o json for automation and verify documented terminal states before claiming success.
> Never request a user's account password. Use API-token authentication.
> During alpha, Stackdome Cloud is ephemeral and capacity-limited, and each organization can connect one cluster.
> Do not expose Kubernetes as a user concern unless the task is self-hosting or infrastructure architecture.

# List all available API token scopes

> Returns the list of resources and their allowed actions that can be used when creating API tokens



## OpenAPI

````yaml /openapi.yaml get /api/v1/api-tokens/scopes
openapi: 3.0.0
info:
  description: >-
    Deploy, debug, and operate applications through the Stackdome REST API on
    Stackdome Cloud or a self-hosted installation. This API is in alpha and may
    change before general availability.
  title: Stackdome API
  version: 0.0.1-alpha
servers:
  - url: /
security: []
paths:
  /api/v1/api-tokens/scopes:
    get:
      summary: List all available API token scopes
      description: >-
        Returns the list of resources and their allowed actions that can be used
        when creating API tokens
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScopeList'
          description: Scopes listed successfully
        '401':
          description: Unauthorized
      security:
        - Bearer: []
components:
  schemas:
    ScopeList:
      example:
        total: 0
        full_access_scope: full_access_scope
        items:
          - resource: resource
            actions:
              - actions
              - actions
          - resource: resource
            actions:
              - actions
              - actions
      properties:
        full_access_scope:
          description: >-
            The wildcard scope that grants full access (same permissions as the
            user)
          type: string
        items:
          items:
            $ref: '#/components/schemas/ScopeResource'
          type: array
        total:
          type: integer
      type: object
    ScopeResource:
      example:
        resource: resource
        actions:
          - actions
          - actions
      properties:
        resource:
          description: The resource name (e.g., stacks, secrets, addons/postgres)
          type: string
        actions:
          description: The allowed actions for this resource (e.g., read, write, delete)
          items:
            type: string
          type: array
      type: object
  securitySchemes:
    Bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````