Sign in

Update global state

documented

Update the global focus state (start, pause, resume, end).

POST \/api\/resource\/user_global_statesFocus Sessionsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://www.rescuetime.com/api/resource/user_global_states?key={{RESCUETIME_API_KEY}}" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"state_key": "{{$state_key}}", "state_value": "{{$state_value}}", "updated_at": "{{$updated_at}}"}'