POST
curl --request POST \
  --url https://app.docs.bynesoft.com/api/knowledge-base/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "name": "string",
  "paragraphs": {
    "chunkOverlap": 400,
    "chunkSize": 800
  },
  "type": "query"
}'
{
  "id": "<string>",
  "name": "<string>",
  "type": "query",
  "paragraphs": {
    "chunkSize": 123,
    "chunkOverlap": 123
  },
  "dateCreated": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json
name
string | null
type
enum<string>
default:query
Available options:
query,
tech
paragraphs
object

Response

200
application/json
Successful Response
id
string
required
name
string
required
type
enum<string>
required
Available options:
query,
tech
paragraphs
object
required
dateCreated
string
required