---
title: "GET /patient/{patientId}"
method: GET
path: "/patient/{patientId}"
---

# GET /patient/{patientId}

`GET /patient/{patientId}`

## Request

- Base URL: `/analytics-svc/api/services/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/analytics-svc/api/services/patient/{patientId}`
- Auth: none declared

Get data for a single patient

## Path parameters

- `patientId` string, required

## Query parameters

- `dataFormat` string
- `interactionTypes` string[]
- `configId` string, required
- `configVersion` string, required
- `datasetId` string, required

## Response `200`

Success

- PatientResult: Response object when querying from patient endpoint
  - `data` object[]: an array of patients containing its attributes and interactions
  - `totalPatientCount` integer: number of guarded patients

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/ohdsi/apis/health-for-clinical-research.md) - [All operations](https://skmtc.dev/ohdsi/apis/health-for-clinical-research/llms.txt) - [OpenAPI document](https://skmtc.dev/ohdsi/apis/health-for-clinical-research/revisions/5655f01517bc?raw)
