For the complete documentation index, see llms.txt. This page is also available as Markdown.

Collections

Manage groups of logical Library Assets and their images.

List collections

get

Returns your collections after name, tag, and date filters. Equal creation dates use the collection ID as a stable tie-break.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Query parameters
limitinteger · min: 1Optional

The page size. Defaults to 50; the API reduces values above 100 to 100.

Default: 50
cursorstringOptional

The opaque continuation token. Keep the same filters and sort order.

qstring · max: 100Optional

The literal case-insensitive substring of the collection name.

tagstring[] · max: 20Optional

The exact tags to match. Repeat this parameter for ALL matching tags.

sortstring · enumOptional

The creation-time order. Possible enum values: newest shows the newest first; oldest shows the oldest first.

Default: newestPossible values:
created_frominteger · max: 253402300799999Optional

The created from bound in epoch milliseconds. From is inclusive and to is exclusive.

created_tointeger · max: 253402300799999Optional

The created to bound in epoch milliseconds. From is inclusive and to is exclusive.

updated_frominteger · max: 253402300799999Optional

The updated from bound in epoch milliseconds. From is inclusive and to is exclusive.

updated_tointeger · max: 253402300799999Optional

The updated to bound in epoch milliseconds. From is inclusive and to is exclusive.

Responses
200

The requested collection data.

application/json

A filtered page of collections.

get/collections
GET /api/public/v1/collections HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [
    {
      "marketplace": {
        "listing_id": "123e4567-e89b-12d3-a456-426614174000",
        "revision": 1,
        "source_type": "curated"
      },
      "collection_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "tags": [
        "text"
      ],
      "creator": {
        "user_id": "text",
        "name": "text"
      },
      "asset_count": 1,
      "thumbnail_url": "text",
      "thumbnail_url_expires_at": 1,
      "created_at": 1,
      "updated_at": 1
    }
  ],
  "pagination": {
    "next_cursor": "text",
    "has_more": true
  }
}

Create a collection

post

Creates an empty collection with the supplied name and optional tags. Names need not be unique.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Body

The collection name and optional tags.

namestring · min: 1 · max: 100Required

The collection name, from 1 to 100 Unicode characters.

tagsstring[] · max: 20Optional

The display tags. Each tag has 1 to 32 Unicode characters after trim. Case-insensitive duplicates return 400.

Responses
201

The requested collection data.

application/json

A named group of logical Library Assets.

collection_idstring · uuidRequired

The collection ID.

namestring · min: 1 · max: 100Required

The collection name, from 1 to 100 Unicode characters.

tagsstring[] · max: 20Required

The display tags. Each tag has 1 to 32 Unicode characters after trim. Case-insensitive duplicates return 400.

asset_countintegerRequired

The number of stored member references, including unavailable members.

thumbnail_urlstringOptional

The preview URL. It travels with thumbnail_url_expires_at.

thumbnail_url_expires_atinteger · int64Optional

Time represented as milliseconds since the Unix epoch.

created_atinteger · int64Required

Time represented as milliseconds since the Unix epoch.

updated_atinteger · int64Required

Time represented as milliseconds since the Unix epoch.

post/collections
POST /api/public/v1/collections HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "name": "text",
  "tags": [
    "text"
  ]
}
{
  "marketplace": {
    "listing_id": "123e4567-e89b-12d3-a456-426614174000",
    "revision": 1,
    "source_type": "curated"
  },
  "collection_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "tags": [
    "text"
  ],
  "creator": {
    "user_id": "text",
    "name": "text"
  },
  "asset_count": 1,
  "thumbnail_url": "text",
  "thumbnail_url_expires_at": 1,
  "created_at": 1,
  "updated_at": 1
}

Read collection membership

post

Returns membership for the Library Assets in the request. It does not list every Collection.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Body

The member IDs to add or inspect.

library_asset_idsstring · uuid[] · min: 1 · max: 100Required

The IDs of Library Assets, from 1 to 100 per request.

Responses
200

The requested collection data.

application/json

Membership in distinct request order.

post/collections/membership
POST /api/public/v1/collections/membership HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 62

{
  "library_asset_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}
{
  "data": [
    {
      "library_asset_id": "123e4567-e89b-12d3-a456-426614174000",
      "collection_ids": [
        "123e4567-e89b-12d3-a456-426614174000"
      ]
    }
  ]
}

Retrieve a collection

get

Returns one collection in your account.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Path parameters
collection_idstring · uuidRequired

The collection ID.

Responses
200

The requested collection data.

application/json

A named group of logical Library Assets.

collection_idstring · uuidRequired

The collection ID.

namestring · min: 1 · max: 100Required

The collection name, from 1 to 100 Unicode characters.

tagsstring[] · max: 20Required

The display tags. Each tag has 1 to 32 Unicode characters after trim. Case-insensitive duplicates return 400.

asset_countintegerRequired

The number of stored member references, including unavailable members.

thumbnail_urlstringOptional

The preview URL. It travels with thumbnail_url_expires_at.

thumbnail_url_expires_atinteger · int64Optional

Time represented as milliseconds since the Unix epoch.

created_atinteger · int64Required

Time represented as milliseconds since the Unix epoch.

updated_atinteger · int64Required

Time represented as milliseconds since the Unix epoch.

get/collections/{collection_id}
GET /api/public/v1/collections/{collection_id} HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "marketplace": {
    "listing_id": "123e4567-e89b-12d3-a456-426614174000",
    "revision": 1,
    "source_type": "curated"
  },
  "collection_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "tags": [
    "text"
  ],
  "creator": {
    "user_id": "text",
    "name": "text"
  },
  "asset_count": 1,
  "thumbnail_url": "text",
  "thumbnail_url_expires_at": 1,
  "created_at": 1,
  "updated_at": 1
}

