This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Lists all configuration versions for a Model Studio.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:models-read.
integeroptionalThe page size to use for the endpoint.
stringoptionalThe page token indicates where to start paging. This should be omitted from the first page's request.
To fetch the next page, clients should take the value from the nextPageToken field of the previous response
and use it to populate the pageToken field of the next request.
booleanoptionalEnables the use of preview functionality.
objectlist<ModelStudioConfigVersion>optionalstringoptionalThe page token indicates where to start paging. This should be omitted from the first page's request.
To fetch the next page, clients should take the value from the nextPageToken field of the previous response
and use it to populate the pageToken field of the next request.
1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/models/modelStudios/ri.models.main.model-studio.a1b2c3d4-e5f6-7890-abcd-ef1234567890/configVersions?preview=true"1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"data": [
{
"createdBy": "f05f8da4-b84c-4fca-9c77-8af0b13d11de",
"trainer": {
"trainerId": "ri.models..trainer.autogluon_tabular_regression",
"version": "0.388.0"
},
"name": "Initial configuration",
"resources": {
"memory": "4G",
"cpu": "2"
},
"createdTime": "2003-05-06T12:34:56.789Z",
"version": 1,
"workerConfig": {
"outputs": {
"model": {
"type": "model",
"modelRid": "ri.models.main.model.a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
},
"inputs": {
"input_df": {
"type": "dataset",
"rid": "ri.foundry.main.dataset.a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"columnMapping": {
"target_column": [
"target"
]
},
"ignoreColumns": [],
"selectColumns": []
}
}
},
"trainerId": "ri.models..trainer.autogluon_tabular_regression"
}
],
"nextPageToken": "v1.QnVpbGQgdGhlIEZ1dHVyZTogaHR0cHM6Ly93d3cucGFsYW50aXIuY29tL2NhcmVlcnMvP2xldmVyLXNvdXJjZSU1YiU1ZD1BUElEb2NzI29wZW4tcG9zaXRpb25z"
}| Error Name | ||
|---|---|---|
Model | Error Code | NOT_FOUND |
| Status Code | 404 | |
| Description | The requested Model Studio was not found. | |
| Parameters | studioRid | |
See Errors for a general overview of errors in the platform.