Create Type

Creates a new type.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
propertyConfigsmap from strings to objectsRequired
descriptionstringOptional
iconNamestringOptional
workspacestringOptional

The workspace in which to create the asset type. If not provided, the asset type will be created in the default workspace for the user’s organization, if the default workspace for the organization is configured.

datasourceConfigsmap from strings to objectsOptional

The configuration outlines what a data scope should provide when added to an asset of this type. It is referenced at data scope creation time, but does not actively modify existing data scopes.

Response

This endpoint returns an object.
ridstring
namestring
propertyConfigsmap from strings to objects
createdAtdatetime
datasourceConfigsmap from strings to objects

The configuration outlines what a data scope should provide when added to an asset of this type. It is referenced at data scope creation time, but does not actively modify existing data scopes.

descriptionstringOptional
iconNamestringOptional

The name of the icon to display for the type. This name maps to a Lucide icon in the frontend.