CRBNai API
  1. Chats
CRBNai API
  • README
  • Authentication
  • Guides
    • Creating a Knowledge Bot
  • API Keys
    • Get all API Keys
      GET
    • Create API Key
      POST
    • Delete API Key
      DELETE
  • Chats
    • Messages
      • Get Chat Messages
      • Post Chat Message
    • Recipes
      • Get All Chat Recipes
    • Get All Chats
      GET
    • Create Chat
      POST
  • Documents
    • Delete Document
      DELETE
    • Download Document
      GET
    • Update Document
      PUT
  • Knowledge Bots
    • Documents
      • Add Document to Knowledge Bot
      • Prepare Document Upload
    • Chats
      • Chat Messages
        • Get Messages of a Knowledge Bot chat
        • Post a message to a Knowlege Bot chat
      • Get all Knowledge Bot chats
      • Create Knowledge Bot chat
    • Chats - deprecated
      • Chat with a Knowledge Bot
    • Create Knowledge Bot
      POST
    • Get All Knowledge Bots
      GET
    • Get Knowledge Bot by ID
      GET
    • Delete Knowledge Bot by ID
      DELETE
    • Update Knowledge Bot by ID
      PUT
  1. Chats

Get All Chats

GET
/api/chats
Get all Chats belonging to the current user.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.crbnai.com/api/chats?recipe_id=reci_01h821c9fcqsn04bwysaqvc9q8'
Response Response Example
[
    {
        "title": "expedita",
        "owner_id": "53fdf1c0-8920-47df-8a5e-78bcd325c0b4",
        "created_at": "2094-04-08T04:18:45.391Z",
        "id": "433d9b10-0f91-4719-ab76-f1d9cd52371b",
        "last_message_at": "2068-01-28T04:15:11.719Z",
        "recipe_id": "36166c5d-be09-48d7-9294-d0e0696dc811"
    },
    {
        "title": "molestiae",
        "owner_id": "d2b6d962-777d-4710-b0c4-e8316cf7fe0b",
        "recipe_id": null,
        "created_at": "2075-11-17T13:01:46.966Z",
        "id": "e0374c8e-5fee-411b-a450-efdd5801358c",
        "last_message_at": "2068-06-04T10:25:30.96Z"
    }
]

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Responses

🟢200OK
application/json
Body

Modified at 2023-12-12 06:39:44
Previous
Get All Chat Recipes
Next
Create Chat
Built with