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

# List API Keys

> Get all API keys for the organization



## OpenAPI

````yaml get /api/organizations/{organization_id}/automations/api-keys
openapi: 3.1.0
info:
  title: Axion Backend API
  description: Backend API for Axion platform with desktop automation capabilities
  version: 1.0.0
servers:
  - url: https://api.getgranite.ai
    description: Production server
  - url: http://localhost:8000
    description: Local development server
security: []
tags:
  - name: Authentication
    description: User authentication and session management
  - name: Organizations
    description: Organization management and membership
  - name: Health
    description: API health and status monitoring
  - name: Automations
    description: Automation planning and execution
  - name: MIG
    description: Managed Instance Group operations
  - name: Agent
    description: Agent execution and streaming
  - name: Onboarding
    description: Organization onboarding flow
  - name: Organization Automations
    description: Organization automation endpoint management
  - name: Organization Endpoints
    description: Public endpoints for organization automations
  - name: Analytics
    description: Analytics and reporting endpoints
paths:
  /api/organizations/{organization_id}/automations/api-keys:
    get:
      tags:
        - Organization Automations
      summary: List organization API keys
      description: Get all API keys for the organization
      operationId: listApiKeys
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            title: Organization Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeysListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ApiKeysListResponse:
      properties:
        keys:
          items:
            $ref: '#/components/schemas/ApiKeyInfo'
          type: array
          title: Keys
          description: List of API keys
      type: object
      required:
        - keys
      title: ApiKeysListResponse
      description: Response containing list of API keys
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ApiKeyInfo:
      properties:
        key_id:
          type: string
          title: Key Id
          description: Unique key identifier
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Key name
        is_active:
          type: boolean
          title: Is Active
          description: Whether the key is active
        created_at:
          type: string
          title: Created At
          description: Creation timestamp
        last_used_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Used At
          description: Last usage timestamp
      type: object
      required:
        - key_id
        - is_active
        - created_at
      title: ApiKeyInfo
      description: API key information (without the actual key)
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````