---
title: "Search for FHIR resources."
method: GET
path: "/R4/{resource_type}"
tags: ["FHIR"]
---

# Search for FHIR resources.

`GET /R4/{resource_type}`

## Request

- Base URL: `https://sandbox.particlehealth.com`
- URL: `https://sandbox.particlehealth.com/R4/{resource_type}`
- Auth: API key in header `Authorization`

Searches for FHIR® resources of the given type for one patient. Particle supports the subset of FHIR® search parameters listed below; any other parameter returns a 400.

## Path parameters

- `resource_type` string, required

## Query parameters

- `patient` string, required
- `_count` integer
- `_page_token` string

## Response `200`

OK

- FhirBundle
  - `entry` FhirBundleEntry[]: The set of search results.
    - `fullUrl` string: The URL at which the resource represented by this entry can be accessed.
    - `resource` object: The resource represented by this bundle entry.
    - `search` FhirSearchSetEntryMetadata
      - `mode` string
  - `link` FhirLink[]: Links related to this bundle.
    - `relation` string: The type of relation between the bundle and the link.
    - `url` string: The URL at which the link can be accessed.
  - `resourceType` string: The type of the FHIR resource.
  - `total` integer: The total number of resources in the bundle.
  - `type` string: The type of bundle.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `406`: Not Acceptable
- `500`: Internal Server Error

## Changes

- **2026-11-03** `b59a5413a488`: 6 info
  - added the new optional `query` request parameter `_count`
  - added the new optional `query` request parameter `_page_token`
  - added the optional property `error_code` to the response with the `400` status
  - added the optional property `error_code` to the response with the `401` status
  - …2 more

[Operation history](https://skmtc.dev/particlehealth/apis/particle-health-api/changes/R4/:resource_type/get.md)

---

[API](https://skmtc.dev/particlehealth/apis/particle-health-api.md) - [All operations](https://skmtc.dev/particlehealth/apis/particle-health-api/llms.txt) - [OpenAPI document](https://skmtc.dev/particlehealth/apis/particle-health-api/revisions/b59a5413a488?raw)
