Request headers
| Header | Value | Needed for |
|---|---|---|
Authorization | Bearer sk-luv13-... | POST /v1/chat/completions |
Content-Type | application/json | Any request with a JSON body |
curl https://api.luv13.ai/v1/chat/completions \
-H "Authorization: Bearer $LUV13_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "luv13/glm-5.3-flash", "messages": [{"role": "user", "content": "ping"}]}'The word Bearer and one space come before the key. A missing Bearer, extra quotes, or a stray newline at the end of the key gives a 401.
Response headers you'll see
Seen on 2026-09-30:
| Header | Value | Use |
|---|---|---|
content-type | application/json for API responses, text/html for 404 and 405 | Decide whether to parse the body as JSON |
server | cloudflare | Shows the request went through Cloudflare |
cf-ray | A Cloudflare request id | Identifies that request at Cloudflare |
No rate-limit headers (such as x-ratelimit-remaining) or retry-after were seen on those responses.
To print response headers:
curl -s -D - -o /dev/null https://api.luv13.ai/v1/modelsSee also Errors and Status Codes.
