This endpoint returns metrics filtered by client access. Client-created metrics are only visible to the specific client that created them, while shared metrics are visible to all clients.
Authentication
All API requests must include your API key in the Authorization header. Get your API token when creating a data app - see our data app creation guide for details. Finding your API token: For detailed instructions, see the API Token guide.Headers
Bearer token for API authentication. Use your API key from the data app.
Query Parameters
The embed configuration ID to fetch metrics for. This identifies which embedded dashboard’s metrics you want to retrieve.
The client identifier for filtering metrics. Determines which metrics the client has access to based on their permissions and ownership.
Enable pagination to limit the number of results returned. Pass
"true" to enable pagination with a limit of 10 per page.Note: Query parameters are passed as strings. Use "true" or "false".Page number for pagination (1-based). Only used when isPagination is
"true". Must be a numeric string (e.g., "1", "2").When set to
"true", returns only the list of metrics — excluding elements and summaries. Pass "false" or omit this parameter to return all items, including non-metric components.Note: Query parameters are passed as strings. Use "true" or "false".Filter metrics by the user identifier who created them. When provided, only returns metrics created by the specified user.
Response
Array of metric objects available for the specified embed and client.
Display name of the metric.
Unique identifier for the metric that can be used in query operations.
Indicates whether the metric is published and visible to end users.
true: Metric is published and visiblefalse: Metric is unpublished (hidden but not deleted)- System-created metrics (without a creator) are always
true
The identifier of the user who created this metric, or
null for system-created metrics.- Non-null value: Indicates a user-created metric with the creator’s identifier
null: Indicates a system-created or admin-created metric- Useful for implementing “My Metrics” filtering and ownership displays
Error object returned only when the request fails. Not present in successful responses.
Examples
HTTP Status Code Summary
| Status Code | Description |
|---|---|
200 | OK - Metrics retrieved successfully |
400 | Bad Request - Invalid request parameters, missing required fields, invalid API key, or embed ID not found |
Possible Errors
| Error Code | HTTP Status | Description |
|---|---|---|
INVALID_DATA_APP_API_KEY | 400 | Invalid or expired API key |
EMBED_PARAM_ERROR | 400 | Embed ID not found for data app |
INVALID_REQUEST_BODY | 400 | Missing or invalid required parameters |
Client Access Control
Metric Visibility Rules
- Shared Metrics: Available to all clients within the embed
- Client-Created Metrics: Only visible to the client that created them
- Access Settings: Controlled by the embed configuration’s access settings

