Assets

List assets

get
Authorizations
X-User-IdstringRequired

HIVO User ID

X-Api-KeystringRequired

HIVO API Key

Query parameters
sortstring · enumOptional

Sort key. Allowed values are createdAt, -createdAt. Defaults to -createdAt.

Possible values:
limitinteger · min: 1 · max: 256Optional

Maximum number of assets to return (1–256). Defaults to 32.

Default: 32
skipinteger · max: 65536Optional

Number of assets to skip (pagination) (0–65536). Defaults to 0.

Default: 0
includeThumbnailsbooleanOptional

When true, each listed asset may include a short‑lived signed thumbnail link under links.thumbnail. The thumbnail link is a JSON:API link object with href and meta.version.

filter[search]string · max: 256Optional

General search string (max 256 chars). Prefix‑matches asset name and tags (case‑insensitive).

filter[id]string[]Optional

Asset ID filter. May be repeated and/or provided as a comma‑separated list. Max 512 IDs.

filter[path]string · max: 512Optional

Exact path match (max 512 chars). When combined with filter[collectionId], matches collection‑scoped paths.

filter[pathPrefix]string · max: 512Optional

Path prefix match (max 512 chars). When combined with filter[collectionId], matches collection‑scoped prefixes.

filter[sensitive]booleanOptional

Filters by sensitive status. May require additional permissions.

filter[archived]booleanOptional

true returns archived assets; false (default) returns non‑archived. May require additional permissions.

filter[licenseExpired]booleanOptional

Filters assets with expired licenses. May require additional permissions.

filter[approved]booleanOptional

Filters by approval status.

filter[favoriteBy]stringOptional

User ID who favorited the asset (ObjectId).

filter[collectionId]stringOptional

Collection ID to filter within (ObjectId).

filter[clientId]stringOptional

Admin‑only. Client ID to filter within (ObjectId).

filter[batchId]string · max: 256Optional

Batch identifier (max 256 chars).

filter[createdMin]integerOptional

Created at (Unix seconds) lower bound.

filter[createdMax]integerOptional

Created at (Unix seconds) upper bound.

filter[sku]string · max: 128Optional

SKU (max 128 chars).

filter[metadata.KEY]stringOptional

Metadata filter for arbitrary keys. Replace KEY with the metadata key you wish to filter on. Value is matched case‑insensitively.

Responses
chevron-right
200

OK

application/json
get
/v1/assets

Get asset

get
Authorizations
X-User-IdstringRequired

HIVO User ID

X-Api-KeystringRequired

HIVO API Key

Path parameters
assetIdstringRequired

Asset ID

Responses
chevron-right
200

OK

application/json
get
/v1/assets/{assetId}

Download asset version

get
Authorizations
X-User-IdstringRequired

HIVO User ID

X-Api-KeystringRequired

HIVO API Key

Path parameters
assetIdstringRequired

Asset ID

Query parameters
versionstringOptional

Version name to download. Defaults to original.

Default: original
attachmentstring · enumOptional

Set to 1 for Content‑Disposition attachment or 0 for inline.

Default: 1Possible values:
inlinestring · enumOptional

Inverse of attachment. Set to 1 for inline or 0 for attachment.

Default: 0Possible values:
Responses
get
/v1/assets/{assetId}/download

No content

Last updated