← News
Release
Streaming and trails
in the API

Kofi Mensah
API engineer

The Halden API now streams its replies, and every call returns the run id and the trail behind it.
First tokens arrive in under 200 ms. The second check still runs on every answer, and the stream tells you when it passes.
Six endpoints, one trail
Start a run, read its answer and sources, fetch the trail, approve a flagged run, build an eval from your own files and hear when a run needs a person. See the API.
Review queue
CN
Discharge note, bed 12
4 codes · checked twice
Approved ✓
IN
Invoice 2291
Booked twice · hold one
Approved ✓
CT
Lease renewal, ward 4
1 clause changed
Approved ✓
RF
Referral letter
Ready to send
Approved ✓
0 waiting
38 s a decision



