Get schedule statistics
Counts schedules in the calling credential’s environment. A key may only name its own environment; a session caller that names none reads the whole workspace.
/api/v2/analytics/schedulesAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
environmentIdstring<uuid>X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
Schedule statistics and chart projections returned.
successbooleanrequiredtruedataScheduleAnalyticsrequiredShow propertiesHide properties
totalSchedulesintegerrequiredactiveSchedulesintegerrequiredpausedSchedulesintegerrequiredchartsAnalyticsChartsrequiredChart-library-ready projections of the canonical data payload.
Unauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectAuthenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectToo Many Requests - Rate limit exceeded
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
