REST API · Session Physiology

QOAX Session Physiology API

Post-session heart-rate and vocal signals in. FHIR R4 evidence out — for behavioral-health platforms and EHRs.

QOAX is the partner API behind Session Physiology. Not a scribe. Not a diagnostic. Clinician decides.

What this API does

Session physiology evidence, delivered as an API

SeroState’s QOAX API accepts post-session wearable and vocal inputs, time-aligns them to the encounter, and returns structured evidence your product can write into the chart. Primary signal is continuous heart rate; vocal patterns when available; EDA when present.

Platforms use it to surface say/body-gap flags, confidence, and signal quality beside the clinical note — without changing how the clinician runs the session.

Primary Endpoint

POST /v1/session

POST /v1/session
{
  "physiological_timeline": [ { "t": "41:12", "hr_bpm": null } ],
  "risk_flags": [
    { "type": "physio_spike_no_verbal_ack", "confidence": null, "evidence": "segment_41m02s_41m48s" }
  ],
  "signal_quality": { "overall": null },
  "coding_support": [
    { "code": "…", "confidence": null }
  ],
  "fhir": { "resourceType": "Bundle", "type": "collection" },
  "disposition": "documentation_support_only"
}

Example response — illustrative field shape only. Not live execution. Documentation support, not diagnosis. The clinician retains authority.

curl -X POST https://api.serostate.com/v1/session \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"session_id":"…","audio_ref":"…","wearable_ref":"…"}'

How to read these fields

  • confidence: meaningful mismatch vs noise (partner threshold; below logs for audit). Computed by SeroState; not a sensor readout.
  • signal_quality: computed from heart-rate sample continuity over the session; not reported by the watch.

Your clinical team sets the thresholds. We deliver the evidence.

Response includes

  • Physiological timeline Continuous heart rate and voice (HRV where sampling permits; EDA when present), time-aligned to transcript.
  • Risk flags Patterns + confidence + evidence refs.
  • Signal quality Flags thin or noisy data before the record.
  • Coding support Alignment suggestions with confidence tiers.
  • FHIR R4 artifacts Structured bundle for EHR ingestion.

Auth shape: OAuth 2.0 client credentials → Bearer access token.

Error shape: {"error":{"code":"…","message":"…","request_id":"…"}} with HTTP 4xx/5xx.

Idempotency / retry: send Idempotency-Key on POST; retry safe on network timeouts with the same key. Back off on 429/503.

Minimal FHIR mapping: session evidence → Bundle of Observation (physiology/flags) + DocumentReference (report pointer) for partner EHR write-back. Exact profiles on request.

Before & After

What changes for your platform

Before

Transcript and notes only. Documentation that fails payer audit when physiology contradicts self-report.

After integration

Time-aligned physiology plus transcript. Confidence-scored evidence surfaced inside your existing product.

Authentication

Partner Access

OpenAPI spec, sandbox, and webhooks: on request for qualified engineering teams.

Production

OAuth 2.0 client credentials for authorized platform partners. Scoped to your integration environment with audit logging on all evidence requests.

Sandbox

Sandbox with sample payloads and synthetic streams, on request.

Go Deeper

Sample report, fusion protocol, and evidence scoring on Platform. Method and citations on Science.

Full Reference

Request the complete API reference.