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-5.6-luna to generate a contextually appropriate message for a conversation. Requires the organization to have AI assistance enabled, which is where the data-processing consent is recorded. 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.