Archive
Endpoints
| Method | Endpoint |
|---|---|
POST | Archive a patient |
POST | Archive an order |
GET | List archived orders |
GET | List archived patients |
POST | Restore an archived order |
POST | Restore an archived patient |
Generate an AI message for a conversation POST
Uses GPT-4o-mini to generate a contextually appropriate message for a conversation after explicit data-processing consent. Returns a Server-Sent Events stream. Rate limited to 10 requests per minute per user.
Archive an order POST
Archives a completed or cancelled order by setting its archivedAt timestamp. Shipment status is independent. Lab-only endpoint.