CueFrame
Api

Refresh the guarded registry metadata snapshot

Resolves upstream main once to an exact source commit and captures coherent inventory/manifests with the pinned client. Publication requires the observed snapshot and head revision (both null for first selection). Refresh never edits owned source heads or placements. Metadata and preview changes are reported independently; actual source-byte changes remain unobserved until explicit acquisition.

POST
/v1/registry/refresh

Authorization

AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/registry/refresh" \  -H "Content-Type: application/json" \  -d '{    "commandId": "string",    "expectedSnapshot": {      "registryOrigin": "string",      "sourceCommit": "string",      "inventorySha256": "string",      "cliArtifactSha256": "string"    },    "expectedRevision": 0  }'
{  "commandId": "string",  "snapshot": {    "registryOrigin": "string",    "sourceCommit": "string",    "inventorySha256": "string",    "cliArtifactSha256": "string"  },  "previousSnapshot": {    "registryOrigin": "string",    "sourceCommit": "string",    "inventorySha256": "string",    "cliArtifactSha256": "string"  },  "revision": 0,  "completeness": "complete",  "warnings": [    "string"  ],  "diff": {    "added": [      "string"    ],    "removed": [      "string"    ],    "changed": [      {        "name": "string",        "metadata": true,        "variables": true,        "dependencies": true,        "preview": true      }    ],    "sourceChanges": "unobserved-until-acquisition"  }}
{  "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    }  }}
{  "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    }  }}
{  "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    }  }}
{  "error": {    "code": "string",    "message": "string",    "contract": "string",    "contractVersion": "string",    "details": {      "property1": null,      "property2": null    }  }}