GET
/
cloud
/
v2
/
inference
/
models
curl --request GET \
  --url https://api.gcore.com/cloud/v2/inference/models \
  --header 'APIKey: <api-key>'
{
  "category": "Text Classification",
  "default_flavor_id": "123e4567-e89b-12d3-a456-426614174111",
  "description": "My first model",
  "developer": "Stability AI",
  "documentation_page": "/docs",
  "eula_url": "https://example.com/eula",
  "example_curl_request": "curl -X POST http://localhost:8080/predict -d '{\"data\": \"sample\"}'",
  "has_eula": true,
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "image_registry_id": "123e4567-e89b-12d3-a456-426614174999",
  "image_url": "registry.hub.docker.com/my_model:latest",
  "inference_backend": "torch",
  "inference_frontend": "gradio",
  "model_id": "mistralai/Pixtral-12B-2409",
  "name": "model1",
  "openai_compatibility": "full",
  "port": 8080,
  "version": "v0.1"
}

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

limit
integer

Limit the number of returned instances. Limited by max limit value of 1000

offset
integer

Offset value is used to exclude the first set of records from the result

order_by
string

Order instances by transmitted fields and directions (name.asc)

Response

200
application/json

List of the ML Models

The response is of type object.