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

# List API keys

> Retrieve all API keys associated with an app



## OpenAPI

````yaml /swagger.json get /v1/apps/{app_id}/api_keys
openapi: 3.0.1
info:
  title: Scute API
  version: v1
  description: API for managing users in Scute applications
servers:
  - url: https://{defaultHost}
    variables:
      defaultHost:
        default: api.scute.io
  - url: http://localhost:3333
    description: Development server
security:
  - apiSecret: []
    userAccess: []
paths:
  /v1/apps/{app_id}/api_keys:
    parameters:
      - name: app_id
        in: path
        required: true
        description: App ID
        schema:
          type: string
    get:
      tags:
        - API Keys
      summary: List API keys
      description: Retrieve all API keys associated with an app
      operationId: listApiKeys
      responses:
        '200':
          description: successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  api_keys:
                    type: array
                    items:
                      $ref: '#/components/schemas/ApiKey'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Unauthorized
      security:
        - apiSecret: []
components:
  schemas:
    ApiKey:
      type: object
      properties:
        id:
          type: string
          description: API key ID
        nickname:
          type: string
          description: API key nickname
        token:
          type: string
          nullable: true
          description: API key token (returned on create only)
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
        revoked_at:
          type: string
          format: date-time
          nullable: true
          description: Revocation timestamp
      required:
        - id
        - nickname
        - created_at
  securitySchemes:
    apiSecret:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: API Secret token
    userAccess:
      type: apiKey
      name: X-Authorization
      in: header
      description: User Access token

````