Asset Library

List Assets

GET
List assets with optional filtering.

Query parameters

namestringOptional
Filter based on asset name.
is_publicbooleanOptional
Filter based on asset visibility.
data_typeenumOptional
Filter based on data type.
Allowed values: fp16fp32int4int8
asset_typeenumOptional
Filter based on engine type.
engineenumOptional
Filter based on engine.
engine_typeenumOptional
Filter based on engine type.
Allowed values: textimageaudio
limitintegerOptional
Max number of assets to return.
offsetintegerOptional
Offset to start listing assets.
get_preview_urlsbooleanOptional
Include preview URLs for assets.
asset_idsstringOptional
Filter based on asset IDs.
ownerstringOptional
Filter based on asset owener.

Response

This endpoint returns an object
data
list of objects
List of retrieved assets.
has_more
boolean
True if there are more asset to show.
total
integer
Total number of assets.
GET
1curl https://api.octoai.cloud/v1/assets
200Retrieved
1{
2 "data": [],
3 "has_more": true,
4 "total": 1
5}