Create chat completion
documentedGenerate a chat completion for a multi-turn conversation.
POST /v1/chat/completionsChatno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.cerebras.ai/v1/chat/completions" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{CEREBRAS_API_KEY}}" \
-d '{"model": "{{$model}}", "messages": [{"role": "user", "content": "{{$user_message}}"}]}'