CRBNai API
  1. Knowledge Bots
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. Knowledge Bots

Create Knowledge Bot

POST
/api/knowledge-bots
This will create a new Knowledge Bot.
Request Request Example
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
curl --location --request POST 'https://app.crbnai.com/api/knowledge-bots' \
--header 'Content-Type: application/json' \
--data-raw '{
    "title": "string",
    "description": "string",
    "embeddable": true,
    "llm_config": {
        "model": "string",
        "vendor": "string"
    },
    "user_metadata": "string"
}'
Response Response Example
{
    "title": "veniam",
    "language_model": "fugiat",
    "owner_id": "4adb518a-9f3c-4bae-b766-fbc60153c9c7",
    "documents": [
        {
            "name": "accusamus",
            "id": "863dbbc3-8868-4ded-b175-0666e8d6333e",
            "created_at": "2039-02-27T09:46:49.965Z",
            "status": "dolorum"
        },
        {
            "name": "qui",
            "created_at": "2010-12-07T06:32:48.393Z",
            "status": "nobis",
            "id": "e4ba9221-b667-4739-8633-d809c27d7ed3"
        }
    ],
    "created_at": "2002-04-13T00:53:20.094Z",
    "id": "5042f1aa-3925-4d90-8049-cef5840a6f4d",
    "description": "Non itaque beatae repudiandae non earum pariatur nisi aliquid numquam. Quo iure perspiciatis necessitatibus necessitatibus. Sed rem fugit harum laudantium. Perspiciatis tempore soluta velit. Minus corrupti incidunt libero explicabo eius."
}

Request

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

Examples

Responses

🟢200OK
application/json
Body

Modified at over 1 year ago
Previous
Chat with a Knowledge Bot
Next
Get All Knowledge Bots
Built with