Skip to content
dimmiDocs

AI agent

Turn a source into articles

POST/api/v1/knowledge/sources/{source}/imports

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:write ability

Path parameters

sourcestringrequired

Id of the knowledge source, starting with ks_, such as ks_01jx2m8k4t. Find it with GET /knowledge/sources.

Body

application/json
help_center_idstringrequired

Help center (hc_...) the articles go to. Find it with GET /help-centers.

Minimum length: 1

Response 202

Accepted

No body.

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.