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
    }
  }
}