Skip to content

Member Onboarding Journey

A member creates their profile and starts their first triage session.

Sequence Diagram

API Reference

StepServiceMethodPathAuthResponse
Get tokenKeycloakPOST/realms/olly/protocol/openid-connect/tokenNoneaccess_token
Create partypolicy-adminPOST/partiesAdmin JWT201 {Locator}
Get partypolicy-adminGET/parties/{locator}Admin JWT200 {Locator, Type, FirstName}
Start sessiontriagePOST/sessionsNone (local dev)201 {session.locator, next_question}
RespondtriagePOST/sessions/{locator}/respondNone200 {next_question} or {recommendation}
Delete partypolicy-adminDELETE/parties/{locator}Not implemented — party left in place after test

Notes

  • Triage sessions do not require auth in the local dev configuration (JWT middleware disabled for triage in test env). See triage_test.go for precedent.
  • next_question may be null if no LLM is configured — the test accepts this gracefully.
  • The member app stores the health profile (age, activity level, sleep) client-side only; no backend API call is made for this data in Phase 1.

Olly Health Insurance Platform