components

Get a component's source

Required permission: projects:read

get/v1/components/{id}/source

Request

  • Base URL: https://api.cueframe.ai
  • URL: https://api.cueframe.ai/v1/components/{id}/source
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.cueframe.ai/api/auth/mcp/authorize, token URL https://api.cueframe.ai/api/auth/mcp/token, scopes: projects:read)
    • API key in header PAYMENT-SIGNATURE

Path parameters

idstring required

Query parameters

builtinCollection'native' | 'curated-definitions'
sourceVersionIdstring

Response

Component source snapshot (native template, or a retired TSX module) + ownership provenance.

tsxSourcestring
namestring
descriptionstring
propSchemaobject required
origin'customer-owned' | 'server-native'
ejectedFromstring
tokensobject
examplesobject[]

Usage examples, as authored. A built-in primitive projects {name, mood?, params?, description?}; an authored component's examples are whatever it wrote, which is why the item is open. One shape for both directions: what you write here is what you read back.

durationInFramesnumber
idstring required
source'default' | 'installed' required
metadataStatus'unresolved'

Historical source-only reads omit unavailable discovery name/description instead of borrowing current metadata.

sourceVersionIdstring required

Exact immutable source pin; distinct from bundle revisions.

Changes

No recorded changes to this operation across all 1 revision of this API.