Skip to main content
GET
Get component elements only.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Path Parameters

componentId
string
required

Component id whose elements should be listed.

Response

OK.

key
string
required

Unique element key. CODE_JS, CODE_TS, CODE_JS_LIB, and CODE_TS_LIB keys must be valid JavaScript identifiers and cannot be JavaScript/TypeScript reserved words. The permanent @default element cannot be renamed, deleted or replaced; its source remains editable. Only CODE_JS_LIB and CODE_TS_LIB additionally accept the reserved technical key @default: its named exports are available as lib.LibraryName.member. An ordinary DEFAULT key remains a regular node.

Required string length: 1 - 32
details
string
required

Element source/body. Required whenever an explicit element is supplied.

order
number
required

Order of the element (must be unique).

componentElementId
string | null

Existing durable element identifier. Omit it on component create because the server assigns/regenerates the id; preserve it for updates, imports, reverts, and key renames.

desc
string | null

Optional representation description, for example Swagger details. Pass null to leave it empty.

Maximum string length: 1000
metadata
object | null

Optional element metadata. Top-level keys starting with "__" are reserved for backend use.

hidden
boolean | null

Hide supporting or large-output elements from normal result projection. Omit or pass null to default to false.