Call Wild West with curl
No SDK needed. Wild West's chat completions endpoint takes an ordinary POST with a bearer key, so curl is enough to test a key or a model.
- Base URL
- https://wildwestapi.com/v1
- API key
- Get one, starts sk-ww-
- Example model
- glm-5.3-outlaw
POST /v1/chat/completions
Shell
curl https://wildwestapi.com/v1/chat/completions \ -H "Authorization: Bearer sk-ww-..." \ -H "Content-Type: application/json" \ -d '{ "model": "glm-5.3-outlaw", "messages": [{"role": "user", "content": "Hello"}] }'
Add "stream": true to the body for a server-sent event stream.