> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openference.com/llms.txt
> Use this file to discover all available pages before exploring further.

# curl

> Raw HTTP examples using curl.

# curl

```bash theme={null}
curl https://api.openference.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "GLM-5.2",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
```
