PHASE
Guide

Sleep and light API

Compare sleep and light schedules for a flight. PHASE returns the options that fit around the traveler's commitments and identifies the ones that overlap.

What you need

  1. A browser, or a terminal with curl and jq.
  2. A sample itinerary with the origin and destination time zones.

Make your first request and see why the evening appointment rules out two options.

  • Available options are the combinations of in-flight sleep and post-arrival light exposure that fit the schedule.
  • Excluded options include the ID of the commitment that rules them out.

Quickstart

Examples

Try PHASE

Open a sample trip to try different sleep durations and fixed commitments.

Open the simulation

Email the team about an integration