List Bots

GET /bots

Get all bots

Query parameters

  • keyword string

    Keyword to filter the list of bots to only those that at least partially match the bot name.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • data array[object]
      Hide data attributes Show data attributes object
      • id string
      • name string
      • model string

        LLM model used for all messages generated by this bot

        Values are gpt-3.5-turbo or gpt-4.

      • created_at integer(int64)

        Unix timestamp in seconds

    • meta object
      Hide meta attribute Show meta attribute object
      • pagination object
        Hide pagination attributes Show pagination attributes object
        • count integer
        • total integer
        • per_page integer
        • total_pages integer
        • next_page integer | null
        • previous_page integer | null
GET /bots
curl \
 --request GET 'https://getcody.ai/api/v1/bots' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": "yiu456ytyUjk",
      "name": "Factual Bot",
      "created_at": 1672578000
    }
  ],
  "meta": {
    "pagination": {
      "count": 42,
      "total": 42,
      "per_page": 42,
      "total_pages": 42,
      "next_page": 42,
      "previous_page": 42
    }
  }
}