v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01206322659.2 KB
k2

Create an on-demand backup of a knowledge base.

post/orgs/{org_id}/k2/{kb_id}/backups

Path parameters

org_idstring required
kb_idstring required

Request body

dry_runboolean

When omitted or when the request has no JSON body, treated as false.

forceboolean

Create the backup even if the knowledge base is currently served by another host. Defaults to false, in which case such requests are rejected with 409 Conflict.

Response

Backup accepted

bytes_uploadedinteger nullable
completed_atstring date-time nullable
dry_runboolean required
errorstring nullable
expires_atstring date-time nullable
idstring required
kb_idstring required
started_atstring date-time required
statusstring required
triggered_bystring required