For the complete documentation index, see llms.txt. This page is also available as Markdown.

Audit

Base URL: https://api.welkinhealth.com/{tenantName}/{instanceName}/audit

The Audit API provides access to the audit trail of all actions performed within a Welkin instance. Audit records are read-only and cannot be modified or deleted via the API.


Get Audit Records

GET /audit

Returns a paginated list of audit records filtered by date range, actor, or entity.

Query Parameters

Parameter
Type
Required
Description

startDate

string (ISO 8601)

No

Filter records from this date

endDate

string (ISO 8601)

No

Filter records to this date

actorId

string

No

Filter by user who performed the action

patientId

string

No

Filter by associated patient

entityType

string

No

Entity type (e.g., PATIENT, ENCOUNTER, TASK)

action

string

No

Action type (e.g., CREATE, UPDATE, DELETE)

page

integer

No

Page number (default: 0)

size

integer

No

Page size (default: 20)

Example Request

curl -X GET "https://api.welkinhealth.com/acme/live/audit?startDate=2026-03-01T00:00:00Z&endDate=2026-03-19T23:59:59Z&entityType=PATIENT" \
  -H "Authorization: Bearer {access_token}"

Example Response

Note: Access to audit logs requires the AUDIT_READ permission on the API client. Records are retained per your organization's data retention policy.

Last updated

Was this helpful?