GET
/
v1
/
assets
curl --request GET \
  --url https://api.octoai.cloud/v1/assets \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "asset_type": "file",
      "created_at": "<string>",
      "data": {
        "asset_type": "<any>",
        "file_format": "unknown",
        "preview_url": "<string>",
        "version": "<string>"
      },
      "description": "<string>",
      "id": "<string>",
      "is_public": true,
      "name": "<string>",
      "size_bytes": 123,
      "status": "ready_to_upload",
      "status_details": "<string>",
      "tenant_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "has_more": true,
  "total": 123
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

name
string
is_public
boolean
default: false
data_type
enum<string>
Available options:
fp16,
fp32,
int4,
int8
asset_type
enum<string>[]
Available options:
file,
checkpoint,
lora,
textual_inversion,
vae,
volume
engine
enum<string>[]
Available options:
text/llama-2-7b,
image/controlnet-sd15,
image/controlnet-sdxl,
image/stable-diffusion-v1-5,
image/stable-diffusion-xl-v1-0,
image/stable-diffusion-ssd
limit
integer
default: 100
offset
integer
default: 0
get_preview_urls
boolean
default: false
asset_ids
string
owner
string

Response

200 - application/json
data
object[]
required

List of assets.

has_more
boolean
required

True if there are more asset to show.

total
integer
required

Total number of assets.