Connect your tools
cURL connection
Practical guidance for using NeonAPI.
Inspect accessible models
export NEON_API_KEY="YOUR_API_KEY"
curl https://neon-api.com/v1/models \
-H "Authorization: Bearer $NEON_API_KEY"Send a chat request
curl https://neon-api.com/v1/chat/completions \
-H "Authorization: Bearer $NEON_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"YOUR_MODEL_ID","messages":[{"role":"user","content":"Hello"}],"stream":false}'Stream the answer
Add "stream":true to the JSON body and use curl -N to disable output buffering. Consume the protocol's events rather than treating each network chunk as a complete message. See Streaming.
Do not share shell history containing an actual key. For multipart image or audio uploads, follow the endpoint reference instead of sending a JSON path to a local file.