Base URL
Authentication
Every request requires anAuthorization header with a Bearer token:
hasp_api_live_ identifies a live key. Keys are shown in plaintext exactly once on creation — copy it before closing the modal.
All requests also require an active Business Associate Agreement (BAA) on your organization. Without one, every request returns 402 BAA_REQUIRED. Sign the BAA in Settings → Compliance.
Your first request
Drop-in Anthropic SDK
If you already use@anthropic-ai/sdk, change one line:
API surfaces
Every inference surface reaches the same Anthropic and OpenAI models — see Model Selection.
What’s next
- POST /v1/ai/chat — native streaming chat, full event taxonomy
- POST /v1/messages — Anthropic SDK drop-in
- POST /v1/chat/completions — OpenAI SDK drop-in
- PHI Guard — how PHI detection and redaction work
- API Keys — create and revoke keys programmatically