aip_sdk.list_embedding_configs
aip_sdk.list_embedding_configs(page: int = 1, per_page: int = 100, *, workspace_id: str | None = None, client: APIClient | None = None, all_workspaces: bool = False) -> list[RegisteredEmbeddingConfig]
List registered embedding configs, newest first.
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
pageint: 1-based page number.per_pageint: Page size.workspace_idstr | None: Restrict to one workspace.clientAPIClient | None: Optional pre-configured API client.all_workspacesbool: Read across every workspace you can access.
Returns
list[RegisteredEmbeddingConfig]: The registered configs on the requested page.
Raises
ForbiddenError: Ifworkspace_idnames a workspace the caller cannot access.InvalidArgumentError: If bothworkspace_idandall_workspacesare given.NoWorkspaceSelectedError: No workspace was passed, none is configured for the session, andall_workspaceswas not set.