List Schedule Segments
Date ranges, clinical sites, units, and weekly hours for a schedule track.
Query Parameters
- Type: string Format: uuidcursor
- Type: integerlimitmin:1max:500
Integer numbers.
- Type: string Format: date-timeupdated
_since the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
Responses
- application/json
- application/json
- application/json
- application/json
Request Example for get/schedule_segments
curl https://app.healthtasks.ai/api/v1/schedule_segments \
--header 'x-healthtasks-api-key: YOUR_SECRET_TOKEN'
{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"track_id": "123e4567-e89b-12d3-a456-426614174000",
"start_date": "2026-07-09",
"end_date": "2026-07-09",
"location_id": "123e4567-e89b-12d3-a456-426614174000",
"location_unit_id": "123e4567-e89b-12d3-a456-426614174000",
"advanced_schedule": "string",
"sort_order": 1,
"created_at": "2026-07-09T15:48:22.943Z",
"updated_at": "2026-07-09T15:48:22.943Z",
"track": {},
"location": {},
"location_unit": {}
}
],
"next_cursor": "string",
"high_watermark": "2026-07-09T15:48:22.943Z"
}