curl https://api.x.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer xai-xEKowCREvDjMJ8BDGQxGqmtBSeCiaQFunwPwAY1PdKVAC2o6OyqO8gnWCOjgbHeVlH0F45KavE3KSnYC" \ -d '{ "messages": [ { "role": "system", "content": "You are a test assistant." }, { "role": "user", "content": "Testing. Just say hi and hello world and nothing else." } ], "model": "grok-4-latest", "stream": false, "temperature": 0 }'