Skip to content
Get an API key

Headers

View as Markdown

Which PCs may answer this request. Without it, the account's default mode applies (routing in GET /v1/account). The answer carries the mode used in its own Noduma-Routing header.

Value Who answers
any Any PC that serves the model; Noduma chooses
own Only your own PCs, while they share; free
vetted Only PCs a maintainer vetted
trusted Only vetted PCs outside every network (Ad-Hoc accounts)
network:<id> Only the PCs of that Ad-Hoc network (its member accounts)
confidential Only attested confidential-computing PCs (never run on real confidential hardware)

An account created in the Noduma app may send any and own; any other value that is a mode is refused with 403 routing_not_in_plan, and a value that is not one with 400 invalid_request. A request is never served in a less private mode than it asked for. The modes, and who can read a request in each, are in Routing.

Terminal window
curl https://app.noduma.dev/v1/chat/completions \
-H "Authorization: Bearer $NODUMA_API_KEY" \
-H "Noduma-Routing: own" \
-H "Content-Type: application/json" \
-d '{"model": "qwen2.5-7b-instruct-q4_k_m", "messages": [{"role": "user", "content": "Hello"}]}'

Noduma-Redaction: off turns off redaction for this request. By default, before a request leaves the coordinator, known secret formats (private keys, API tokens, password= values, email addresses) are replaced with placeholders, and the answer gets them back. It covers known formats only.

Header Meaning
Noduma-Routing The routing mode used
Cache-Control: no-store On every answer and error
Retry-After On 429 rate_limit_exceeded (until a request fits again: the next minute, or 00:00 UTC for the day's tokens), on 503 model_not_available (60 seconds) and while the coordinator restarts (10 seconds)