oneAI icon

oneAI

Interact with the oneAI API

Space → List Files

AI-generated

Summary

Lists files in the specified OneAI space, optionally filtering by embedding status or path search. Choose whether to return all results or cap the response at a limit.

Inputs

  • Space ID (required) — ID of the space whose files to list.
  • Return All — When enabled, requests all matching files; otherwise, returns up to the configured limit (default 50, range 1–500).
  • Filters — Optionally filter by embedding status (default done) and/or search term matching file paths.

Output shape

a list of file records

The source pack shows only the execute function signature, so pagination and the exact file record fields are not visible.

Links

Discussion