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_idstr | None: Optional workspace ID filter.project_idstr | None: Scope the listing to this project, which determines its workspace. Not combinable withworkspace_id.all_workspacesbool: Read across every workspace you can access.pageint: Page number (1-based).per_pageint: Items per page (max 100).clientAPIClient | None: Optional API client.
Returns
list[EvalConfigRecord]: List of EvalConfigRecord objects.
Raises
AuthError: If credentials are missing or invalid.ForbiddenError: Ifworkspace_idnames a workspace you cannot access.InvalidArgumentError: If bothworkspace_idandall_workspacesare given.NoWorkspaceSelectedError: No workspace was passed, none is configured for the session, andall_workspaceswas not set.