Sign in

Create focus session

documented

Create a new focus session.

POST \/api\/resource\/labeled_time_focus_sessionsFocus 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/labeled_time_focus_sessions" \
  -X POST \
  -H "Authorization: Bearer {{RESCUETIME_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"labeled_time_focus_session":{"label":"{{$label}}","started_at":"{{$started_at}}","duration_seconds":{{$duration_seconds}}}}'