oneAI icon

oneAI

Interact with the oneAI API

Artifact → List All

AI-generated

Summary

List artifacts optionally filtered by search term and space ID, returning either all or a limited number of results.

Inputs

  • Return All — Whether to return all results or only up to a given limit (default false).
  • Limit — Maximum number of results to return if not returning all (default 50).
  • Filters — Filters to narrow down artifacts by search term (matching artifact name or space name) and/or by space ID.

Output shape

a list of artifact records

If 'Return All' is false, returns up to the specified 'Limit' of artifacts. If true, returns all artifacts matching the filters. The output is an array of artifacts containing all available fields returned by the One AI API for artifacts.

Examples

Example 1: Retrieve up to 50 artifacts matching a search term in a specific space

Set 'Return All' to false, 'Limit' to 50, and specify 'Search' and 'Space ID' filters.

Links

Discussion