read
clinic

Get Clinic Timeline

Fetch paginated timeline events for a client that the clinician has access to.

Returns observations, milestones and appointments grouped chronologically - the clinical spine (CLINIC_ENTRY_TYPES) - plus the documents a clinician uploaded. The family's own uploads stay the Records tab's job; email and task entries are family-only at the source and are additionally blocked for clinicians in RLS. Clinician must have an active (non-expired) access grant for this child.

Authentication: JWT required via Authorization header Authorization: Verified via clinician_child_access table

get/read/clinic/timeline

Request

  • Base URL
    https://api.projectindi.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

child_idstring required

Child ID to fetch timeline for

yearinteger nullable

Filter events by year

pageinteger

Page number

page_sizeinteger

Items per page

group_bystring

Aggregation period: day, week, month

start_datestring nullable

Filter from date (YYYY-MM-DD)

end_datestring nullable

Filter to date (YYYY-MM-DD)

tz_offsetinteger nullable

Client timezone offset in minutes (JS getTimezoneOffset)

user_timezonestring nullable

IANA timezone (e.g. Australia/Sydney). Overrides tz_offset

Response

Successful Response

available_yearsinteger[] required
month_countsobject

Changes

No recorded changes to this operation across all 2 revisions of this API.