POST
/
api
/
v1
/
knowledge-base
/
curl --request POST \
  --url https://api.camelai.com/api/v1/knowledge-base/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "content": "<string>",
  "connection_id": 123
}'
{
  "id": 123,
  "content": "<string>",
  "connection_id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "last_modified": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Serializer for KnowledgeBase entries.

Response

201 - application/json

Serializer for KnowledgeBase entries.