Storyteq icon

Storyteq

Consume the Storyteq API

List Assets

AI-generated

Summary

Fetches a paginated list of Storyteq assets from a specified domain, supporting filtering by phase, availability, and inheritance, and sorting by name, date, type, or state.

Inputs

  • domainId (required) — The ID of the domain to list assets from. Loaded dynamically from available user domains.
  • phase (required) — The phase of the asset (e.g., Active).
  • listingStyle (required) — The listing style (currently only 'Page' is available).
  • listingLimit (required) — Number of results per page (20, 50, or 100).
  • listingOffset — Index of the first record for pagination (0 by default).
  • listingSort — Attribute to sort by (default: asset-name). Options include asset-name, asset-created, asset-modified, asset-type, asset-state.
  • listingOrder — Sort direction (default: Ascending). Options: Ascending or Descending.
  • search — Simple text search on asset name.
  • available — Only include available assets (default: false includes all).
  • inherit — Include assets from all parent domains.

Output shape

A list of items, each containing asset data from the Storyteq API.

Pagination is controlled via the listingLimit and listingOffset parameters. The listingStyle is currently fixed to 'Page'.

Examples

Example 1: List the first 100 active assets from a specific domain, sorted by name in ascending order.

Domain ID: [selected], Phase: Active, Listing Style: Page, Listing Limit: 100, Listing Offset: 0, Listing Sort: Asset Name, Listing Order: Ascending

Example 2: Search for available assets containing the word 'summer' in the name.

Domain ID: [selected], Phase: Active, Search: summer, Available: true

Example 3: List assets from the current page of results for a domain, retrieving 20 assets at a time.

Domain ID: [selected], Phase: Active, Listing Style: Page, Listing Limit: 20, Listing Offset: 0

Links

Discussion