Take a snapshot
snapshot_nowTake a restore-point snapshot of a project's canonical (production) commit right now. Same as the dashboard Snapshot now button. Available on every plan. Rate-limited to one per 10 minutes per project. Requires a read-write token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | the project id (from list_projects) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| status | No | present, and always "pending_approval", only when this call was parked instead of run immediately because the project's (or kad-back's own) plan-mode setting requires a human to approve it first | |
| message | Yes | ||
| plan_id | No | poll get_plan_status with this id for the eventual outcome | |
| approve_at | No | the kad.dev dashboard URL a human approves or rejects this plan from | |
| expires_in_s | No | the plan can no longer be approved after this many seconds |