younifyd
Menu

List Assets

List assets

GET/v1/spaces/{space_id}/assets

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the List Assets action (under Assets).
  3. Fill in the fields below, then reference the result from later steps as {{listAssets.response.data}}.

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

Query parameters

in_folderinteger

Asset folder ID to filter by; -1 returns deleted assets.

sort_bystring

One of created_at, updated_at, short_filename or content_length with :asc or :desc.

is_privateboolean

Only display private assets.

searchstring

Filter by filename.

by_altstring

Filter by alt text.

by_copyrightstring

Filter by copyright.

by_titlestring

Filter by title.

with_tagsstring

Comma-separated tags (OR).

pageinteger

Page number to return (default 1).

per_pageinteger

Entries per page (default 25, max 100).

Response

Returns 200 with an object. Read it in later steps with {{listAssets.response.data.<field>}}.

assetsarray<object>
json
{
  "assets": [
    {}
  ]
}

Need more? See the Storyblok guide for connection setup and behaviour shared by every action.