Delete a collection

delete

Removes the collection and its independent thumbnail. Its assets remain available.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Path parameters
collection_idstring · uuidRequired

The collection ID.

Responses
204

The operation completed.

No content

delete/collections/{collection_id}
DELETE /api/public/v1/collections/{collection_id} HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Update a collection

patch

Changes name and tags together. Omitted fields keep their value. An empty array clears the tags.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Path parameters
collection_idstring · uuidRequired

The collection ID.

Body

The fields to change together. Supply name or tags. An empty tags array removes all tags.

namestring · min: 1 · max: 100Optional

The collection name, from 1 to 100 Unicode characters.

tagsstring[] · max: 20Optional

The display tags. Each tag has 1 to 32 Unicode characters after trim. Case-insensitive duplicates return 400.

Responses
200

The requested collection data.

application/json

A named group of logical Library Assets.

collection_idstring · uuidRequired

The collection ID.

namestring · min: 1 · max: 100Required

The collection name, from 1 to 100 Unicode characters.

tagsstring[] · max: 20Required

The display tags. Each tag has 1 to 32 Unicode characters after trim. Case-insensitive duplicates return 400.

asset_countintegerRequired

The number of stored member references, including unavailable members.

thumbnail_urlstringOptional

The preview URL. It travels with thumbnail_url_expires_at.

thumbnail_url_expires_atinteger · int64Optional

Time represented as milliseconds since the Unix epoch.

created_atinteger · int64Required

Time represented as milliseconds since the Unix epoch.

updated_atinteger · int64Required

Time represented as milliseconds since the Unix epoch.

patch/collections/{collection_id}
PATCH /api/public/v1/collections/{collection_id} HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "name": "text",
  "tags": [
    "text"
  ]
}
{
  "marketplace": {
    "listing_id": "123e4567-e89b-12d3-a456-426614174000",
    "revision": 1,
    "source_type": "curated"
  },
  "collection_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "tags": [
    "text"
  ],
  "creator": {
    "user_id": "text",
    "name": "text"
  },
  "asset_count": 1,
  "thumbnail_url": "text",
  "thumbnail_url_expires_at": 1,
  "created_at": 1,
  "updated_at": 1
}

List collection members

get

Returns members in insertion order, with physical file IDs and project IDs. The unavailable_library_asset_ids field names members that cannot resolve.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Path parameters
collection_idstring · uuidRequired

The collection ID.

Query parameters
limitinteger · min: 1Optional

The page size. Defaults to 50; the API reduces values above 100 to 100.

Default: 50
cursorstringOptional

The opaque continuation token. Keep the same filters and sort order.

Responses
200

The requested collection data.

application/json

An insertion-ordered member page. Continue while has_more is true, including after an empty data array.

unavailable_library_asset_idsstring · uuid[]Required

The references that this page cannot resolve.

get/collections/{collection_id}/assets
GET /api/public/v1/collections/{collection_id}/assets HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [
    {
      "marketplace": {
        "listing_id": "123e4567-e89b-12d3-a456-426614174000",
        "revision": 1,
        "source_type": "curated",
        "publisher": {
          "id": "text",
          "name": "text"
        },
        "metadata": {
          "display_name": "text",
          "description_short": "text",
          "description_long": "text",
          "category": "text",
          "subcategory": "text",
          "search_aliases": [
            "text"
          ],
          "tags": [
            "text"
          ],
          "materials": [
            "text"
          ],
          "makers": {
            "model_maker": "text",
            "physics_maker": "text",
            "physics_checker": "text",
            "texturing": "text"
          },
          "moving_parts_count": 1,
          "articulation_types": [
            "text"
          ],
          "vertices_count": 1,
          "polygon_count": 1,
          "file_size_bytes": 1,
          "est_height_meters": 1,
          "est_width_meters": 1,
          "est_depth_meters": 1,
          "semantic_scale": "text"
        },
        "previews": {
          "primary_image": {
            "url": "text",
            "content_type": "text",
            "size_bytes": 1
          },
          "multiview": [
            {
              "label": "three-quarter",
              "media": {
                "url": "text",
                "content_type": "text",
                "size_bytes": 1
              }
            }
          ],
          "banner": {
            "url": "text",
            "content_type": "text",
            "size_bytes": 1
          },
          "physics_video": {
            "url": "text",
            "content_type": "text",
            "size_bytes": 1
          },
          "qc_report": {
            "url": "text",
            "content_type": "text",
            "size_bytes": 1
          },
          "data_sheet": {
            "url": "text",
            "content_type": "text",
            "size_bytes": 1
          }
        },
        "license": {
          "id": "text",
          "version": "text",
          "name": "text",
          "document": {
            "url": "text",
            "content_type": "text",
            "size_bytes": 1
          }
        }
      },
      "library_asset_id": "text",
      "primary_asset_id": "text",
      "kind": "MESH",
      "name": "text",
      "project_ids": [
        "123e4567-e89b-12d3-a456-426614174000"
      ],
      "has_pbr": true,
      "generation_3d_model": "text",
      "thumbnail_url": "text",
      "thumbnail_url_expires_at": null,
      "created_at": 1,
      "component_asset_ids": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "storage_state": "AVAILABLE"
    }
  ],
  "pagination": {
    "next_cursor": "text",
    "has_more": true
  },
  "unavailable_library_asset_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

