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

# List capabilities

> **Auth:** organization API key (`read` scope or higher) or a signed-in user.

Optionally filter by `role`. Returns a bare array.



## OpenAPI

````yaml https://cp.xenovia.io/openapi.json get /api/v1/proxies/{proxy_id}/capabilities
openapi: 3.1.0
info:
  title: Xenovia Control Plane API
  version: 1.0.0
  description: >-
    Management API for proxies, providers, policies, telemetry, alerts and
    organization settings.
servers:
  - url: https://cp.xenovia.io
    description: Production
security:
  - BearerAuth: []
paths:
  /api/v1/proxies/{proxy_id}/capabilities:
    get:
      tags:
        - proxies
      summary: List capabilities
      description: >-
        **Auth:** organization API key (`read` scope or higher) or a signed-in
        user.


        Optionally filter by `role`. Returns a bare array.
      operationId: list_capabilities_route_api_v1_proxies__proxy_id__capabilities_get
      parameters:
        - name: proxy_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Proxy Id
        - name: role
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter to a specific agent role (also includes proxy-root caps)
            title: Role
          description: Filter to a specific agent role (also includes proxy-root caps)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CapabilityRead'
                title: >-
                  Response List Capabilities Route Api V1 Proxies  Proxy Id 
                  Capabilities Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CapabilityRead:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        proxy_id:
          type: string
          format: uuid
          title: Proxy Id
        org_id:
          type: string
          format: uuid
          title: Org Id
        agent_role:
          anyOf:
            - type: string
            - type: 'null'
          title: Agent Role
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        examples:
          items:
            type: string
          type: array
          title: Examples
        enabled:
          type: boolean
          title: Enabled
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - proxy_id
        - org_id
        - agent_role
        - name
        - description
        - examples
        - enabled
        - created_at
        - updated_at
      title: CapabilityRead
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer token: an organization API key (`ak_…`) created under Settings →
        API Keys, or a dashboard user session token. Proxy keys (`xe_…`) are not
        accepted here. Endpoints marked as user-only in their description reject
        organization keys with `403`.

````