Explain a catalog metric
GET
/v1/workspaces/{workspaceId}/catalog/metrics/{metricId}/explain
const url = 'https://shareout.site/v1/workspaces/example/catalog/metrics/example/explain';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://shareout.site/v1/workspaces/example/catalog/metrics/example/explain \ --header 'Authorization: Bearer <token>'The formula, resolved query and dialect; the compiled SQL for owners/admins.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”workspaceId
required
string
Workspace ID or slug.
metricId
required
string
Query Parameters
Section titled “Query Parameters”grain
string
by
string
Comma-separated dimension names
from
string format: date
to
string format: date
Responses
Section titled “Responses”Explanation
