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

# List Agents

> Fetch the Agents of the company, sorted by name. Agents the role of the token owner is restricted from are left out. This endpoint may change or be removed without prior notice.



## OpenAPI

````yaml /api-reference/openapi.yml get /v1/agents
openapi: 3.0.1
info:
  title: Siit Public API
  version: v0
servers:
  - url: https://api.siit.io
security: []
paths:
  /v1/agents:
    get:
      tags:
        - Unstable
        - Agent
      summary: List Agents
      description: >-
        Fetch the Agents of the company, sorted by name. Agents the role of the
        token owner is restricted from are left out. This endpoint may change or
        be removed without prior notice.
      parameters:
        - name: search
          in: query
          required: false
          description: Only return Agents whose name contains this text (case-insensitive).
          schema:
            type: string
        - name: delegable_on_request
          in: query
          required: false
          description: >-
            Only return the Agents the Request with this UID (or `friendly_id`)
            can be delegated to: members of the Request's Team inbox. Requires
            access to Requests; archived Requests and Requests outside the token
            owner's request visibility return a 404. Agents the role of the
            token owner is restricted from are left out, even when they could be
            delegated to.
          schema:
            type: string
        - name: page
          in: query
          required: false
          description: The current page
          schema:
            type: integer
        - name: per_page
          in: query
          required: false
          description: Number of results retrieved per page.
          schema:
            type: integer
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/meta_object'
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        uid:
                          type: string
                          description: The UID of the Agent
                        name:
                          type: string
                          description: The Agent name
                        description:
                          type: string
                          nullable: true
                          description: The Agent description
                        enabled:
                          type: boolean
                          description: Whether the Agent is turned on
        '401':
          description: Unauthorized
      security:
        - bearer: []
components:
  schemas:
    meta_object:
      type: object
      properties:
        count:
          type: integer
        current_page:
          type: integer
        next_page_link:
          type: string
          nullable: true
        per_page:
          type: integer
          default: 20
          maximum: 200
        previous_page_link:
          type: string
          nullable: true
        total:
          type: integer
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````