Skip to main content

Create Asset Relationship

POST 

/api/v1/assets/:asset_id/relationships

Create (idempotent upsert) a relationship between the path asset and another asset.

REQUEST PARAMETERS​

ParameterTypeDescription
target_asset_idstringRequired. The other asset to relate to.
relationship_typestringRequired. parent_child, related, or a custom type.
directionstringparent_child only. child (default) = path asset is the parent; parent = path asset is child.
subtypestringOptional. e.g. auto_enhance, remove_background, manual.
notestringOptional free-text note.

Edit access is required on both assets.

Request​

Responses​

The created/updated relationship