# Send a client request

Source: https://usecns.dev/thalamus-guide-send-a-client-request/

[Start here](https://usecns.dev/manual-thalamus/)
[CLI commands](https://usecns.dev/commands-thalamus/)
[Configuration & integration](https://usecns.dev/thalamus-topics/)

Point an HTTP client at the relay, not a member. For the configured reasoner, try:

```
curl --fail-with-body http://127.0.0.1:18000/v1/chat/completions \
  -H 'content-type: application/json' \
  -H 'x-session-id: invoice-review-42' \
  -d '{"model":"reasoning-model","messages":[{"role":"user","content":"Explain idempotency keys."}]}'
```

Replace the model ID with one your server serves. For SDKs, set their API base to the relay's `/v1` URL where that SDK expects it. [Cortex](https://usecns.dev/manual-cortex/) is the CNS executive client; other callers can use the supported HTTP routes directly.

For SSE, add `"stream":true` to the JSON and `-N` to curl. Events and completion markers come from the model server; Thalamus does not provide resumable streams or translate task payloads. See [payloads, streaming and errors](https://usecns.dev/thalamus-topic-http-payloads-streaming-and-errors/) before building retry/error handling.

Use `/v1/chat/completions` or `/v1/completions` for generation, `/v1/system1/decide` for verification, and `/v1/embeddings` or `/v1/rerank` for knowledge. Explicit plane URLs such as `/intelligence/v1/chat/completions` override header/model-based plane selection. Consult the [route inventory](https://usecns.dev/thalamus-topic-choose-inference-routes/) for compatibility paths and capability requirements; Thalamus is not a general proxy for arbitrary `/v1/*` paths.

A declared model match is preferred, not enforced. An unknown name defaults to intelligence and can reach a capable upstream unchanged. Only `auto` and `default` are rewritten to the selected member's first model. Likewise, single-node policy falls back if its named member is ineligible; it is not a fail-closed target lock.