Skip to main content
PATCH
Update Kb

Authorizations

Authorization
string
header
required

Your API key sent as a Bearer credential — Authorization: Bearer <api_key>, where <api_key> starts with oi_sk_ (create one via POST /v1/api-keys). Although the field is labelled 'token', paste your API key here. A dashboard JWT is also accepted on this header for the same endpoints.

Path Parameters

kb_id
string<uuid>
required

Body

application/json
name
string | null
Required string length: 1 - 255
chunk_size
integer | null
Required range: 64 <= x <= 4096
multilingual
boolean | null

Response

Successful Response

kb_id
string
required
name
string
required
chunk_size
integer
required
multilingual
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
total_tokens
integer
default:0
mode
string
default:stuff
sources
KBSourceResponse · object[]