Skip to content
dimmiDocs

AI agent

Set a document aside

POST/api/v1/knowledge/sources/{source}/documents/{document}/exclusion

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.

documentstringrequired

Id of the knowledge source document, starting with kd_, such as kd_01jx2m8k4t. Find it with GET /knowledge/sources/{source}/documents.

Response 204

No Content

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.