Assets

Metadata

Read asset metadata and update user-managed titles, captions, tags, and descriptions.

Metadata is part of the asset resource. Use the asset retrieval endpoint to read it and the asset PATCH endpoint to update it.

Authentication: management API endpoints require a Clerk bearer token.https://api.vyso.io/v1/...

Endpoints

GET/v1/assets/:assetId

Read metadata with an asset

  • The response includes the serialized asset and its available metadata fields.
PATCH/v1/assets/:assetId

Update metadata

  • Send only the fields that should change. The request must contain at least one supported update.
curl -i -X PATCH https://api.vyso.io/v1/assets/ASSET_ID -H "Authorization: Bearer $CLERK_SESSION_TOKEN" -H "Content-Type: application/json" -d '{"userTitle":"Campaign hero","userTags":["campaign","hero"]}'