Skip to Content
API ReferenceEndpointsList Endpoints

List all endpoints for a model

GET

https://novapai.ai/api/v1/models/:author/:slug/endpoints 

GET

/api/v1/models/:author/:slug/endpoints

cURL
$curl https://novapai.ai/api/v1/models/author/slug/endpoints \ >-H "Authorization: Bearer <token>"
200 Retrieved
reference-endpoints-list-endpoints-01.json
{ "data": { "id": "openai/gpt-4", "name": "GPT-4", "created": 1692901234, "description": "GPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.", "architecture": { "input_modalities": ["text"], "instruct_type": "chatml", "modality": "text->text", "output_modalities": ["text"], "tokenizer": "GPT" }, "endpoints": [ { "name": "OpenAI: GPT-4", "model_id": "openai/gpt-4", "model_name": "GPT-4", "context_length": 8192, "pricing": { "prompt": "0.00003", "completion": "0.00006", "request": "0", "image": "0" }, "provider_name": "OpenAI", "tag": "openai", "quantization": "fp16", "max_completion_tokens": 4096, "max_prompt_tokens": 8192, "supported_parameters": [ "temperature", "top_p", "max_tokens", "frequency_penalty", "presence_penalty" ], "uptime_last_30m": 99.5, "supports_implicit_caching": true, "latency_last_30m": { "p50": 0.25, "p75": 0.35, "p90": 0.48, "p99": 0.85 }, "throughput_last_30m": { "p50": 45.2, "p75": 38.5, "p90": 28.3, "p99": 15.1 }, "status": 0 } ] } }

Authentication

Authorization Bearer

API key as bearer token in Authorization header

Path parameters

author string Required

slug string Required

Response

Returns a list of endpoints

字段类型必填说明
dataobject-List of available endpoints for a model

Errors

状态码说明
404Not Found Error
500Internal Server Error