Get started
First governed request
Send one request and verify the route contract
This recipe proves identity, routing and response handling before adding advanced features.
1. Prepare
Create a development service key, export OCTORYN_API_KEY and confirm policy/frontier is visible to the workspace.
2. Send
Call Chat Completions with a short deterministic prompt.
curl https://api.octoryn.dev/v1/chat/completions -H "Authorization: Bearer $OCTORYN_API_KEY" -H "Content-Type: application/json" -d '{"model":"policy/frontier","messages":[{"role":"user","content":"Reply with: connected"}]}'3. Verify
Check HTTP status, response model/route metadata, finish_reason and request correlation. Do not treat a source commit as proof of the deployed build.
4. Promote
Create a separate production key, set an application timeout, add classified error handling and retain only content-free operational evidence.
