Get Model Details
get
/services/{version}/aiservice/models/{model}
Required Role: Operator
Retrieve the details of an AI Model.Request
Path Parameters
-
model(required): string
Minimum Length:
1Maximum Length:255Pattern:.*Name of the Model. -
version(required): string
Oracle GoldenGate Service API version.
Allowed Values:[ "v2" ]
Response
Supported Media Types
- application/json
200 Response
model details returned
Root Schema : AI Model
Type:
objectTitle:
Show Source
AI Model-
$schema:
Allowed Values:
[ "ogg:model" ] -
capabilities:
array capabilities
Minimum Number of Items:
0Maximum Number of Items:32767 -
description:
string
Minimum Length:
1Maximum Length:4000 -
enabled:
boolean
-
id:
string
Minimum Length:
1Maximum Length:255 -
limits:
object limits
-
loaded:
boolean
-
name:
string
Minimum Length:
1Maximum Length:255 -
parameters:
object parameters
-
priority:
integer
Minimum Value:
0Maximum Value:9223372036854776000 -
providerId:
string
Minimum Length:
1Maximum Length:255 -
remoteModelName:
string
Minimum Length:
1Maximum Length:255 -
tasks:
array tasks
Minimum Number of Items:
0Maximum Number of Items:32767 -
type:
string
Minimum Length:
1Maximum Length:255
Nested Schema : capabilities
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
Show Source
32767-
Array of:
string
Minimum Length:
1Maximum Length:512
Nested Schema : limits
Type:
Show Source
object-
maxInputCharacters:
integer
Minimum Value:
0Maximum Value:9223372036854776000Default Value:12000
Nested Schema : parameters
Type:
objectNested Schema : tasks
Type:
arrayMinimum Number of Items:
0Maximum Number of Items:
Show Source
32767-
Array of:
string
Minimum Length:
1Maximum Length:512
Example Response (application/json)
{
"$schema":"api:standardResponse",
"links":[
{
"rel":"canonical",
"href":"https://localhost:9001/services/v2/aiservice/models/voyage-2",
"mediaType":"application/json"
},
{
"rel":"self",
"href":"https://localhost:9001/services/v2/aiservice/models/voyage-2",
"mediaType":"application/json"
},
{
"rel":"describedby",
"href":"https://localhost:9001/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"
}
}