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

# Get Agents

> Return every agent the user can see, newest first. Add ``limit`` or
``cursor`` to page results.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/agents
openapi: 3.1.0
info:
  description: >
    Create and run form-filling voice agents, and read back the conversations
    they had.


    Send your API key on every request as `Authorization: Bearer fb_live_...`.

    A key belongs to one workspace and only reaches that workspace's agents.
    Create

    and revoke keys from Settings in the web app; keys cannot manage other keys.
  title: FormBharo API
  version: 1.0.0
servers:
  - description: Production
    url: https://form-fill-agent-backend.artpark.ai
security:
  - apiKey: []
paths:
  /api/v1/agents:
    get:
      tags:
        - Agents
      summary: Get Agents
      description: |-
        Return every agent the user can see, newest first. Add ``limit`` or
        ``cursor`` to page results.
      operationId: get_agents_api_v1_agents_get
      parameters:
        - description: >-
            Maximum agents to return. Sending this switches the response to the
            paged object shape.
          in: query
          name: limit
          required: false
          schema:
            anyOf:
              - minimum: 1
                type: integer
              - type: 'null'
            description: >-
              Maximum agents to return. Sending this switches the response to
              the paged object shape.
            title: Limit
        - description: >-
            Where to resume from: the ``next_cursor`` of the previous page.
            Sending this switches the response to the paged object shape.
          in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - minimum: 0
                type: integer
              - type: 'null'
            description: >-
              Where to resume from: the ``next_cursor`` of the previous page.
              Sending this switches the response to the paged object shape.
            title: Cursor
      responses:
        '200':
          content:
            application/json:
              schema:
                anyOf:
                  - items:
                      $ref: '#/components/schemas/AgentListItem'
                    type: array
                  - $ref: '#/components/schemas/AgentListPage'
                title: Response 200 Get Agents Api V1 Agents Get
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    AgentListItem:
      description: One row of ``GET /agents``.
      properties:
        conversation_count:
          title: Conversation Count
          type: integer
        id:
          title: Id
          type: string
        question_count:
          title: Question Count
          type: integer
        status:
          title: Status
          type: string
        title:
          title: Title
          type: string
        updated_at:
          title: Updated At
          type: number
        workspace_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Id
        workspace_role:
          enum:
            - admin
            - limited
          title: Workspace Role
          type: string
      required:
        - id
        - title
        - question_count
        - updated_at
        - conversation_count
        - status
        - workspace_role
      title: AgentListItem
      type: object
    AgentListPage:
      description: Paged agent list, returned only when ``limit`` or ``cursor`` is sent.
      properties:
        data:
          items:
            $ref: '#/components/schemas/AgentListItem'
          title: Data
          type: array
        next_cursor:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Cursor
      required:
        - data
      title: AgentListPage
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    apiKey:
      bearerFormat: fb_live_...
      scheme: bearer
      type: http

````