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

# Discover the AIRCTRL Authorization Server



## OpenAPI

````yaml /api-reference/openapi.json get /.well-known/oauth-authorization-server
openapi: 3.0.0
info:
  title: AIRCTRL API
  description: >-
    Programmatic access to AIRCTRL. Record values are encrypted by the client,
    so the API stores ciphertext and encrypted keys instead of plaintext record
    values.
  version: '1'
  contact: {}
servers:
  - url: https://api.airctrl.dev/v1
    description: Production
  - url: https://api.staging.airctrl.dev/v1
    description: QA
security: []
tags:
  - name: Context
    description: Find the accounts available to the caller.
  - name: Projects
    description: Create and manage projects.
  - name: Records
    description: Store and use client-encrypted records.
  - name: Audit
    description: Read record activity and access history.
  - name: Providers
    description: Discover supported AI providers.
  - name: Provider Credentials
    description: Manage encrypted provider credentials.
  - name: Gateways
    description: Create and operate AI gateways.
  - name: Usage
    description: Read gateway usage and spend data.
  - name: Service Accounts
    description: Read Service Account metadata and grant records.
paths:
  /.well-known/oauth-authorization-server:
    get:
      tags:
        - OAuth
      summary: Discover the AIRCTRL Authorization Server
      responses:
        '200':
          description: RFC 8414 authorization-server metadata.
          content:
            application/json:
              schema:
                type: object
                required:
                  - issuer
                  - authorization_endpoint
                  - token_endpoint
                  - revocation_endpoint
                  - response_types_supported
                  - grant_types_supported
                  - token_endpoint_auth_methods_supported
                  - code_challenge_methods_supported
                  - scopes_supported
                  - authorization_response_iss_parameter_supported
                  - service_documentation
                  - airctrl_token_lifetimes
                properties:
                  issuer:
                    type: string
                    format: uri
                  authorization_endpoint:
                    type: string
                    format: uri
                  token_endpoint:
                    type: string
                    format: uri
                  revocation_endpoint:
                    type: string
                    format: uri
                  response_types_supported:
                    type: array
                    items:
                      type: string
                  grant_types_supported:
                    type: array
                    items:
                      type: string
                  token_endpoint_auth_methods_supported:
                    type: array
                    items:
                      type: string
                  code_challenge_methods_supported:
                    type: array
                    items:
                      type: string
                  scopes_supported:
                    type: array
                    items:
                      type: string
                  authorization_response_iss_parameter_supported:
                    type: boolean
                  service_documentation:
                    type: string
                    format: uri
                  airctrl_token_lifetimes:
                    type: object
                    required:
                      - authorizationCodeSeconds
                      - accessTokenSeconds
                      - refreshTokenSeconds
                    properties:
                      authorizationCodeSeconds:
                        type: integer
                        enum:
                          - 300
                      accessTokenSeconds:
                        type: integer
                        enum:
                          - 900
                      refreshTokenSeconds:
                        type: integer
                        enum:
                          - 7776000
                    additionalProperties: false
      servers:
        - url: https://api.airctrl.dev
          description: Production
        - url: https://api.staging.airctrl.dev
          description: QA

````

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