cURL
curl --request GET \ --url https://api.example.com/api/metastore/catalogs/{catalog_name}/metadata \ --header 'Authorization: Bearer <token>'
{ "name": "<string>", "schema_count": 123, "table_count": 123, "view_count": 123 }
Get schema/table/view counts for a single catalog from Trino.
The access token received from the authorization server in the OAuth 2.0 flow.
Name of the catalog.
Catalog metadata retrieved successfully.
Name of the catalog
Number of schemas in the catalog
Number of tables in the catalog (excluding views)
Number of views in the catalog
Was this page helpful?