SDK Reference (BETA)Python SDKOperations
ListEndpointsResponse - Python SDK
ListEndpointsResponse method reference
Returns a list of endpoints
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
data | components.ListEndpointsResponse | ✔️ | List of available endpoints for a model | {"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": {"tokenizer": "GPT","instruct_type": "chatml","modality": "text-\u003etext","input_modalities": ["text"],"output_modalities": ["text"]},“endpoints”: [ {"name": "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” ], “status”: “default”, “uptime_last_30m”: 99.5, “supports_implicit_caching”: true<br />}] } |