McMain icon

McMain

Interact with McMain API

Asset → Get List

AI-generated

Summary

Retrieve a list of assets with optional filtering and pagination

Inputs

  • returnAll — Whether to return all results without a limit
  • limit — Maximum number of assets to return when returnAll is false; must be between 1 and 500
  • filters — Collection of filter criteria (e.g., Asset ID, Description) to narrow the query
  • requestOptions — Additional HTTP request settings such as batching, timeout, proxy, and SSL verification

Output shape

a paginated list of Asset objects

Pagination metadata may be included; optional fields depend on the applied filters and limit

Examples

Example 1: Fetch the first 20 assets whose description contains 'steel'

Set limit=20, add a filter with eqDesc='steel', and keep returnAll false

Discussion