cURL
curl --request GET \ --url https://api.electronhub.ai/v1/models
{ "object": "list", "data": [ { "name": "<string>", "description": "<string>", "id": "<string>", "object": "model", "created": 123, "owned_by": "<string>", "tokens": 123, "pricing": { "input": 123, "output": 123 }, "endpoints": [ "<string>" ], "premium_model": true, "voices": [ "<string>" ], "sizes": [ "<string>" ], "qualities": [ "<string>" ], "tags": [ "<string>" ], "styles": [ "<string>" ], "metadata": {} } ] }
List all available models
{ "object": "list", "data": [ { "id": "gpt-4o", "object": "model", "owned_by": "openai" }, { "id": "claude-3-5-sonnet-20241022", "object": "model", "owned_by": "anthropic" }, { "id": "gemini-pro", "object": "model", "owned_by": "google" } ] }
Success
The response is of type object.
object