Project Snapshots
Create a manual project snapshot
Create an internal restore-point snapshot for a project. Snapshot-profile artifacts preserve project data and migration/auth registry state for restore; they are not downloadable and are separate from portable project archives. Also accepts the project's own service key (serviceKey), scoped to that project: a key for another project is refused 403 for every id, and a service key plus a SIWX header is refused 400 AUTH_CREDENTIALS_AMBIGUOUS. Body { label?, metadata? }; both are stored outside the tenant schema, so a restore never rewinds them.
post/projects/v1/{project_id}/snapshots
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/projects/v1/{project_id}/snapshots
- Auth: one of:
- API key in header SIGN-IN-WITH-X
- HTTP bearer
- HTTP bearer
Path parameters
project_idstring required
Run402 project ID. Public IDs are not UUIDs.
Example:prj_1741340000_0042
Request body
Response
Manual snapshot created.
Example response
{
"project_id": "prj_1741340000_0042",
"next_actions": [
{
"method": "POST",
"path": "/tiers/v1/hobby",
"auth": "x402"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.