CueFrame
Api

Retry a failed template preparation

Resume a failed template preparation from the stage that failed, re-entering import if processing failed. Only failed jobs restart; a job in any other state is returned unchanged, so read its status first.

POST
/v1/template-jobs/{jobId}/retry

Authorization

AuthorizationBearer <token>

API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.

In: header

Path Parameters

jobId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/template-jobs/string/retry"
{  "jobId": "string",  "projectId": "string",  "mode": "instantiate",  "sourceProjectId": "string",  "templateId": "string",  "templateVersion": 1,  "package": {    "receiptId": "string",    "archiveSha256": "string",    "archiveBytes": 1,    "documentSha256": "string"  },  "status": "preparing",  "stage": "resolving",  "templateRef": "string",  "documentSha256": "string",  "errorCode": "string",  "errorMessage": "string",  "createdAt": "string",  "updatedAt": "string"}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "x402Version": 2,  "accepts": [    {}  ],  "error": "string"}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}