Skip to main content

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

  • page int: 1-based page number.
  • per_page int: Page size.
  • workspace_id str | None: Restrict to one workspace.
  • client APIClient | None: Optional pre-configured API client.
  • all_workspaces bool: Read across every workspace you can access.

Returns

  • list[RegisteredEmbeddingConfig]: The registered configs on the requested page.

Raises