Collections
Manage groups of logical Library Assets and their images.
Returns your collections after name, tag, and date filters. Equal creation dates use the collection ID as a stable tie-break.
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.
The page size. Defaults to 50; the API reduces values above 100 to 100.
50The opaque continuation token. Keep the same filters and sort order.
The literal case-insensitive substring of the collection name.
The exact tags to match. Repeat this parameter for ALL matching tags.
The creation-time order. Possible enum values: newest shows the newest first; oldest shows the oldest first.
newestPossible values: The created from bound in epoch milliseconds. From is inclusive and to is exclusive.
The created to bound in epoch milliseconds. From is inclusive and to is exclusive.
The updated from bound in epoch milliseconds. From is inclusive and to is exclusive.
The updated to bound in epoch milliseconds. From is inclusive and to is exclusive.
The requested collection data.
A filtered page of collections.
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
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
}
}Creates an empty collection with the supplied name and optional tags. Names need not be unique.
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.
The collection name and optional tags.
The collection name, from 1 to 100 Unicode characters.
The display tags. Each tag has 1 to 32 Unicode characters after trim. Case-insensitive duplicates return 400.
The requested collection data.
A named group of logical Library Assets.
The collection ID.
The collection name, from 1 to 100 Unicode characters.
The display tags. Each tag has 1 to 32 Unicode characters after trim. Case-insensitive duplicates return 400.
The number of stored member references, including unavailable members.
The preview URL. It travels with thumbnail_url_expires_at.
Time represented as milliseconds since the Unix epoch.
Time represented as milliseconds since the Unix epoch.
Time represented as milliseconds since the Unix epoch.
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
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
}Returns membership for the Library Assets in the request. It does not list every Collection.
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.
The member IDs to add or inspect.
The IDs of Library Assets, from 1 to 100 per request.
The requested collection data.
Membership in distinct request order.
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
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"
]
}
]
}Returns one collection in your account.
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.
The collection ID.
The requested collection data.
A named group of logical Library Assets.
The collection ID.
The collection name, from 1 to 100 Unicode characters.
The display tags. Each tag has 1 to 32 Unicode characters after trim. Case-insensitive duplicates return 400.
The number of stored member references, including unavailable members.
The preview URL. It travels with thumbnail_url_expires_at.
Time represented as milliseconds since the Unix epoch.
Time represented as milliseconds since the Unix epoch.
Time represented as milliseconds since the Unix epoch.
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
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
}Removes the collection and its independent thumbnail. Its assets remain available.
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.
The collection ID.
The operation completed.
No content
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
DELETE /api/public/v1/collections/{collection_id} HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Changes name and tags together. Omitted fields keep their value. An empty array clears the tags.
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.
The collection ID.
The fields to change together. Supply name or tags. An empty tags array removes all tags.
The collection name, from 1 to 100 Unicode characters.
The display tags. Each tag has 1 to 32 Unicode characters after trim. Case-insensitive duplicates return 400.
The requested collection data.
A named group of logical Library Assets.
The collection ID.
The collection name, from 1 to 100 Unicode characters.
The display tags. Each tag has 1 to 32 Unicode characters after trim. Case-insensitive duplicates return 400.
The number of stored member references, including unavailable members.
The preview URL. It travels with thumbnail_url_expires_at.
Time represented as milliseconds since the Unix epoch.
Time represented as milliseconds since the Unix epoch.
Time represented as milliseconds since the Unix epoch.
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
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
}Returns members in insertion order, with physical file IDs and project IDs. The unavailable_library_asset_ids field names members that cannot resolve.
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.
The collection ID.
The page size. Defaults to 50; the API reduces values above 100 to 100.
50The opaque continuation token. Keep the same filters and sort order.
The requested collection data.
An insertion-ordered member page. Continue while has_more is true, including after an empty data array.
The references that this page cannot resolve.
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
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"
]
}Adds distinct live assets from your account. The response reports committed additions and already-present IDs. A collection can hold 10000 members.
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.
The collection ID.
The member IDs to add or inspect.
The IDs of Library Assets, from 1 to 100 per request.
The requested collection data.
The collection and committed member counts.
The number of distinct IDs added.
The number of distinct IDs already present.
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
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
}Removes a member reference and keeps the collection thumbnail.
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.
The collection ID.
The logical Library Asset ID.
The operation completed.
No content
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
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
Saves raw PNG or WebP bytes as an independent image. The limit is 10 MiB and 4096 pixels per edge.
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.
The collection ID.
The operation completed.
No content
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
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
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.
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.
The collection ID.
The PNG preview. No saved image changes.
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
POST /api/public/v1/collections/{collection_id}/thumbnail/generate HTTP/1.1
Host: api.marso.app/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryReturns direct image inputs for mesh generation, including multiview components. PBR members use their geometry inputs. Download the physical IDs through the asset endpoints.
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.
The collection ID.
The page size. Defaults to 50; the API reduces values above 100 to 100.
50The opaque continuation token. Keep the same filters and sort order.
The requested collection data.
The source references for one member page. Downloads use the existing asset endpoints and their plan requirements.
The IDs that this page cannot resolve.
The request, filters, cursor, or image is invalid.
The API key is missing, invalid, or revoked. Possible error codes:
API_KEY_MISSING, API_KEY_INVALID, API_KEY_REVOKED, or UNAUTHORIZED.
The account does not have the plan feature required by this operation
(PLAN_FEATURE_REQUIRED). The Free plan lacks api_access, so every
operation refuses a Free account with this response. An account that
lacks api_pbr or api_asset_download also gets it on the routes that
need those features.
The collection or an added asset does not exist in your account.
Rate limit exceeded (RATE_LIMITED). The response includes a Retry-After
header with the number of seconds to wait before retrying, plus the
X-RateLimit-* headers. Those headers are also present on successful (2xx)
responses so a client can pace itself.
The API could not complete the request. Retry later.
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
