MCP tool · Sleep sessions
Rate nights good or bad
Rates your own nights as good or bad (the session ids come from get_insights).
rate_sleep_sessions Send session_id (one) or session_ids (several) with one rating. Each id gets its own result { session_id, ok, status }: status rated, not_found (not one of your nights) or deleted.
Input
One arguments object with these fields.
Arguments object
ratingenum<string> requiredgood or bad
Possible values:
goodbadsession_idstring (uuid)One night: a session_id from get_insights.
session_idsstring[] (uuid) min items 1max items 200Several nights: session_ids from get_insights.
Output
Result JSON
resultsobject[] required
Example arguments
JSON
POST /v1/sleep-sessions/ratings