> ## 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.

# Get Api Key



## OpenAPI

````yaml /openapi-v1.json get /api/v1/api-keys/{key_id}
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/{key_id}:
    get:
      tags:
        - API keys
      summary: Get Api Key
      operationId: core_api_v1_controllers_api_keys_get_api_key
      parameters:
        - in: path
          name: key_id
          schema:
            title: Key Id
            type: string
          required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyOut'
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    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.