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

Update Knowledge Bot by ID

PUT
/api/knowledge-bots/{id}
Update Knowledge Bot by ID.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '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": "quod",
    "language_model": "saepe",
    "owner_id": "e24c6f66-a7ce-465e-835a-bd35247418c6",
    "documents": [
        {
            "name": "quaerat",
            "id": "a7ae5578-106e-451b-8644-23c862df769f",
            "status": "qui",
            "created_at": "2033-02-24T11:13:37.159Z"
        },
        {
            "name": "nemo",
            "created_at": "2008-03-10T01:54:21.708Z",
            "status": "doloremque",
            "id": "4a73f1d4-e198-4148-8ba4-7331a43cecde"
        },
        {
            "name": "et",
            "status": "fuga",
            "id": "c54f7b44-2232-4abc-92fa-c4449aa09fc3",
            "created_at": "2000-03-29T23:45:36.151Z"
        },
        {
            "name": "amet",
            "status": "quis",
            "id": "f6e73893-e0d2-4d4b-84fa-f50eb270c90f",
            "created_at": "2061-08-20T01:21:12.423Z"
        },
        {
            "name": "quaerat",
            "status": "earum",
            "id": "47ef06db-cd4f-4bc0-90dd-afdd5d184b4e",
            "created_at": "2059-05-11T10:19:07.612Z"
        }
    ],
    "description": "Perspiciatis pariatur repellat mollitia hic excepturi quia repudiandae quibusdam fuga. Earum temporibus veniam a. Tempora perspiciatis neque ab. Voluptates assumenda vero temporibus eum placeat voluptates dicta quas.",
    "id": "7266b12e-a5a1-4a29-a7e8-962c0961a99f",
    "created_at": "2097-08-22T23:20:06.610Z"
}

Request

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

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

Modified at 2023-12-12 06:38:11
Previous
Delete Knowledge Bot by ID
Built with