Skip to main content
GET
List All Orders

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Query Parameters

page
integer | null
per_page
integer | null
sort_by
string | null
sort_direction
enum<string> | null
Available options:
asc,
desc
location_id
string | null
order_ids
string[] | null
patient_id
string | null
patient_name
string | null
status
enum<string>[] | null

The six-way partition over every order, used for filtering and the list badge.

Mirrors console/src/lib/lab-status.ts exactly — derivation lives in decoda/services/lab_status.py, which is the Python side of that shared contract.

Available options:
draft,
awaiting_purchase,
in_progress,
results_ready,
completed,
closed
vendor
enum<string>[] | null

Which integration a lab order came from.

Junction (Vital) orders are authored in Decoda's own wizard; Fullscript orders are authored in Fullscript's embed and synced back. Stored flat on lab_order so both live in one chronological list per patient.

Available options:
junction,
fullscript
physician_ids
string[] | null
creator_ids
string[] | null
location_ids
string[] | null
include_unassigned
boolean | null
collection_method
enum<string>[] | null
Available options:
walk_in_test,
at_home_phlebotomy,
testkit,
on_site_collection
lab_slug
string[] | null
created_date
(string<date-time> | null)[] | null
test_name
string | null
tz
string | null

Response

Successful Response

data
LabOrderTableItem · object[]
required
total
integer
required