Returns the array of active catalogs your organization has been granted access to, including product counts and last-indexed timestamps.
GET /catalogs returns every catalog your Platform API key is authorized to access. Each item in the response array is a MerchantCatalogSummary object containing the catalog’s key, display name, source URL, current product count, and the timestamp of the most recent index run. Omit catalog from POST /products/search to search all returned catalogs, or pass a catalog key to restrict search to one catalog.
An empty array ([]) means the organization has no active catalog grants. It
is not an error condition — treat it as a normal response and prompt your users
to request catalog access via the partner portal.
import asynciofrom octogen_ai_sdk import OctogenClientasync def main() -> None: async with OctogenClient() as client: catalogs = await client.list_catalogs() for c in catalogs: print(c.catalog, c.display_name, c.product_count)asyncio.run(main())
import { OctogenClient } from "@octogen-ai/sdk";const client = new OctogenClient();const catalogs = await client.listCatalogs();for (const c of catalogs) { console.log(c.catalog, c.displayName, c.productCount);}