# Laboratory orders

> Read the laboratory orders your practice has placed, and where each one has got to.

Source: https://docs.usejump.co.uk/api-reference/lab-orders

* **Scope:** `read_lab_orders`, granted explicitly. Patient, consultation or result scopes don't include it, and existing keys don't gain it automatically.
  * **Statuses:** `ordered`, `sample_collected`, `sent_to_lab`, `cancelled`. Orders with an unknown status are excluded.
  * **An order's status is not its result.** It doesn't tell you a result is final, has been clinically reviewed, or that every requested test was done. The user who created an order isn't necessarily the clinician who requested it.
  * **Orders made in an unsigned consultation still appear.** `consultation_context` records where an order was made; it doesn't decide whether the order is on the record.
  * **Returned:** id, patient, order number, lab provider, the provider's own test codes (up to 500, each up to 256 characters), sample date and time, status and timestamps. Test codes are the provider's, not a shared catalogue, and the sample time carries no inferred timezone.
  * **Not returned:** provider payloads, copied demographics, insurance, clinical free text, credentials and URLs.

  ## Listing

  Filters: `patient_id`, `status`, `lab_provider_slug`, plus `limit` (default 20, max 100) and `offset` (max 100,000). An empty, repeated or unknown parameter returns `422`; a `patient_id` you can't see returns `404`, even when it has no orders. Newest first. See [Pagination](https://docs.usejump.co.uk/getting-started/pagination). Responses carry `Cache-Control: no-store`.

  Placing and cancelling orders, and reading results, are not part of this API.
## List laboratory orders across permitted practice patients

`GET /lab-orders`

API-key scope: `read_lab_orders`

Requires read_lab_orders on a live key. Returns native order workflow status,
not result finality or clinical review. Consultation context is provenance,
not a visibility switch. Unknown states are excluded. Sort: created_at DESC,
id DESC. Unsupported, empty or repeated query parameters are rejected.
Provider payloads and copied patient demographics are not exposed.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no |  |
| `offset` | query | integer | no |  |
| `patient_id` | query | string (uuid) | no |  |
| `status` | query | string | no | One of: `ordered`, `sample_collected`, `sent_to_lab`, `cancelled`. |
| `lab_provider_slug` | query | string | no |  |

### Responses

- `200` Bounded order page with no-store caching
- `403` Missing live laboratory order read authority
- `404` Patient filter is not available to this practice
- `422` Invalid query
- `500` Read failed

## Retrieve one authorised laboratory order

`GET /lab-orders/{id}`

API-key scope: `read_lab_orders`

Requires read_lab_orders. Does not accept query parameters. No ordering or cancellation action is provided.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |

### Responses

- `200` Laboratory order metadata with no-store caching
- `403` Missing live laboratory order read authority
- `404` Order not available to this practice
- `422` Invalid identifier or query
- `500` Read failed
