Skip to main content
GET
Browse assets

Authorizations

Authorization
string
header
required

API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_API_KEY

Query Parameters

limit
integer

Maximum number of items to return. Actual maximum depends on query type and expansion parameters.

Required range: x >= 1
Example:

50

cursor
string

Pagination cursor from previous response. Encodes the page number.

Example:

"Mg=="

q
string

Text query for hybrid semantic search

Example:

"cinematic portrait"

search_image_url
string<uri>

fal-hosted image URL to use for semantic image search

Example:

"https://v3b.fal.media/files/b/0a9b4900/PDbTGyzqRh1aijW2WQiY9_opengraph-1%20%281%29.png"

search_video_url
string<uri>

fal-hosted video URL to use for semantic video search

Example:

"https://fal.media/files/example.mp4"

media_type
enum<string>[] | null

Filter by one or more media types

Asset media type

Available options:
image,
video,
audio,
3d
Example:
source
enum<string>[] | null

Filter by one or more indexed sources

Indexed asset source

Available options:
upload,
response,
request
Example:
section
enum<string>
default:all-media

Asset library section to browse

Available options:
all-media,
uploads,
favorites,
generated
Example:

"all-media"

collection_id
string

Collection scope to browse

Example:

"d8b6elcregj72v34jr8g"

character_identifier
string[] | null

Character identifiers to use as @mention semantic filters

Example:
tag_id
string[] | null

Tag IDs to filter by

Example:
tag_mode
enum<string>
default:any

Whether tag filters match any tag or all tags

Available options:
any,
all
Example:

"any"

Response

Successfully browsed assets

Paginated asset browse response

assets
object[]
required

Asset results

next_cursor
string | null
required

Cursor for the next page

has_more
boolean
required

Whether more results are available

total_count
number | null
required

Exact total when available; null when unavailable

scope_truncated
boolean
required

True when the requested scope (favorites, tags, or collection membership) exceeded the maximum number of assets a single search can cover, so results were drawn from a partial slice of it and some matches are missing. Narrow the scope for complete results. total_count remains accurate for the results that were returned.