Quickstart

Send your first request.

Create an API key in the console, then call https://api.onemux.net/v1/chat/completions.

curl https://api.onemux.net/v1/chat/completions \
+  -H "Authorization: Bearer $ONEMUX_API_KEY" \
+  -H "Content-Type: application/json" \
+  -d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello OneMux"}]}'