curl / raw HTTP

Chat completions and models listing against the runtime edge.

Requests

Mint itr_rt_* in Settings → Runtime API keys. Keep upstream secrets in the Provider vault — clients should not need vendor sk- keys.

export INTERTRACE_RUNTIME_API_KEY='itr_rt_…'
curl -sS https://intertrace.fly.dev/v1/chat/completions \
  -H "Authorization: Bearer $INTERTRACE_RUNTIME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-4o-mini","messages":[{"role":"user","content":"ping"}]}'
curl -sS https://intertrace.fly.dev/v1/models -H "Authorization: Bearer $INTERTRACE_RUNTIME_API_KEY"
# Same paths on https://gateway.intertrace.ai/v1