Return the allowed day-ranges for each time interval.
Scopes: metrics:read
metrics:read
cURL
curl --request GET \ --url https://api.rapidly.tech/api/metrics/limits \ --header 'Authorization: Bearer <token>'
{ "min_date": "2023-12-25", "intervals": { "hour": { "min_days": 123, "max_days": 123 }, "day": { "min_days": 123, "max_days": 123 }, "week": { "min_days": 123, "max_days": 123 }, "month": { "min_days": 123, "max_days": 123 }, "year": { "min_days": 123, "max_days": 123 } } }
Create an Workspace Access Token in your workspace's settings page.
Successful Response
Overall date constraints returned by GET /metrics/limits.
GET /metrics/limits
Minimum date to get metrics.
Limits for each interval.
Show child attributes