---
title: "Get activity timeline for a patient from the event-driven PatientActivity table"
method: GET
path: "/Patients/{id}/activity"
tags: ["Patients"]
---

# Get activity timeline for a patient from the event-driven PatientActivity table

`GET /Patients/{id}/activity`

## Path parameters

- `id` string, required

## Query parameters

- `limit` union
  - integer
  - string, int32

## Response `200`

OK

- PatientActivityTimelineDto
  - `patientId` string
  - `activities` PatientActivityResponseDto[]
    - `id` string
    - `patientId` string
    - `activityType` string
    - `title` string
    - `description` string, nullable
    - `priority` string
    - `status` string
    - `appointmentId` string, nullable
    - `relatedEntityType` string, nullable
    - `relatedEntityId` string, nullable
    - `performedBy` UserSummaryDto
      - `id` string
      - `email` string
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `displayName` string, nullable
      - `type` string
      - `roleId` string, nullable
      - `roleName` string, nullable
    - `metadata` object, nullable
    - `tags` string[]
    - `isSystemGenerated` boolean
    - `activityDate` string, date-time
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `totalCount` union
    - integer
    - string, int32

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/versions/a905bde4e796/schema)
