CRBNai API
  1. Recipes
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
    • 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. Recipes

Get All Chat Recipes

GET
/api/chats/recipes
chat
This will fetch all chat recipes that a user is allowed to see.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://app.crbnai.com/api/chats/recipes'
Response Response Example
[
    {
        "name": "fugiat",
        "created_at": "2088-07-15T00:59:39.961Z",
        "id": "95dba4b7-0a7d-4960-af79-676671f404af",
        "index": 1397
    },
    {
        "name": "cum",
        "created_at": "2097-08-21T20:38:39.363Z",
        "index": 85513,
        "id": "f98dfc1b-f87a-4a62-8d28-73d9b1edb008"
    }
]

Request

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

Responses

🟢200OK
application/json
Body
array of:
id
string <uuid>
optional
UUID of the recipe.
created_at
string 
optional
Date (ISO 8601) that the Recipe was created at.
index
number  | null 
optional
Index to control order in user display.
name
string 
required
User Defined name of this recipe.
Previous
Post Chat Message
Next
Get All Chats
Built with