> ## 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 API tokens for the current user



## OpenAPI

````yaml /openapi.yaml get /api/v1/api-tokens
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:
    get:
      summary: List all API tokens for the current user
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APITokenList'
          description: API tokens listed successfully
      security:
        - Bearer: []
components:
  schemas:
    APITokenList:
      example:
        items:
          - last_used_at: '2000-01-23T04:56:07.000Z'
            expires_at: '2000-01-23T04:56:07.000Z'
            revoked_at: '2000-01-23T04:56:07.000Z'
            user_id: user_id
            org_id: org_id
            name: name
            token_prefix: token_prefix
            created_at: '2000-01-23T04:56:07.000Z'
            id: id
            scopes:
              - scopes
              - scopes
            resource_ids:
              - resource_ids
              - resource_ids
          - last_used_at: '2000-01-23T04:56:07.000Z'
            expires_at: '2000-01-23T04:56:07.000Z'
            revoked_at: '2000-01-23T04:56:07.000Z'
            user_id: user_id
            org_id: org_id
            name: name
            token_prefix: token_prefix
            created_at: '2000-01-23T04:56:07.000Z'
            id: id
            scopes:
              - scopes
              - scopes
            resource_ids:
              - resource_ids
              - resource_ids
      properties:
        items:
          items:
            $ref: '#/components/schemas/APIToken'
          type: array
      type: object
    APIToken:
      example:
        last_used_at: '2000-01-23T04:56:07.000Z'
        expires_at: '2000-01-23T04:56:07.000Z'
        revoked_at: '2000-01-23T04:56:07.000Z'
        user_id: user_id
        org_id: org_id
        name: name
        token_prefix: token_prefix
        created_at: '2000-01-23T04:56:07.000Z'
        id: id
        scopes:
          - scopes
          - scopes
        resource_ids:
          - resource_ids
          - resource_ids
      properties:
        id:
          type: string
        name:
          type: string
        user_id:
          type: string
        token_prefix:
          type: string
        scopes:
          items:
            type: string
          type: array
        resource_ids:
          items:
            type: string
          type: array
        org_id:
          type: string
        expires_at:
          format: date-time
          type: string
        last_used_at:
          format: date-time
          type: string
        created_at:
          format: date-time
          type: string
        revoked_at:
          format: date-time
          type: string
      type: object
  securitySchemes:
    Bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````