Return sleep cycles aggregated by a specified period.
Process raw sleep data samples aggregated sleep stage durations per period.
Request
- Base URL: https://api.fulcradynamics.com
- URL: https://api.fulcradynamics.com/data/v0/{fulcra_userid}/sleep_agg
- Auth: HTTP bearer
Path parameters
Query parameters
The starting timestamp in ISO8601 format (inclusive)
The ending timestamp in ISO8601 format (exclusive)
The output format to generate.
Minimum time interval separating distinct cycles.
Sleep stages to include. Defaults to all stages.
Sleep stages to consider as gaps in sleep cycles.
Whether to clip the data to the requested date range. This is always done when requesting data for a user other than the authenticated user.
Whether to use the cycle start or cycle end to assign cycles to periods, or to split sleep stage intervals at period boundries.
The period start and interval represented with the polars string language (see https://docs.pola.rs/api/python/dev/reference/expressions/api/polars.Expr.dt.truncate.html).
Aggregations to return.
IANA time zone to return results in
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.