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

# Fetch an API key by ID

> Retrieve an API key for an organization using its identifier. The actual API key will never be returned.



## OpenAPI

````yaml https://api.arklow.io/swagger/ui/json get /v1/orgs/{org_id}/keys/{id}
openapi: 3.1.0
info:
  title: Arklow
  description: Arklow's API
  version: 0.1.0
servers:
  - url: https://api.arklow.io
    description: Production
  - url: http://localhost:3123
    description: Local development
security:
  - apiKey: []
tags:
  - name: actions
  - name: api_keys
  - name: billing
  - name: config
  - name: credentials
  - name: destinations
  - name: invites
  - name: members
  - name: metrics
  - name: notifications
  - name: orgs
  - name: rules
  - name: sources
  - name: users
  - name: ingress
externalDocs:
  url: https://api.arklow.io/swagger/ui
paths:
  /v1/orgs/{org_id}/keys/{id}:
    get:
      tags:
        - api_keys
      summary: Fetch an API key by ID
      description: >-
        Retrieve an API key for an organization using its identifier. The actual
        API key will never be returned.
      operationId: get_v1_orgs_by_org_id_keys_by_id
      parameters:
        - schema:
            type: string
            pattern: ^[0-9]+$
          in: path
          name: org_id
          required: true
          description: Organization identifier
        - schema:
            type: string
            pattern: ^[0-9]+$
          in: path
          name: id
          required: true
          description: API key identifier
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - errors
                properties:
                  data:
                    anyOf:
                      - type: object
                        required:
                          - id
                          - org_id
                          - member_id
                          - material
                        properties:
                          id:
                            type: string
                            description: API key identifier
                          org_id:
                            type: string
                            description: Organization identifier
                          member_id:
                            type: string
                            description: Organization membership identifier
                          user_id:
                            type: string
                            description: User identifier
                          material:
                            type: string
                            description: API key material
                            maxLength: 0
                          membership:
                            type: object
                            required:
                              - user_id
                              - org_id
                              - permissions
                            properties:
                              user_id:
                                type: string
                                description: User identifier
                              org_id:
                                type: string
                                description: Organization identifier
                              permissions:
                                type: array
                                items:
                                  type: string
                          description:
                            anyOf:
                              - type: 'null'
                              - type: string
                                description: API key description
                      - type: 'null'
                  errors:
                    anyOf:
                      - type: array
                        items:
                          type: object
                          required:
                            - code
                            - message
                          properties:
                            code:
                              type: string
                            message:
                              type: string
                      - type: 'null'
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-arklow-auth
      in: header

````