Discovery

The unauthenticated endpoints an agent uses to learn the API, read pricing, check status, and verify a Pass — no key required.

Discovery endpoints let an agent find its footing before it holds a key. They describe the API, publish pricing and the task catalogue, report status, and verify a Pass. None of them need an API key — they're safe to call cold.

GET/v1/openapi.json

The machine-readable OpenAPI 3.1 contract for the whole surface.

No auth

The full request and response shapes, in a format your tooling can generate a client from.

GET/v1/openapi.json
curl https://api.hannu.africa/v1/openapi.json \
  -H "Authorization: Bearer $HANNU_KEY"
GET/llms.txt

A compact, model-readable index of the docs and the API.

No auth

Point a model here to orient it. It's plain text, kept small on purpose.

GET/v1/content

Structured docs and reference content for programmatic reads.

No auth
GET/v1/pricing

Current pricing and the task-type catalogue.

No auth

Pricing is served here rather than written into the docs, so the numbers you read are the live ones. Read amounts as integer minor units.

GET/v1/pricing
curl https://api.hannu.africa/v1/pricing \
  -H "Authorization: Bearer $HANNU_KEY"
GET/v1/status

Platform status and availability.

No auth
POST/v1/pass/verify

Verify a hannu Pass presented at a visit.

No auth

Public and keyless so a verifier at the door can check a Pass without holding platform credentials. See Pass.

No key needed

Every endpoint on this page is unauthenticated — don't send an Authorization header. Everything else in the reference requires a bearer key; see Authentication.