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

# List agents for the authenticated organisation.



## OpenAPI

````yaml /openapi/v1.yaml get /agents
openapi: 3.1.0
info:
  title: Attexra API
  version: 0.1.0
  description: >-
    Identity, scoped authorization, and auditable action evidence for autonomous
    agents. The MVP is non-custodial and does not execute payments.
servers:
  - url: /v1
    description: Current API server
  - url: https://api.attexra.example/v1
    description: Production example
security:
  - apiKeyAuth: []
  - bearerAuth: []
paths:
  /agents:
    get:
      summary: List agents for the authenticated organisation.
      operationId: listAgents
      parameters:
        - in: query
          name: name
          required: false
          description: Optional case-insensitive agent name filter.
          schema:
            type: string
        - in: query
          name: status
          required: false
          schema:
            type: string
            enum:
              - active
              - suspended
              - revoked
        - $ref: '#/components/parameters/LimitParam'
        - $ref: '#/components/parameters/CursorParam'
      responses:
        '200':
          description: Organisation agents.
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Agent'
                  nextCursor:
                    type: string
components:
  parameters:
    LimitParam:
      in: query
      name: limit
      required: false
      description: Page size (1 to 100, default 50).
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
    CursorParam:
      in: query
      name: cursor
      required: false
      description: Opaque pagination cursor returned as nextCursor by the previous page.
      schema:
        type: string
  schemas:
    Agent:
      type: object
      required:
        - id
        - organisationId
        - name
        - status
        - createdAt
      properties:
        id:
          type: string
          format: uuid
        organisationId:
          type: string
          format: uuid
        name:
          type: string
        status:
          type: string
          enum:
            - active
            - suspended
            - revoked
        createdAt:
          type: string
          format: date-time
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Console session token (also supported via attexra_session HttpOnly
        cookie).

````

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