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

# List Api Keys

> The keys your key created, newest first. An admin session lists every key of the workspace.



## OpenAPI

````yaml /openapi-v1.json get /api/v1/api-keys
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/api-keys:
    get:
      tags:
        - API keys
      summary: List Api Keys
      description: >-
        The keys your key created, newest first. An admin session lists every
        key of the workspace.
      operationId: core_api_v1_controllers_api_keys_list_api_keys
      parameters:
        - in: query
          name: page
          schema:
            default: 1
            title: Page
            type: integer
          required: false
        - in: query
          name: page_size
          schema:
            default: 50
            title: Page Size
            type: integer
          required: false
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyListOut'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    ApiKeyListOut:
      properties:
        object:
          default: list
          title: Object
          type: string
        data:
          items:
            $ref: '#/components/schemas/ApiKeyOut'
          title: Data
          type: array
        has_more:
          title: Has More
          type: boolean
        total:
          title: Total
          type: integer
      required:
        - data
        - has_more
        - total
      title: ApiKeyListOut
      type: object
    ApiKeyOut:
      properties:
        id:
          format: uuid
          title: Id
          type: string
        object:
          default: api_key
          title: Object
          type: string
        name:
          title: Name
          type: string
        description:
          title: Description
          type: string
        key_prefix:
          title: Key Prefix
          type: string
        scopes:
          items:
            type: string
          title: Scopes
          type: array
        allowed_cidrs:
          items:
            type: string
          title: Allowed Cidrs
          type: array
        is_active:
          title: Is Active
          type: boolean
        expires_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Expires At
        rotated_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Rotated At
        locked_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Locked At
        last_used_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Used At
        created_at:
          format: date-time
          title: Created At
          type: string
      required:
        - id
        - name
        - description
        - key_prefix
        - scopes
        - allowed_cidrs
        - is_active
        - expires_at
        - rotated_at
        - locked_at
        - last_used_at
        - created_at
      title: ApiKeyOut
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.