---
title: "Lists IDs of excluded cases for a specified source"
method: GET
path: "/excludedCaseIds"
tags: ["Case"]
---

# Lists IDs of excluded cases for a specified source

`GET /excludedCaseIds`

## Request

- Base URL: `http://localhost:3000/api`
- URL: `http://localhost:3000/api/excludedCaseIds`
- Auth: none declared

## Query parameters

- `sourceId` string, required
- `dateFrom` string, date
- `dateTo` string, date

## Response `200`

OK

- CaseIdsArray
  - `cases` string[], required

## Other responses

- `400`: Malformed request
- `403`: Forbidden
- `422`: Unprocessable entity
- `500`: Internal server error

## Changes

> 59 revisions in range; 8 not diffed.

- **2026-07-17** `886deae8a6f9`: 2 info
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `422`
- **2020-12-17** `6c66acaad95e`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2020-12-17** `cf7e18bc9289`: 1 info
  - endpoint added
- **2020-09-09** `a14b106f1592`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/globaldothealth/apis/global-health-data-service/changes/excludedCaseIds/get.md)

---

[API](https://skmtc.dev/globaldothealth/apis/global-health-data-service.md) - [All operations](https://skmtc.dev/globaldothealth/apis/global-health-data-service/llms.txt) - [OpenAPI document](https://skmtc.dev/globaldothealth/apis/global-health-data-service/revisions/886deae8a6f9?raw)
