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

# List the organization's agent runtime profiles



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/llm-gateway/admin/agent-runtime-profiles
openapi: 3.1.0
info:
  title: Barndoor.ai Public API
  description: Unified public API specification for Barndoor.ai platform
  version: 2.18.0
servers:
  - url: https://{host}
    description: Barndoor public API
    variables:
      host:
        default: platform.barndoor.ai
        description: >-
          The host serving your Barndoor deployment. Defaults to production;
          override it for another environment or a dedicated deployment.
security:
  - ApiKey: []
  - OAuth2:
      - openid
      - profile
      - email
tags:
  - name: dlp
    x-group: Data Control Center
  - name: identity
    x-group: Identity
  - name: llm-gateway
    x-group: LLM Gateway
  - name: notification
    x-group: Notifications
  - name: policy
    x-group: Policies
  - name: registry
    x-group: MCP Gateway
  - name: system-management
    x-group: Log Exports
paths:
  /api/llm-gateway/admin/agent-runtime-profiles:
    get:
      tags:
        - llm-gateway
      summary: List the organization's agent runtime profiles
      operationId: list_profiles
      parameters:
        - name: client
          in: query
          description: Restrict to one agent client, e.g. `claude-code`.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Agent runtime profiles
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListProfilesResponse'
        '401':
          description: Missing or invalid credentials
        '403':
          description: Caller is not permitted to act on this resource in this organization
      deprecated: true
components:
  schemas:
    ListProfilesResponse:
      type: object
      required:
        - profiles
      properties:
        profiles:
          type: array
          items:
            $ref: '#/components/schemas/AgentRuntimeProfile'
    AgentRuntimeProfile:
      type: object
      description: A profile joined with the contract of its `current_version`.
      required:
        - id
        - org_id
        - slug
        - display_name
        - client
        - active
        - is_org_default
        - version
        - config
        - capabilities
        - created_at
        - updated_at
      properties:
        active:
          type: boolean
          description: >-
            True for the client's settings; false for an archived former
            profile.
        archived_at:
          type:
            - string
            - 'null'
          format: date-time
          description: |-
            When this former launch profile was archived; null for the client's
            settings.
        capabilities:
          $ref: '#/components/schemas/AgentRuntimeCapabilities'
        client:
          type: string
        config:
          type: object
          description: >-
            Stored model route per client slot (the settings' `preferences`).

            Kept, but not read by a launch: every slot is derived from the
            models

            Model Access allows the person.
          additionalProperties:
            type: string
          propertyNames:
            type: string
        created_at:
          type: string
          format: date-time
        display_name:
          type: string
        id:
          type: string
          format: uuid
        is_org_default:
          type: boolean
          description: >-
            True for the client's settings; false for an archived former
            profile.
        org_id:
          type: string
          format: uuid
        slug:
          type: string
        updated_at:
          type: string
          format: date-time
        version:
          type: integer
          format: int32
          description: The immutable version whose preferences are loaded below.
    AgentRuntimeCapabilities:
      type: object
      description: |-
        The normalized capability contract compiled by barndoor-cli into
        client-specific flags and configuration. The product default is the
        client's native loop (`client_default`); `locked_down` is an explicit
        named preset, not the omitted-envelope fallback.
      properties:
        additional_instructions:
          type: string
          default: ''
        allowed_commands:
          type: array
          items:
            type: string
          default: []
        allowed_tools:
          type: array
          items:
            type: string
          default: []
        blocked_commands:
          type: array
          items:
            type: string
          default: []
        blocked_tools:
          type: array
          items:
            type: string
          default: []
        browser:
          type: string
          default: native
        environment:
          type: string
          default: inherit
        filesystem:
          type: string
          default: read_write
        network:
          type: string
          default: native
        preset:
          type: string
          default: client_default
        schema_version:
          type: integer
          format: int32
          default: 1
          minimum: 0
        shell:
          type: string
          default: native
        skills:
          type: boolean
          default: true
        subagents:
          type: boolean
          default: true
        unreviewed_desktop_builds:
          type: boolean
          description: >-
            Codex only. When true, Codex Desktop may launch a version newer than
            the installed Barndoor CLI has reviewed, under the newest reviewed
            version's rules and with a warning to the user, instead of being
            refused until Barndoor is updated. A managed-device setting can
            still turn it off. Default false; independent of `preset`.
          default: false
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        A Barndoor API key, sent as `Authorization: Bearer <key>`. Keys are
        prefixed `bdai_` and are opaque — do not attempt to decode one.
        Interchangeable with an OAuth 2.0 access token.
    OAuth2:
      type: oauth2
      x-issuer: https://auth.barndoor.ai/realms/barndoor
      description: >-
        An OAuth 2.0 access token from Barndoor's identity provider, sent as
        `Authorization: Bearer <token>`. Public clients must use PKCE.
        Interchangeable with an API key.
      flows:
        authorizationCode:
          authorizationUrl: >-
            https://auth.barndoor.ai/realms/barndoor/protocol/openid-connect/auth
          tokenUrl: >-
            https://auth.barndoor.ai/realms/barndoor/protocol/openid-connect/token
          scopes:
            openid: Issue an OIDC ID token identifying the caller.
            profile: Read the caller's basic profile claims.
            email: Read the caller's email address.
            offline_access: Issue a refresh token. Optional — no operation requires it.
        clientCredentials:
          tokenUrl: >-
            https://auth.barndoor.ai/realms/barndoor/protocol/openid-connect/token
          scopes:
            openid: Issue an OIDC ID token identifying the caller.
            profile: Read the caller's basic profile claims.
            email: Read the caller's email address.
            offline_access: Issue a refresh token. Optional — no operation requires it.

````

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