Get Model Details

get

/services/{version}/installation/aiservice/models/{model}

Required Role: Operator

Retrieve the details of an AI Model.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

model details returned
Body ()
Root Schema : AI Model
Type: object
Title: AI Model
Show Source
Nested Schema : capabilities
Type: array
Minimum Number of Items: 0
Maximum Number of Items: 32767
Show Source
Nested Schema : limits
Type: object
Show Source
Nested Schema : parameters
Type: object
Nested Schema : tasks
Type: array
Minimum Number of Items: 0
Maximum Number of Items: 32767
Show Source
Example Response (application/json)
{
    "$schema":"api:standardResponse",
    "links":[
        {
            "rel":"canonical",
            "href":"https://localhost:9000/services/v2/installation/aiservice/models/voyage-2",
            "mediaType":"application/json"
        },
        {
            "rel":"self",
            "href":"https://localhost:9000/services/v2/installation/aiservice/models/voyage-2",
            "mediaType":"application/json"
        },
        {
            "rel":"describedby",
            "href":"https://localhost:9000/services/v2/metadata-catalog/model",
            "mediaType":"application/schema+json"
        }
    ],
    "messages":[
    ],
    "response":{
        "capabilities":[
            "embed"
        ],
        "loaded":false,
        "providerId":"voyage1",
        "enabled":true,
        "id":"voyage-2",
        "name":"Voyage 2",
        "remoteModelName":"voyage-2",
        "type":"remote",
        "limits":{
            "maxInputCharacters":20000
        },
        "parameters":{
            "input_type":"document"
        },
        "description":"Voyage embedding model for regression"
    }
}
Back to Top