AI agent
Set a document aside
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Path parameters
sourcestringrequiredId of the knowledge source, starting with ks_, such as ks_01jx2m8k4t. Find it with GET /knowledge/sources.
documentstringrequiredId of the knowledge source document, starting with kd_, such as kd_01jx2m8k4t. Find it with GET /knowledge/sources/{source}/documents.
Response 204
No ContentNo body.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.