Returns
Returns a list of Metric objects.Example
Parameters
Filter metrics created at or after this timestamp. Accepts ISO 8601 string (e.g.,
'2024-01-01T00:00:00Z') or Unix timestamp in seconds. Can be used independently or together with to_created_at.Filter metrics created at or before this timestamp. Accepts ISO 8601 string (e.g.,
'2024-12-31T23:59:59Z') or Unix timestamp in seconds. Can be used independently or together with from_created_at.Number of metrics to skip before starting to collect results. Use for pagination.Default:
0 (start from the beginning)Whether to include deprecated (legacy) metrics in the results.Default:
False — deprecated metrics are excluded. Set to True to also retrieve metrics that have been deprecated.Filter metrics by tags. Returns metrics that have at least one of the provided tags (match-any semantics).
Keyword-only. Whether to include metric revisions excluded from analytics in the results.Default:
False — excluded revisions are hidden. Set to True to also retrieve them. A lookup by id always returns the metric, excluded or not.