list_models
Use the list models operation to list loaded embedding and reranking models available in Database.
Parameters
| Parameter | Type | Value Range | Required | Default | Description | Notes |
|---|---|---|---|---|---|---|
limit |
int |
> 0 | No | None |
Maximum number of models to return. | When omitted, the service applies its default page size. |
offset |
int |
>= 0 | No | None |
Number of models to skip before returning this page. | Use with limit to request later pages. |
Returns information about all models available for use in the database, limited to models currently loaded in the service.
List loaded models and print their names
models = client.list_models(limit=25, offset=0)
print([item.model_name for item in models.items or []])
Returns Example response: Each entry describes a loaded model; models available in storage but not yet loaded are not included.
- JSON response containing an array of models with:
- Model names
- Types (embedding, reranking)
- Algorithms
- Creation timestamps
- Attributes and parameters
{
"items": [
{
"model_name": "ALL_MINILM_L12_V2",
"algorithm": "ONNX",
"mining_function": "EMBEDDING",
"creation_date": "2026-01-27T07:23:21Z",
"attributes": [
{
"name": "DATA",
"value": "TEXT",
"data_type": "VARCHAR2",
"data_length": 32767
},
{
"name": "ORA$ONNXTARGET",
"value": "VECTOR",
"data_type": "VECTOR",
"data_length": 1593,
"vector_info": "VECTOR(384,FLOAT32)"
}
]
}
]
}
Return type ModelCollectionResponse