Plans

Rebuild the prototype from its screen sources with the template now in force

POST
/v1/projects/{projectSlug}/plans/{planShortId}/prototype/reassemble

Authorization

bearerAuth
AuthorizationBearer <token>

A personal API key (psk_…) or an OAuth access token (plan_at_…). Scopes: read, write.

In: header

Path Parameters

projectSlug*string

Project slug, e.g. recipe-box.

planShortId*string

Plan handle within the project, e.g. PLAN-12.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/projects/string/plans/string/prototype/reassemble"
{  "prototype": {    "status": "string",    "specsFingerprint": "string",    "path": "string",    "htmlBytes": 0,    "screens": 0,    "templateTier": "built-in",    "updatedAt": "string"  }}