Cody AI API
1.0

API for Cody AI

This is the documentation for version 1.0 of the API. Last update on May 4, 2024.

Base URL
https://getcody.ai/api/v1

List Conversations

GET /conversations

Get all conversations

Query parameters

  • bot_id string

    Id of the bot to filter the list of conversations to only those that are using the selected bot.

  • keyword string

    Keyword to filter the list of conversations to only those that at least partially match the conversation name.

  • includes string

    Lists document ids the conversation is focused on.

    Value is document_ids.

Responses

GET /conversations
curl \
 -X GET https://getcody.ai/api/v1/conversations \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "id": "string",
      "name": "string",
      "bot_id": "string",
      "created_at": 42
    }
  ],
  "meta": {
    "pagination": {
      "count": 42,
      "total": 42,
      "per_page": 42,
      "total_pages": 42,
      "next_page": 42,
      "previous_page": 42
    }
  }
}