API reference
API reference
Base URL, auth headers, the error shape.
Base URL
https://api.harnix.vnAuthentication
Every public request carries exactly one of: a publishable key (pk,
optionally signed with an end-user identity), a chat session token from
/v2/token, or an API key (Authorization: Bearer <api-key>) for
server-to-server calls. See Authentication
for the details of each.
Error shape
Every error returns {code, message} — the full list is on the
Errors page.
The pages below are generated from the OpenAPI schema of the public surface
(/v2/token, /v2/agents, /v2/conversations, /v2/chat, /v2/runs).