← Back to Dashboard

Request Trace

Trace ID
trace_mndjyu1z_91uka2f0
Log Entries
114
Errors
0
Total Duration
13832ms
Request Timeline
07:00:02.700 PM
sync-all-devices info
Supabase client initialized for function invocation
POST /sync-all-devices
07:00:02.701 PM
sync-all-devices debug
select on connected_devices
POST /sync-all-devices
Metadata
{
  "table": "connected_devices",
  "operation": "select"
}
07:00:02.710 PM
sync-all-devices info
Request started
POST /sync-all-devices
Metadata
{
  "headers": {
    "accept": "*/*",
    "user-agent": "pg_net/0.19.5",
    "content-type": "application/json",
    "content-length": "2",
    "x-forwarded-for": "98.89.138.29,98.89.138.29, 99.82.165.72"
  },
  "http_path": "/sync-all-devices",
  "http_method": "POST"
}
07:00:02.868 PM
sync-all-devices info
Calling edge_function: sync-libre
POST /sync-all-devices
Metadata
{
  "service": "edge_function",
  "endpoint": "sync-libre",
  "provider": "libre",
  "device_id": "c253d974-b0e5-4e24-b4ec-5b9b34a17caa"
}
07:00:02.894 PM
sync-all-devices info
Starting daily sync for 3 devices
POST /sync-all-devices
Metadata
{
  "device_count": 3
}
07:00:02.905 PM
sync-all-devices info
Processing libre devices
POST /sync-all-devices
Metadata
{
  "count": 1,
  "provider": "libre"
}
07:00:03.028 PM
sync-all-devices info
Retrieved service role key from vault
POST /sync-all-devices
Metadata
{
  "key_length": 219
}
07:00:03.271 PM
sync-libre info
Request started
POST /sync-libre
Metadata
{
  "headers": {
    "accept": "*/*",
    "user-agent": "Deno/2.1.4 (variant; SupabaseEdgeRuntime/1.73.0)",
    "x-trace-id": "trace_mndjyu1z_91uka2f0",
    "content-type": "application/json",
    "content-length": "144",
    "x-forwarded-for": "13.218.33.231,13.218.33.231, 99.82.165.74"
  },
  "http_path": "/sync-libre",
  "http_method": "POST"
}
07:00:03.282 PM
sync-libre info
Starting Libre sync
POST /sync-libre
Metadata
{
  "device_id": "c253d974-b0e5-4e24-b4ec-5b9b34a17caa",
  "initial_backfill": false
}
07:00:03.576 PM
sync-libre info
Calling libre: /glucose/graph
POST /sync-libre
Metadata
{
  "service": "libre",
  "endpoint": "/glucose/graph",
  "patient_id": "98f3eaa7-53ed-11ee-b5b3-8a202adda690"
}
07:00:03.982 PM
sync-libre info
libre responded: 200
POST /sync-libre
Metadata
{
  "service": "libre",
  "endpoint": "/glucose/graph",
  "duration_ms": 300,
  "records_count": 140,
  "response_status": 200
}
07:00:04.100 PM
sync-libre info
Received 140 glucose readings
POST /sync-libre
Metadata
{
  "count": 140
}
07:00:04.308 PM
sync-libre info
Libre derived offset: -240 min
POST /sync-libre
07:00:04.331 PM
sync-libre debug
upsert on glucose_data
POST /sync-libre
Metadata
{
  "count": 140,
  "table": "glucose_data",
  "operation": "upsert"
}
07:00:04.622 PM
sync-libre info
Calling libre: /logbook
POST /sync-libre
Metadata
{
  "service": "libre",
  "endpoint": "/logbook",
  "patient_id": "98f3eaa7-53ed-11ee-b5b3-8a202adda690"
}
07:00:05.681 PM
sync-libre info
libre responded: 200
POST /sync-libre
Metadata
{
  "service": "libre",
  "endpoint": "/logbook",
  "duration_ms": 988,
  "records_count": 16,
  "response_status": 200
}
07:00:05.756 PM
sync-libre info
Received 16 logbook entries
POST /sync-libre
Metadata
{
  "count": 16
}
07:00:05.829 PM
sync-libre info
Filtered to 15 alarms with glucose values
POST /sync-libre
Metadata
{
  "with_glucose": 15,
  "total_entries": 15
}
07:00:05.887 PM
sync-libre debug
upsert on glucose_alarms
POST /sync-libre
Metadata
{
  "count": 15,
  "table": "glucose_alarms",
  "operation": "upsert"
}
07:00:06.205 PM
sync-libre debug
update on connected_devices
POST /sync-libre
Metadata
{
  "table": "connected_devices",
  "device_id": "c253d974-b0e5-4e24-b4ec-5b9b34a17caa",
  "operation": "update"
}
07:00:06.343 PM
sync-libre info
Sync completed successfully: 155 records
POST /sync-libre
Metadata
{
  "total_records": 155
}
07:00:06.467 PM
sync-libre info
Request completed with status 200
Duration: 3258msHTTP 200POST /sync-libre
Metadata
{
  "duration_ms": 3258,
  "content_type": "application/json"
}
07:00:06.570 PM
sync-all-devices info
Processing fitbit devices
POST /sync-all-devices
Metadata
{
  "count": 1,
  "provider": "fitbit"
}
07:00:06.586 PM
sync-all-devices info
Batch completed for libre
POST /sync-all-devices
Metadata
{
  "total": 1,
  "provider": "libre",
  "processed": 1,
  "batch_size": 1,
  "batch_index": 0,
  "batch_success": 1
}
07:00:06.601 PM
sync-all-devices info
edge_function responded: 200
POST /sync-all-devices
Metadata
{
  "service": "edge_function",
  "endpoint": "sync-libre",
  "device_id": "c253d974-b0e5-4e24-b4ec-5b9b34a17caa",
  "duration_ms": 3713,
  "response_status": 200
}
07:00:06.662 PM
sync-all-devices info
Calling edge_function: sync-fitbit
POST /sync-all-devices
Metadata
{
  "service": "edge_function",
  "endpoint": "sync-fitbit",
  "provider": "fitbit",
  "device_id": "804f5bd9-992a-45e3-9937-3034bc97c610"
}
07:00:06.687 PM
sync-all-devices info
Retrieved service role key from vault
POST /sync-all-devices
Metadata
{
  "key_length": 219
}
07:00:06.980 PM
sync-fitbit info
Request started
POST /sync-fitbit
Metadata
{
  "headers": {
    "accept": "*/*",
    "user-agent": "Deno/2.1.4 (variant; SupabaseEdgeRuntime/1.73.0)",
    "x-trace-id": "trace_mndjyu1z_91uka2f0",
    "content-type": "application/json",
    "content-length": "144",
    "x-forwarded-for": "13.218.33.231,13.218.33.231, 99.82.165.77"
  },
  "http_path": "/sync-fitbit",
  "http_method": "POST"
}
07:00:06.983 PM
sync-fitbit info
Starting Fitbit sync
POST /sync-fitbit
Metadata
{
  "device_id": "804f5bd9-992a-45e3-9937-3034bc97c610",
  "sync_type": "all",
  "initial_backfill": false
}
07:00:07.041 PM
sync-fitbit debug
select on connected_devices
POST /sync-fitbit
Metadata
{
  "table": "connected_devices",
  "operation": "select"
}
07:00:07.068 PM
sync-fitbit info
Refreshing tokens
POST /sync-fitbit
07:00:07.724 PM
sync-fitbit info
Sync parameters resolved
POST /sync-fitbit
Metadata
{
  "end_date": "2026-03-30",
  "days_count": 1,
  "start_date": "2026-03-30",
  "sync_types": [
    "summary",
    "sleep",
    "activities",
    "intraday"
  ]
}
07:00:07.727 PM
sync-fitbit info
Calling fitbit: /activities/date/2026-03-30
POST /sync-fitbit
Metadata
{
  "service": "fitbit",
  "endpoint": "/activities/date/2026-03-30"
}
07:00:07.732 PM
sync-fitbit info
Starting summary sync
POST /sync-fitbit
07:00:07.738 PM
sync-fitbit info
Updated user timezone: America/New_York
POST /sync-fitbit
07:00:08.224 PM
sync-fitbit info
fitbit responded: 200
POST /sync-fitbit
Metadata
{
  "attempt": 1,
  "service": "fitbit",
  "endpoint": "/1/user/-/activities/date/2026-03-30.json",
  "duration_ms": 495,
  "response_status": 200
}
07:00:08.297 PM
sync-fitbit info
Calling fitbit: /hrv/date/2026-03-30
POST /sync-fitbit
Metadata
{
  "service": "fitbit",
  "endpoint": "/hrv/date/2026-03-30"
}
07:00:08.317 PM
sync-fitbit info
fitbit responded: 200
POST /sync-fitbit
Metadata
{
  "attempt": 1,
  "service": "fitbit",
  "endpoint": "/1/user/-/hrv/date/2026-03-30.json",
  "duration_ms": 67,
  "response_status": 200
}
07:00:08.343 PM
sync-fitbit debug
upsert on daily_summary
POST /sync-fitbit
Metadata
{
  "count": 1,
  "table": "daily_summary",
  "operation": "upsert"
}
07:00:08.395 PM
sync-fitbit info
Starting sleep sync
POST /sync-fitbit
07:00:08.438 PM
sync-fitbit info
Completed summary sync
POST /sync-fitbit
Metadata
{
  "result": {
    "success": true,
    "sync_type": "summary",
    "records_synced": 1
  }
}
07:00:08.441 PM
sync-fitbit info
Calling fitbit: /sleep/date/2026-03-30
POST /sync-fitbit
Metadata
{
  "service": "fitbit",
  "endpoint": "/sleep/date/2026-03-30"
}
07:00:08.804 PM
sync-fitbit info
fitbit responded: 200
POST /sync-fitbit
Metadata
{
  "attempt": 1,
  "service": "fitbit",
  "endpoint": "/1.2/user/-/sleep/date/2026-03-30.json",
  "duration_ms": 398,
  "response_status": 200
}
07:00:08.808 PM
sync-fitbit debug
upsert on sleep_sessions
POST /sync-fitbit
Metadata
{
  "count": 1,
  "table": "sleep_sessions",
  "operation": "upsert"
}
07:00:08.934 PM
sync-fitbit info
Starting activities sync
POST /sync-fitbit
07:00:08.951 PM
sync-fitbit info
Completed sleep sync
POST /sync-fitbit
Metadata
{
  "result": {
    "success": true,
    "sync_type": "sleep",
    "records_synced": 1
  }
}
07:00:08.956 PM
sync-fitbit info
Calling fitbit: /activities/list
POST /sync-fitbit
Metadata
{
  "service": "fitbit",
  "endpoint": "/activities/list"
}
07:00:09.075 PM
sync-fitbit info
Completed activities sync
POST /sync-fitbit
Metadata
{
  "result": {
    "success": true,
    "sync_type": "activities",
    "records_synced": 0
  }
}
07:00:09.083 PM
sync-fitbit info
fitbit responded: 200
POST /sync-fitbit
Metadata
{
  "attempt": 1,
  "service": "fitbit",
  "endpoint": "/1/user/-/activities/list.json?afterDate=2026-03-30&sort=asc&offset=0&limit=100",
  "duration_ms": 143,
  "response_status": 200
}
07:00:09.090 PM
sync-fitbit info
Fetched activities data from Fitbit API
POST /sync-fitbit
Metadata
{
  "activities_count": 0
}
07:00:09.110 PM
sync-fitbit info
Starting intraday sync
POST /sync-fitbit
07:00:09.112 PM
sync-fitbit info
Calling fitbit: /heart/date/2026-03-30/1d/1min
POST /sync-fitbit
Metadata
{
  "service": "fitbit",
  "endpoint": "/heart/date/2026-03-30/1d/1min"
}
07:00:09.527 PM
sync-fitbit info
Calling fitbit: /steps/date/2026-03-30/1d/1min
POST /sync-fitbit
Metadata
{
  "service": "fitbit",
  "endpoint": "/steps/date/2026-03-30/1d/1min"
}
07:00:09.532 PM
sync-fitbit info
fitbit responded: 200
POST /sync-fitbit
Metadata
{
  "attempt": 1,
  "service": "fitbit",
  "endpoint": "/1/user/-/activities/heart/date/2026-03-30/1d/1min.json",
  "duration_ms": 411,
  "response_status": 200
}
07:00:09.730 PM
sync-fitbit info
fitbit responded: 200
POST /sync-fitbit
Metadata
{
  "attempt": 1,
  "service": "fitbit",
  "endpoint": "/1/user/-/activities/steps/date/2026-03-30/1d/1min.json",
  "duration_ms": 242,
  "response_status": 200
}
07:00:09.740 PM
sync-fitbit info
Storing 901 intraday records in 1 chunks
POST /sync-fitbit
07:00:09.777 PM
sync-fitbit debug
upsert on intraday_data
POST /sync-fitbit
Metadata
{
  "count": 901,
  "table": "intraday_data",
  "operation": "upsert",
  "chunk_index": 0
}
07:00:10.157 PM
sync-fitbit debug
update on connected_devices
POST /sync-fitbit
Metadata
{
  "table": "connected_devices",
  "operation": "update"
}
07:00:10.194 PM
sync-fitbit info
Completed intraday sync
POST /sync-fitbit
Metadata
{
  "result": {
    "success": true,
    "sync_type": "intraday",
    "records_synced": 901
  }
}
07:00:10.338 PM
sync-fitbit info
Fitbit sync completed
POST /sync-fitbit
Metadata
{
  "failed_syncs": 0,
  "total_records": 903,
  "successful_syncs": 4
}
07:00:10.351 PM
sync-fitbit info
Request completed with status 200
Duration: 3495msHTTP 200POST /sync-fitbit
Metadata
{
  "duration_ms": 3495,
  "content_type": "application/json"
}
07:00:10.442 PM
sync-all-devices info
edge_function responded: 200
POST /sync-all-devices
Metadata
{
  "service": "edge_function",
  "endpoint": "sync-fitbit",
  "device_id": "804f5bd9-992a-45e3-9937-3034bc97c610",
  "duration_ms": 3870,
  "response_status": 200
}
07:00:10.449 PM
sync-all-devices info
Calling edge_function: sync-whoop
POST /sync-all-devices
Metadata
{
  "service": "edge_function",
  "endpoint": "sync-whoop",
  "provider": "whoop",
  "device_id": "1fdec537-3e63-4519-906f-3db96804ae00"
}
07:00:10.476 PM
sync-all-devices info
Processing whoop devices
POST /sync-all-devices
Metadata
{
  "count": 1,
  "provider": "whoop"
}
07:00:10.476 PM
sync-all-devices info
Batch completed for fitbit
POST /sync-all-devices
Metadata
{
  "total": 1,
  "provider": "fitbit",
  "processed": 1,
  "batch_size": 1,
  "batch_index": 0,
  "batch_success": 1
}
07:00:10.525 PM
sync-all-devices info
Retrieved service role key from vault
POST /sync-all-devices
Metadata
{
  "key_length": 219
}
07:00:10.962 PM
sync-whoop debug
select on connected_devices
POST /sync-whoop
Metadata
{
  "table": "connected_devices",
  "operation": "select"
}
07:00:10.981 PM
sync-whoop info
Request started
POST /sync-whoop
Metadata
{
  "headers": {
    "accept": "*/*",
    "user-agent": "Deno/2.1.4 (variant; SupabaseEdgeRuntime/1.73.0)",
    "x-trace-id": "trace_mndjyu1z_91uka2f0",
    "content-type": "application/json",
    "content-length": "144",
    "x-forwarded-for": "13.218.33.231,13.218.33.231, 99.82.165.77"
  },
  "http_path": "/sync-whoop",
  "http_method": "POST"
}
07:00:10.987 PM
sync-whoop info
Starting Whoop sync
POST /sync-whoop
Metadata
{
  "device_id": "1fdec537-3e63-4519-906f-3db96804ae00",
  "sync_type": "all",
  "initial_backfill": false
}
07:00:11.052 PM
sync-whoop info
Refreshing tokens
POST /sync-whoop
07:00:14.159 PM
sync-whoop info
Sync parameters resolved
POST /sync-whoop
Metadata
{
  "end_date": "2026-03-30",
  "start_date": "2026-03-27",
  "sync_types": [
    "recovery",
    "sleep",
    "workout"
  ]
}
07:00:14.168 PM
sync-whoop info
Token refresh successful
POST /sync-whoop
Metadata
{
  "expires_at": "2026-03-30T20:00:13.978Z",
  "token_type": "[REDACTED]"
}
07:00:14.171 PM
sync-whoop info
Starting recovery sync
POST /sync-whoop
07:00:14.177 PM
sync-whoop info
Calling whoop: /cycle
POST /sync-whoop
Metadata
{
  "service": "whoop",
  "endpoint": "/cycle"
}
07:00:14.328 PM
sync-whoop info
whoop responded: 200
POST /sync-whoop
Metadata
{
  "service": "whoop",
  "success": true,
  "endpoint": "/cycle?start=2026-03-27T00%3A00%3A00.000Z&end=2026-03-30T23%3A59%3A59.999Z",
  "duration_ms": 160,
  "response_status": 200
}
07:00:14.335 PM
sync-whoop info
Calling whoop: /recovery
POST /sync-whoop
Metadata
{
  "service": "whoop",
  "endpoint": "/recovery"
}
07:00:14.479 PM
sync-whoop info
Fetched recovery data from Whoop API
POST /sync-whoop
Metadata
{
  "cycles_count": 5,
  "recoveries_count": 4
}
07:00:14.482 PM
sync-whoop info
whoop responded: 200
POST /sync-whoop
Metadata
{
  "service": "whoop",
  "success": true,
  "endpoint": "/recovery?start=2026-03-27T00%3A00%3A00.000Z&end=2026-03-30T23%3A59%3A59.999Z",
  "duration_ms": 157,
  "response_status": 200
}
07:00:14.532 PM
sync-whoop debug
upsert on daily_summary
POST /sync-whoop
Metadata
{
  "count": 5,
  "table": "daily_summary",
  "operation": "upsert"
}
07:00:14.542 PM
sync-whoop warn
Overwriting 5 existing recovery records
POST /sync-whoop
Metadata
{
  "device_id": "1fdec537-3e63-4519-906f-3db96804ae00",
  "total_records": 5,
  "existing_dates": [
    "2026-03-29",
    "2026-03-28",
    "2026-03-27",
    "2026-03-26",
    "2026-03-25"
  ]
}
07:00:14.569 PM
sync-whoop info
Calling whoop: /activity/sleep
POST /sync-whoop
Metadata
{
  "service": "whoop",
  "endpoint": "/activity/sleep"
}
07:00:14.569 PM
sync-whoop info
Starting sleep sync
POST /sync-whoop
07:00:14.577 PM
sync-whoop info
Completed recovery sync
POST /sync-whoop
Metadata
{
  "result": {
    "success": true,
    "sync_type": "recovery",
    "records_synced": 5
  }
}
07:00:14.721 PM
sync-whoop info
Fetched sleep data from Whoop API
POST /sync-whoop
Metadata
{
  "records_count": 4
}
07:00:14.723 PM
sync-whoop debug
upsert on sleep_sessions
POST /sync-whoop
Metadata
{
  "count": 4,
  "table": "sleep_sessions",
  "operation": "upsert"
}
07:00:14.725 PM
sync-whoop info
whoop responded: 200
POST /sync-whoop
Metadata
{
  "service": "whoop",
  "success": true,
  "endpoint": "/activity/sleep?start=2026-03-27T00%3A00%3A00.000Z&end=2026-03-30T23%3A59%3A59.999Z",
  "duration_ms": 155,
  "response_status": 200
}
07:00:14.774 PM
sync-whoop info
Starting workout sync
POST /sync-whoop
07:00:14.781 PM
sync-whoop info
Calling whoop: /activity/workout
POST /sync-whoop
Metadata
{
  "service": "whoop",
  "endpoint": "/activity/workout"
}
07:00:14.786 PM
sync-whoop info
Completed sleep sync
POST /sync-whoop
Metadata
{
  "result": {
    "success": true,
    "sync_type": "sleep",
    "records_synced": 4
  }
}
07:00:14.934 PM
sync-whoop info
whoop responded: 200
POST /sync-whoop
Metadata
{
  "service": "whoop",
  "success": true,
  "endpoint": "/activity/workout?start=2026-03-27T00%3A00%3A00.000Z&end=2026-03-30T23%3A59%3A59.999Z",
  "duration_ms": 165,
  "response_status": 200
}
07:00:14.940 PM
sync-whoop debug
upsert on activities
POST /sync-whoop
Metadata
{
  "count": 4,
  "table": "activities",
  "operation": "upsert"
}
07:00:14.960 PM
sync-whoop info
Fetched workout data from Whoop API
POST /sync-whoop
Metadata
{
  "records_count": 4
}
07:00:15.003 PM
sync-whoop info
Completed workout sync
POST /sync-whoop
Metadata
{
  "result": {
    "success": true,
    "sync_type": "workout",
    "records_synced": 4
  }
}
07:00:15.004 PM
sync-whoop debug
update on connected_devices
POST /sync-whoop
Metadata
{
  "table": "connected_devices",
  "operation": "update"
}
07:00:15.129 PM
sync-whoop info
Request completed with status 200
Duration: 4414msHTTP 200POST /sync-whoop
Metadata
{
  "duration_ms": 4414,
  "content_type": "application/json"
}
07:00:15.167 PM
sync-whoop info
Whoop sync completed
POST /sync-whoop
Metadata
{
  "failed_syncs": 0,
  "total_records": 13,
  "successful_syncs": 3
}
07:00:15.225 PM
sync-all-devices info
Batch completed for whoop
POST /sync-all-devices
Metadata
{
  "total": 1,
  "provider": "whoop",
  "processed": 1,
  "batch_size": 1,
  "batch_index": 0,
  "batch_success": 1
}
07:00:15.248 PM
sync-all-devices info
edge_function responded: 200
POST /sync-all-devices
Metadata
{
  "service": "edge_function",
  "endpoint": "sync-whoop",
  "device_id": "1fdec537-3e63-4519-906f-3db96804ae00",
  "duration_ms": 4775,
  "response_status": 200
}
07:00:15.395 PM
sync-all-devices info
Recomputing baselines for 2 users
POST /sync-all-devices
Metadata
{
  "user_ids": [
    "3597587c-1242-4c31-ac21-ce2768e6fbd8",
    "73f1a17e-eca2-4b92-9bc8-425c93352fce"
  ],
  "user_count": 2
}
07:00:15.431 PM
sync-all-devices info
Daily sync completed
POST /sync-all-devices
Metadata
{
  "failed": 0,
  "skipped": 0,
  "successful": 3,
  "total_processed": 3
}
07:00:15.493 PM
sync-all-devices info
Calling edge_function: compute-baselines
POST /sync-all-devices
Metadata
{
  "service": "edge_function",
  "user_id": "73f1a17e-eca2-4b92-9bc8-425c93352fce",
  "endpoint": "compute-baselines"
}
07:00:15.500 PM
sync-all-devices info
Calling edge_function: compute-baselines
POST /sync-all-devices
Metadata
{
  "service": "edge_function",
  "user_id": "3597587c-1242-4c31-ac21-ce2768e6fbd8",
  "endpoint": "compute-baselines"
}
07:00:15.747 PM
compute-baselines info
Starting baseline computation
POST /compute-baselines
Metadata
{
  "user_id": "73f1a17e-eca2-4b92-9bc8-425c93352fce"
}
07:00:15.749 PM
compute-baselines info
Request started
POST /compute-baselines
Metadata
{
  "headers": {
    "accept": "*/*",
    "user-agent": "Deno/2.1.4 (variant; SupabaseEdgeRuntime/1.73.0)",
    "x-trace-id": "trace_mndjyu1z_91uka2f0",
    "content-type": "application/json",
    "content-length": "50",
    "x-forwarded-for": "13.218.33.231,13.218.33.231, 99.82.165.76"
  },
  "http_path": "/compute-baselines",
  "http_method": "POST"
}
07:00:15.750 PM
compute-baselines info
Request started
POST /compute-baselines
Metadata
{
  "headers": {
    "accept": "*/*",
    "user-agent": "Deno/2.1.4 (variant; SupabaseEdgeRuntime/1.73.0)",
    "x-trace-id": "trace_mndjyu1z_91uka2f0",
    "content-type": "application/json",
    "content-length": "50",
    "x-forwarded-for": "13.218.33.231,13.218.33.231, 99.82.165.75"
  },
  "http_path": "/compute-baselines",
  "http_method": "POST"
}
07:00:15.754 PM
compute-baselines info
Starting baseline computation
POST /compute-baselines
Metadata
{
  "user_id": "3597587c-1242-4c31-ac21-ce2768e6fbd8"
}
07:00:16.146 PM
compute-baselines info
Baseline computation complete
POST /compute-baselines
Metadata
{
  "safety_flags": [],
  "has_cycle_info": true,
  "metrics_summary": {
    "hrv": {
      "phases": [
        "all",
        "follicular",
        "luteal"
      ],
      "sample_count": 42
    },
    "steps": {
      "phases": [
        "all",
        "follicular",
        "luteal"
      ],
      "sample_count": 42
    },
    "resting_hr": {
      "phases": [
        "all",
        "follicular",
        "luteal"
      ],
      "sample_count": 42
    },
    "sleep_rem_pct": {
      "phases": [
        "all",
        "follicular",
        "luteal"
      ],
      "sample_count": 42
    },
    "sleep_deep_pct": {
      "phases": [
        "all",
        "follicular",
        "luteal"
      ],
      "sample_count": 42
    },
    "sleep_duration": {
      "phases": [
        "all",
        "follicular",
        "luteal"
      ],
      "sample_count": 42
    }
  },
  "baselines_computed": 18
}
07:00:16.184 PM
compute-baselines info
Request completed with status 200
Duration: 505msHTTP 200POST /compute-baselines
Metadata
{
  "duration_ms": 505,
  "content_type": "application/json"
}
07:00:16.245 PM
sync-all-devices info
edge_function responded: 200
POST /sync-all-devices
Metadata
{
  "service": "edge_function",
  "user_id": "3597587c-1242-4c31-ac21-ce2768e6fbd8",
  "endpoint": "compute-baselines",
  "duration_ms": 765,
  "response_status": 200
}
07:00:16.361 PM
compute-baselines info
Baseline computation complete
POST /compute-baselines
Metadata
{
  "safety_flags": [],
  "has_cycle_info": false,
  "metrics_summary": {
    "hrv": {
      "phases": [
        "all"
      ],
      "sample_count": 82
    },
    "resting_hr": {
      "phases": [
        "all"
      ],
      "sample_count": 82
    },
    "sleep_rem_pct": {
      "phases": [
        "all"
      ],
      "sample_count": 90
    },
    "sleep_deep_pct": {
      "phases": [
        "all"
      ],
      "sample_count": 90
    },
    "sleep_duration": {
      "phases": [
        "all"
      ],
      "sample_count": 90
    },
    "respiratory_rate": {
      "phases": [
        "all"
      ],
      "sample_count": 90
    }
  },
  "baselines_computed": 6
}
07:00:16.411 PM
compute-baselines info
Request completed with status 200
Duration: 752msHTTP 200POST /compute-baselines
Metadata
{
  "duration_ms": 752,
  "content_type": "application/json"
}
07:00:16.496 PM
sync-all-devices info
Baseline recomputation completed
POST /sync-all-devices
Metadata
{
  "failed": 0,
  "attempted": 2,
  "succeeded": 2
}
07:00:16.524 PM
sync-all-devices info
Request completed with status 200
Duration: 14383msHTTP 200POST /sync-all-devices
Metadata
{
  "duration_ms": 14383,
  "content_type": "application/json"
}
07:00:16.532 PM
sync-all-devices info
edge_function responded: 200
POST /sync-all-devices
Metadata
{
  "service": "edge_function",
  "user_id": "73f1a17e-eca2-4b92-9bc8-425c93352fce",
  "endpoint": "compute-baselines",
  "duration_ms": 1011,
  "response_status": 200
}