Skip to main content
POST
Mint a short-lived private dev-preview capability for the caller

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

projectId
string
required
serviceId
string
required

Body

application/json
editSessionId
string

32-hex open edit session to bind; default = the caller's most recent open session on this project

Response

The capability (ok:false, code:NO_OPEN_EDIT_SESSION|SERVICE_NOT_READY when it cannot be minted)

success
boolean
ok
boolean
serviceId
string
generation
integer
previewUrl
string | null
previewPath
string | null
expiresAt
string<date-time> | null