JavaScript client

Assets

List, retrieve, update, and complete image assets.

const page = await client.assets.list({
  galleryId: 'gallery_uuid',
  visibility: 'public',
  limit: 50,
});

const asset = await client.assets.retrieve('asset_uuid');

await client.assets.update('asset_uuid', {
  title: 'Studio portrait',
  alt: 'Portrait in natural light',
  visibility: 'public',
});

Asset delivery URLs are returned by the API and media plane. Do not derive storage keys in application code. Asset membership is reusable across galleries.