CueFrame
Api

Resolve an exact builtin library artifact

Fetch the exact saved version of a builtin library item by collection, id, and 64-character revision hash. Call it with an identity from the component library to pin a graphic or template's source before using it.

GET
/v1/components/builtin/resolve

Authorization

AuthorizationBearer <token>

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

In: header

Query Parameters

collection*string
Length1 <= length
id*string
Length1 <= length
revision*string
Match^[a-f0-9]{64}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/components/builtin/resolve?collection=string&id=string&revision=string"
{  "card": {    "identity": {      "scope": {        "kind": "builtin",        "collection": "string"      },      "id": "string",      "revision": "string"    },    "name": "string",    "description": "string",    "category": "string",    "presentation": {      "version": 1,      "representativeTimeSeconds": 0    },    "showcase": {      "version": 1,      "presentationKey": "string",      "fixtureIdentity": "string",      "rendererIdentity": "string",      "video": {        "file": "string",        "sha256": "string",        "byteLength": 1,        "width": 1,        "height": 1,        "fps": 1,        "durationInFrames": 1      },      "poster": {        "file": "string",        "sha256": "string",        "byteLength": 1,        "frame": 0      }    },    "preview": {      "identity": "string",      "status": "unproven"    },    "kind": "definition",    "source": {      "scope": {        "kind": "builtin",        "collection": "string"      },      "componentId": "string",      "sourceVersionId": "string",      "sourceVersion": 3    },    "declaration": {      "state": "v3",      "capabilities": [        {          "kind": "clip"        }      ],      "timing": {        "defaultDuration": {          "frames": 1,          "fps": 1        },        "minDurationSec": 1,        "maxDurationSec": 1      }    },    "origin": "server-native"  },  "previewMedia": {    "status": "available",    "posterUrl": "http://example.com",    "videoUrl": "http://example.com"  },  "document": {    "property1": null,    "property2": null  },  "documentText": "string",  "documentSha256": "string",  "source": {    "property1": null,    "property2": null  },  "sources": [    {      "property1": null,      "property2": null    }  ],  "preset": {    "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    }  }}
{  "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    }  }}