Skip to main content
POST
Create component.

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Name is only used for the presentation.

Required string length: 1 - 60
type
string
required

Type of component must be one of: CODE_JS,CODE_TS,CODE_JS_LIB,CODE_TS_LIB,JSON_VALIDATOR,CUSTOM_NODEJS.

active
boolean
required

Activate upon creation.

category
string

Category.

Maximum string length: 32
desc
string

Description.

metadata
object

Optional resource metadata. Values may use any JSON type. Maximum 16 KiB and 64 top-level keys. Top-level keys starting with "__" are reserved for backend use.

async
boolean

Wait for custom component to be deployed.

elements
object[]

Initial component elements. Server regenerates componentElementId values on create. When omitted, the component is created with the default starter content.

Response

Created.

Last modified on September 5, 2026