Read template preparation status
Check a template preparation job's status, current stage, and project id, or its error if it failed. Poll it after POST /v1/templates/{id}/instantiate until the status is ready.
API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/template-jobs/string"{ "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 } }}Read a template document GET
By org template id or public slug. A public slug this org never used is read from the catalog and stored nowhere.
Refresh the download grant for an owned template package receipt GET
The receipt owner verifies exact retained archive/document authority before issuing a short-lived URL. A project-bound editor must supply the exact ready export jobId belonging to its bound source project and receipt.