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

# List bots



## OpenAPI

````yaml https://megastream25-api.closebot.com/swagger/v1/swagger.json get /bot
openapi: 3.0.1
info:
  title: CloseBot API
  version: v1
servers:
  - url: https://api.closebot.com
    description: CloseBot API Endpoint
security:
  - Key: []
paths:
  /bot:
    get:
      tags:
        - Bot
      summary: List bots
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BotDto'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BotDto'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BotDto'
components:
  schemas:
    BotDto:
      type: object
      properties:
        id:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        modifiedAt:
          type: string
          nullable: true
        modifiedBy:
          type: string
          nullable: true
        versions:
          type: array
          items:
            $ref: '#/components/schemas/BotVersionDto'
          nullable: true
        sources:
          type: array
          items:
            $ref: '#/components/schemas/BotSourceDto'
          nullable: true
        personaIds:
          type: array
          items:
            type: string
          nullable: true
        favorited:
          type: boolean
        locked:
          type: boolean
        reschedulingEnabled:
          type: boolean
        category:
          type: string
          nullable: true
        folderId:
          type: string
          nullable: true
        followUpActive:
          type: boolean
        followUpSequences:
          type: array
          items:
            $ref: '#/components/schemas/FollowUpSequenceDto'
          nullable: true
        smartFollowUp:
          type: boolean
        followUpRepeat:
          type: boolean
        followUpVarianceMinutes:
          type: integer
          format: int32
        followUpExtraPrompt:
          type: string
          nullable: true
        tools:
          type: array
          items:
            $ref: '#/components/schemas/BotToolDto'
          nullable: true
        followUpStates:
          type: array
          items:
            $ref: '#/components/schemas/FollowUpStateDto'
          nullable: true
      additionalProperties: false
    BotVersionDto:
      type: object
      properties:
        version:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        published:
          type: boolean
        modifiedAt:
          type: string
          format: date-time
        modifiedBy:
          type: string
          nullable: true
      additionalProperties: false
    BotSourceDto:
      type: object
      properties:
        id:
          type: string
          nullable: true
        category:
          type: string
          nullable: true
        key:
          type: string
          nullable: true
        name:
          type: string
          nullable: true
        tags:
          type: array
          items:
            $ref: '#/components/schemas/ContactTag'
          nullable: true
        tagFilterConfig:
          $ref: '#/components/schemas/TagFilterConfig'
        channelList:
          type: array
          items:
            type: string
          nullable: true
        personaNameOverride:
          type: string
          nullable: true
        enabled:
          type: boolean
        flowVariableValues:
          type: object
          additionalProperties:
            type: string
          nullable: true
      additionalProperties: false
    FollowUpSequenceDto:
      type: object
      properties:
        order:
          type: integer
          format: int32
        duration:
          type: integer
          format: int32
        unit:
          type: string
          nullable: true
      additionalProperties: false
    BotToolDto:
      type: object
      properties:
        id:
          type: string
          nullable: true
        type:
          type: string
          nullable: true
        enabled:
          type: boolean
        options:
          $ref: '#/components/schemas/BotToolOptions'
      additionalProperties: false
    FollowUpStateDto:
      type: object
      properties:
        id:
          type: integer
          format: int32
        name:
          type: string
          nullable: true
        isDefault:
          type: boolean
        sequences:
          type: array
          items:
            $ref: '#/components/schemas/FollowUpSequenceDto'
          nullable: true
        repeatFinal:
          type: boolean
        extraPrompt:
          type: string
          nullable: true
        order:
          type: integer
          format: int32
      additionalProperties: false
    ContactTag:
      type: object
      properties:
        name:
          type: string
          nullable: true
        approveDeny:
          type: boolean
        id:
          type: string
          nullable: true
      additionalProperties: false
    TagFilterConfig:
      type: object
      properties:
        operator:
          type: string
          nullable: true
        groups:
          type: array
          items:
            $ref: '#/components/schemas/TagFilterGroup'
          nullable: true
      additionalProperties: false
    BotToolOptions:
      type: object
      additionalProperties: false
    TagFilterGroup:
      type: object
      properties:
        operator:
          type: string
          nullable: true
        rules:
          type: array
          items:
            $ref: '#/components/schemas/TagFilterRule'
          nullable: true
      additionalProperties: false
    TagFilterRule:
      type: object
      properties:
        tagName:
          type: string
          nullable: true
        tagId:
          type: string
          nullable: true
        condition:
          type: string
          nullable: true
      additionalProperties: false
  securitySchemes:
    Key:
      type: apiKey
      description: CloseBot API Key Authorization
      name: X-CB-KEY
      in: header

````