Get screentime state
GET/screentime/get-state
Returns the current screentime state for a sessionId: the
parent-set rules, today's usage, and whether the platform may
permit play right now. Platforms call this at the start of a
session and after Screentime.LimitWarning,
Screentime.LimitReached, Screentime.QuietHoursWarning, or
Screentime.QuietHoursReached webhooks to refresh their copy
of the state.
Returns { "enabled": false } when the parent has not
configured screentime for the session, or has configured it but
disabled enforcement.
Request
Responses
- 200
- 400
Screentime state returned.
Invalid request - the response body's error field carries a
specific code (e.g. INVALID_INPUT, NOT_FOUND,
FEATURE_DISABLED).