Add collection members

post

Adds distinct live assets from your account. The response reports committed additions and already-present IDs. A collection can hold 10000 members.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Path parameters
collection_idstring · uuidRequired

The collection ID.

Body

The member IDs to add or inspect.

library_asset_idsstring · uuid[] · min: 1 · max: 100Required

The IDs of Library Assets, from 1 to 100 per request.

Responses
200

The requested collection data.

application/json

The collection and committed member counts.

added_countintegerRequired

The number of distinct IDs added.

skipped_countintegerRequired

The number of distinct IDs already present.

post/collections/{collection_id}/assets
POST /api/public/v1/collections/{collection_id}/assets HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 62

{
  "library_asset_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}
{
  "collection": {
    "marketplace": {
      "listing_id": "123e4567-e89b-12d3-a456-426614174000",
      "revision": 1,
      "source_type": "curated"
    },
    "collection_id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "tags": [
      "text"
    ],
    "creator": {
      "user_id": "text",
      "name": "text"
    },
    "asset_count": 1,
    "thumbnail_url": "text",
    "thumbnail_url_expires_at": 1,
    "created_at": 1,
    "updated_at": 1
  },
  "added_count": 1,
  "skipped_count": 1
}

Remove a collection member

delete

Removes a member reference and keeps the collection thumbnail.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Path parameters
collection_idstring · uuidRequired

The collection ID.

library_asset_idstring · uuidRequired

The logical Library Asset ID.

Responses
204

The operation completed.

No content

delete/collections/{collection_id}/assets/{library_asset_id}
DELETE /api/public/v1/collections/{collection_id}/assets/{library_asset_id} HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Save a collection thumbnail

put

Saves raw PNG or WebP bytes as an independent image. The limit is 10 MiB and 4096 pixels per edge.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Path parameters
collection_idstring · uuidRequired

The collection ID.

Body
string · binaryOptional
Responses
204

The operation completed.

No content

put/collections/{collection_id}/thumbnail
PUT /api/public/v1/collections/{collection_id}/thumbnail HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: image/png
Accept: */*
Content-Length: 8

"binary"

No content

Generate a collection preview

post

Returns a 1280 by 720 PNG from the first 8 live members in a 4 by 2 grid. Missing or invalid thumbnails leave blank tiles. This changes no saved image. Save the preview with PUT /collections/{collection_id}/thumbnail.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Path parameters
collection_idstring · uuidRequired

The collection ID.

Responses
200

The PNG preview. No saved image changes.

image/png
string · binaryOptional
post/collections/{collection_id}/thumbnail/generate
POST /api/public/v1/collections/{collection_id}/thumbnail/generate HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binary

List direct source images

get

Returns direct image inputs for mesh generation, including multiview components. PBR members use their geometry inputs. Download the physical IDs through the asset endpoints.

Authorizations
AuthorizationstringRequired

API key created in the Marso Studio dashboard. The value has the form mxr_live_<entropy> and is sent as a Bearer token in the Authorization header.

Path parameters
collection_idstring · uuidRequired

The collection ID.

Query parameters
limitinteger · min: 1Optional

The page size. Defaults to 50; the API reduces values above 100 to 100.

Default: 50
cursorstringOptional

The opaque continuation token. Keep the same filters and sort order.

Responses
200

The requested collection data.

application/json

The source references for one member page. Downloads use the existing asset endpoints and their plan requirements.

unavailable_library_asset_idsstring · uuid[]Required

The IDs that this page cannot resolve.

get/collections/{collection_id}/source-images
GET /api/public/v1/collections/{collection_id}/source-images HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [
    {
      "library_asset_id": "123e4567-e89b-12d3-a456-426614174000",
      "source_images": [
        {
          "asset_id": "123e4567-e89b-12d3-a456-426614174000",
          "input_role": "text",
          "source_library_asset_id": "123e4567-e89b-12d3-a456-426614174000"
        }
      ],
      "unavailable_source_library_asset_ids": [
        "123e4567-e89b-12d3-a456-426614174000"
      ]
    }
  ],
  "pagination": {
    "next_cursor": "text",
    "has_more": true
  },
  "unavailable_library_asset_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

Last updated