---
title: "Patient reassignment history"
method: GET
path: "/api/patients/reassignments"
tags: ["patients"]
---

# Patient reassignment history

`GET /api/patients/reassignments`

Reassignment events (previous expert, new expert, date, whether the new path started). Operator-scoped callers only see the reassignments they took part in.

## Query parameters

- `patient_id` string, uuid, nullable — Filter by patient.
- `expert_type` string, nullable — Filter by expert slot: PSICOLOGO | NUTRIZIONISTA.
- `operator_id` string, uuid, nullable — Filter by the expert the patient was reassigned to.
- `previous_operator_id` string, uuid, nullable — Filter by the expert the patient was reassigned from.
- `taken_in_charge` boolean, nullable — Filter by whether the path with the new expert started (DA_FARE/FATTO appointment).
- `only_current` boolean — Only reassignments that are still the active assignment.
- `reassigned_from` string, date-time, nullable — Reassignments from this instant (inclusive).
- `reassigned_to` string, date-time, nullable — Reassignments up to this instant (inclusive).
- `search` string, nullable — Free-text search on patient name or email.
- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- PatientReassignmentListResponse
  - `items` PatientReassignmentResponse[], required
    - `id` string, uuid, required
    - `patient_id` string, uuid, required
    - `patient_user_id` string, uuid, nullable
    - `patient_name` string, nullable
    - `patient_email` string, nullable
    - `patient_phone` string, nullable
    - `expert_type` string, required
    - `operator_id` string, uuid, required
    - `operator_name` string, nullable
    - `previous_operator_id` string, uuid, required
    - `previous_operator_name` string, nullable
    - `reassigned_at` string, date-time, required
    - `ended_at` string, date-time, nullable
    - `is_current` boolean, required
    - `taken_in_charge` boolean, required
    - `first_appointment_at` string, date-time, nullable
    - `created_by` string, nullable
    - `created_by_user_id` string, uuid, nullable
    - `created_by_user_name` string, nullable
  - `total` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
