Template drafts
Open a test instance of a draft state (a disposable session workspace)
Opens a layered session workspace (purpose template_test) on the draft base whose layer is a copy of the draft state; its own writes never reach the draft. Without state_id the running draft is captured first (the instance’s open depends on that layer_snapshot; origin.checkpoint_id is filled when the cell places it); a suspended draft’s current checkpoint is used instead. The instance ends on close(), idle or draft discard. 202 OpenResponse. 402/403/429 as for open (admitted like a start: a concurrent_workspaces refusal is queued up to 10 s, then 429 quota_exceeded with Retry-After). Supports Idempotency-Key.
post/v1/templates/{slug}/draft/test-instances
Request
- Base URL: https://api.shardflux.dev
- URL: https://api.shardflux.dev/v1/templates/{slug}/draft/test-instances
- Auth: HTTP bearer
Path parameters
slugstring required
Request body
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.