Lists entities within a folder or at the workspace root. Returns folders, prompts, snippets, workflows, datasets, evaluations, AB tests, and input variable sets. Supports filtering by entity type, searching by name, flattening the folder hierarchy, and optionally including entity metadata.
The ID of the workspace to list entities from.
The ID of the folder to list entities from. If not provided, lists entities at the workspace root level.
Filter entities by type. Can be a single type or a list of types. If not provided, all entity types are returned.
FOLDER, PROMPT, SNIPPET, WORKFLOW, DATASET, REPORT, AB_TEST, INPUT_VARIABLE_SET Search entities by name (case-insensitive partial match).
When true, returns all entities recursively within the folder hierarchy instead of only direct children.
When true, includes type-specific metadata for each entity (e.g., prompt type, latest version number).
Successful Response
List of entities matching the query.