Skip to main content

aip_sdk.list_eval_configs

aip_sdk.list_eval_configs(workspace_id: str | None = None, page: int = 1, per_page: int = 20, client: APIClient | None = None, *, project_id: str | None = None, all_workspaces: bool = False) -> list[EvalConfigRecord]

List eval configs from the API.

Reads your session's workspace unless you name one, and raises if none is set. Pass all_workspaces=True to read across every workspace you can access.

Parameters

  • workspace_id str | None: Optional workspace ID filter.
  • project_id str | None: Scope the listing to this project, which determines its workspace. Not combinable with workspace_id.
  • all_workspaces bool: Read across every workspace you can access.
  • page int: Page number (1-based).
  • per_page int: Items per page (max 100).
  • client APIClient | None: Optional API client.

Returns

  • list[EvalConfigRecord]: List of EvalConfigRecord objects.

Raises