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

# Agent listesi

> Telefonla konuşabilen (ses kanalı olan) agent'lar, ada göre sıralı. `agent_id`, numara oluştururken `agent` alanına verilir.



## OpenAPI

````yaml /api-reference/openapi.json get /agents
openapi: 3.1.0
info:
  title: AI Agent TR Public API
  version: 1.0.0
  description: >-
    Organizasyonunuzun Private API Anahtarı ile çağrılan uçlar. Organizasyon
    anahtardan belirlenir.
servers:
  - url: https://api.aiagenttr.com/api/public/v1
    description: Canlı
security:
  - bearerAuth: []
paths:
  /agents:
    get:
      summary: Agent listesi
      description: >-
        Telefonla konuşabilen (ses kanalı olan) agent'lar, ada göre sıralı.
        `agent_id`, numara oluştururken `agent` alanına verilir.
      operationId: listAgents
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: cursor
          in: query
          required: false
          description: Önceki cevabın `next_cursor` değeri.
          schema:
            type: string
      responses:
        '200':
          description: Agent'lar
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentList'
        '401':
          $ref: '#/components/responses/Unauthenticated'
components:
  schemas:
    AgentList:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Agent'
        next_cursor:
          type:
            - string
            - 'null'
          description: Sonraki sayfa için `cursor`; son sayfada `null`.
    Agent:
      type: object
      properties:
        agent_id:
          type: string
          format: uuid
        name:
          type: string
          example: Satış Asistanı
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        details: {}
  responses:
    Unauthenticated:
      description: Anahtar yok, geçersiz ya da yenilenmiş
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: unauthenticated
            message: invalid api key
            details: null
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organizasyonun Private API Anahtarı (Organizasyon Ayarları → Private API
        Anahtarı).

````

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