Skip to main content
POST
Add an app component

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

version_id
string<uuid>
required

Unique ID of the app version.

Body

multipart/form-data
component_type
enum<string>
required

Type of component to add.

Available options:
dag,
artifact,
notebook,
serving_config
filename
string

Filename to store the uploaded file under.

file
file

The component file to upload.

properties_json
string

Optional JSON string with component metadata.

Response

Component added successfully.

Response model for app component details.

id
string<uuid>
required

Unique ID of the app component.

app_version_id
string<uuid>
required

ID of the parent app version.

component_type
string
required

Type of component.

properties_json
string | null

JSON string with component metadata.

created_by
string | null

Username of the creator.

created_date
any | null

Component creation timestamp.

updated_by
string | null

Username of the last updater.

updated_date
any | null

Timestamp when the component was last updated.