Skip to navigation

Archive a knowledge entry

Sets status to archived rather than deleting. Requires a user credential: a workspace API key has no author to attribute the change to and receives 403. Archiving an always entry also requires a workspace admin or owner.

Requires the knowledge:write API key scope.

Authentication

AuthorizationBearer

A workspace API key, sent as Authorization: Bearer.

OR
x-api-keystring

A workspace API key, sent as x-api-key.

Path parameters

entryIdstringRequired
Knowledge base entry UUID.

Response

The archived entry.
idstringformat: "uuid"
titlestring
contentstring
categoryenum
Allowed values:
statusenum
Only active entries are given to agents.
Allowed values:
priorityenum

When agents get the entry; see Priority.

Allowed values:
sourceenum
Allowed values:
tagslist of strings
confidencestring or null
createdBystring or nullformat: "uuid"
createdAtdatetime
updatedAtdatetime

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error