API reference
List models
Endpoints, request fields and response schemas for calling NeonAPI.
GET /v1/models
Authentication
Use your NeonAPI API key in Authorization: Bearer YOUR_API_KEY. Keep the key in a trusted application environment.
Availability and compatibility
Check the selected model’s protocol, permissions, price and supported parameters before calling. Unsupported parameters may be rejected. Request examples use placeholders.
Path and query parameters
| Field | In | Type | Required |
|---|---|---|---|
key | query | string | No |
x-api-key | header | string | No |
anthropic-version | header | string | No |
x-goog-api-key | header | string | No |
Request fields
No request body.
Request example
export NEON_API_KEY="YOUR_API_KEY"
curl https://neon-api.com/v1/models \
-H "Authorization: Bearer $NEON_API_KEY"Responses
Fields vary by model and protocol. The schema below describes the documented successful response; streams use protocol-specific events.
| Status | Meaning |
|---|---|
| 200 | Successful response |
| 401 | Successful response |
Response schema
| Field | Type | Required | Constraints | Meaning |
|---|---|---|---|---|
object | string | No | — | — |
data | Model[] | No | — | Result items returned by this endpoint. |
Download the user API OpenAPI specification
See errors and streaming & tasks.