curl
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"}]
}'
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Raw HTTP examples using curl.
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"}]
}'