vellum-ai 0.11.6 → 0.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +10 -10
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +7 -7
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +6 -6
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/Client.js +10 -10
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +7 -7
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +6 -6
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/.mock/definition/__package__.yml +0 -6750
- package/.mock/definition/adHoc.yml +0 -67
- package/.mock/definition/api.yml +0 -17
- package/.mock/definition/containerImages.yml +0 -151
- package/.mock/definition/deployments.yml +0 -372
- package/.mock/definition/documentIndexes.yml +0 -448
- package/.mock/definition/documents.yml +0 -278
- package/.mock/definition/folderEntities.yml +0 -135
- package/.mock/definition/metricDefinitions.yml +0 -99
- package/.mock/definition/mlModels.yml +0 -36
- package/.mock/definition/sandboxes.yml +0 -205
- package/.mock/definition/testSuiteRuns.yml +0 -163
- package/.mock/definition/testSuites.yml +0 -182
- package/.mock/definition/workflowDeployments.yml +0 -299
- package/.mock/definition/workflowSandboxes.yml +0 -94
- package/.mock/definition/workflows.yml +0 -83
- package/.mock/definition/workspaceSecrets.yml +0 -78
- package/.mock/fern.config.json +0 -4
- package/.mock/openapi/openapi.yml +0 -12127
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: __package__.yml
|
|
3
|
-
service:
|
|
4
|
-
auth: false
|
|
5
|
-
base-path: ''
|
|
6
|
-
endpoints:
|
|
7
|
-
list:
|
|
8
|
-
path: /v1/documents
|
|
9
|
-
method: GET
|
|
10
|
-
auth: true
|
|
11
|
-
docs: Used to list documents. Optionally filter on supported fields.
|
|
12
|
-
source:
|
|
13
|
-
openapi: openapi/openapi.yml
|
|
14
|
-
request:
|
|
15
|
-
name: DocumentsListRequest
|
|
16
|
-
query-parameters:
|
|
17
|
-
document_index_id:
|
|
18
|
-
type: optional<string>
|
|
19
|
-
docs: >-
|
|
20
|
-
Filter down to only those documents that are included in the
|
|
21
|
-
specified index. You may provide either the Vellum-generated ID or
|
|
22
|
-
the unique name of the index specified upon initial creation.
|
|
23
|
-
validation:
|
|
24
|
-
format: uuid
|
|
25
|
-
limit:
|
|
26
|
-
type: optional<integer>
|
|
27
|
-
docs: Number of results to return per page.
|
|
28
|
-
offset:
|
|
29
|
-
type: optional<integer>
|
|
30
|
-
docs: The initial index from which to return the results.
|
|
31
|
-
ordering:
|
|
32
|
-
type: optional<string>
|
|
33
|
-
docs: Which field to use when ordering the results.
|
|
34
|
-
response:
|
|
35
|
-
docs: ''
|
|
36
|
-
type: root.PaginatedSlimDocumentList
|
|
37
|
-
url: Default
|
|
38
|
-
availability: generally-available
|
|
39
|
-
examples:
|
|
40
|
-
- response:
|
|
41
|
-
body:
|
|
42
|
-
count: 123
|
|
43
|
-
next: http://api.example.org/accounts/?offset=400&limit=100
|
|
44
|
-
previous: http://api.example.org/accounts/?offset=200&limit=100
|
|
45
|
-
results:
|
|
46
|
-
- id: id
|
|
47
|
-
external_id: external_id
|
|
48
|
-
last_uploaded_at: '2024-01-15T09:30:00Z'
|
|
49
|
-
label: label
|
|
50
|
-
processing_state: QUEUED
|
|
51
|
-
processing_failure_reason: EXCEEDED_CHARACTER_LIMIT
|
|
52
|
-
status: ACTIVE
|
|
53
|
-
keywords:
|
|
54
|
-
- keywords
|
|
55
|
-
metadata:
|
|
56
|
-
key: value
|
|
57
|
-
document_to_document_indexes:
|
|
58
|
-
- id: id
|
|
59
|
-
document_index_id: document_index_id
|
|
60
|
-
audiences:
|
|
61
|
-
- customers
|
|
62
|
-
retrieve:
|
|
63
|
-
path: /v1/documents/{id}
|
|
64
|
-
method: GET
|
|
65
|
-
auth: true
|
|
66
|
-
docs: >-
|
|
67
|
-
Retrieve a Document, keying off of either its Vellum-generated ID or its
|
|
68
|
-
external ID.
|
|
69
|
-
source:
|
|
70
|
-
openapi: openapi/openapi.yml
|
|
71
|
-
path-parameters:
|
|
72
|
-
id:
|
|
73
|
-
type: string
|
|
74
|
-
docs: A UUID string identifying this document.
|
|
75
|
-
response:
|
|
76
|
-
docs: ''
|
|
77
|
-
type: root.DocumentRead
|
|
78
|
-
url: Default
|
|
79
|
-
availability: pre-release
|
|
80
|
-
examples:
|
|
81
|
-
- path-parameters:
|
|
82
|
-
id: id
|
|
83
|
-
response:
|
|
84
|
-
body:
|
|
85
|
-
id: id
|
|
86
|
-
external_id: external_id
|
|
87
|
-
last_uploaded_at: '2024-01-15T09:30:00Z'
|
|
88
|
-
label: label
|
|
89
|
-
processing_state: QUEUED
|
|
90
|
-
status: ACTIVE
|
|
91
|
-
original_file_url: original_file_url
|
|
92
|
-
processed_file_url: processed_file_url
|
|
93
|
-
document_to_document_indexes:
|
|
94
|
-
- id: id
|
|
95
|
-
document_index_id: document_index_id
|
|
96
|
-
indexing_state: AWAITING_PROCESSING
|
|
97
|
-
extracted_text_file_url: extracted_text_file_url
|
|
98
|
-
metadata:
|
|
99
|
-
key: value
|
|
100
|
-
audiences:
|
|
101
|
-
- customers
|
|
102
|
-
destroy:
|
|
103
|
-
path: /v1/documents/{id}
|
|
104
|
-
method: DELETE
|
|
105
|
-
auth: true
|
|
106
|
-
docs: >-
|
|
107
|
-
Delete a Document, keying off of either its Vellum-generated ID or its
|
|
108
|
-
external ID.
|
|
109
|
-
source:
|
|
110
|
-
openapi: openapi/openapi.yml
|
|
111
|
-
path-parameters:
|
|
112
|
-
id:
|
|
113
|
-
type: string
|
|
114
|
-
docs: A UUID string identifying this document.
|
|
115
|
-
url: Documents
|
|
116
|
-
availability: pre-release
|
|
117
|
-
examples:
|
|
118
|
-
- path-parameters:
|
|
119
|
-
id: id
|
|
120
|
-
audiences:
|
|
121
|
-
- customers
|
|
122
|
-
partialUpdate:
|
|
123
|
-
path: /v1/documents/{id}
|
|
124
|
-
method: PATCH
|
|
125
|
-
auth: true
|
|
126
|
-
docs: >-
|
|
127
|
-
Update a Document, keying off of either its Vellum-generated ID or its
|
|
128
|
-
external ID. Particularly useful for updating its metadata.
|
|
129
|
-
source:
|
|
130
|
-
openapi: openapi/openapi.yml
|
|
131
|
-
path-parameters:
|
|
132
|
-
id:
|
|
133
|
-
type: string
|
|
134
|
-
docs: A UUID string identifying this document.
|
|
135
|
-
request:
|
|
136
|
-
name: PatchedDocumentUpdateRequest
|
|
137
|
-
body:
|
|
138
|
-
properties:
|
|
139
|
-
label:
|
|
140
|
-
type: optional<string>
|
|
141
|
-
docs: >-
|
|
142
|
-
A human-readable label for the document. Defaults to the
|
|
143
|
-
originally uploaded file's file name.
|
|
144
|
-
validation:
|
|
145
|
-
minLength: 1
|
|
146
|
-
maxLength: 1000
|
|
147
|
-
status:
|
|
148
|
-
type: optional<root.DocumentStatus>
|
|
149
|
-
docs: |-
|
|
150
|
-
The current status of the document
|
|
151
|
-
|
|
152
|
-
* `ACTIVE` - Active
|
|
153
|
-
metadata:
|
|
154
|
-
type: optional<map<string, unknown>>
|
|
155
|
-
docs: >-
|
|
156
|
-
A JSON object containing any metadata associated with the
|
|
157
|
-
document that you'd like to filter upon later.
|
|
158
|
-
content-type: application/json
|
|
159
|
-
response:
|
|
160
|
-
docs: ''
|
|
161
|
-
type: root.DocumentRead
|
|
162
|
-
url: Default
|
|
163
|
-
availability: pre-release
|
|
164
|
-
examples:
|
|
165
|
-
- path-parameters:
|
|
166
|
-
id: id
|
|
167
|
-
request: {}
|
|
168
|
-
response:
|
|
169
|
-
body:
|
|
170
|
-
id: id
|
|
171
|
-
external_id: external_id
|
|
172
|
-
last_uploaded_at: '2024-01-15T09:30:00Z'
|
|
173
|
-
label: label
|
|
174
|
-
processing_state: QUEUED
|
|
175
|
-
status: ACTIVE
|
|
176
|
-
original_file_url: original_file_url
|
|
177
|
-
processed_file_url: processed_file_url
|
|
178
|
-
document_to_document_indexes:
|
|
179
|
-
- id: id
|
|
180
|
-
document_index_id: document_index_id
|
|
181
|
-
indexing_state: AWAITING_PROCESSING
|
|
182
|
-
extracted_text_file_url: extracted_text_file_url
|
|
183
|
-
metadata:
|
|
184
|
-
key: value
|
|
185
|
-
audiences:
|
|
186
|
-
- customers
|
|
187
|
-
upload:
|
|
188
|
-
path: /v1/upload-document
|
|
189
|
-
method: POST
|
|
190
|
-
auth: true
|
|
191
|
-
docs: >
|
|
192
|
-
Upload a document to be indexed and used for search.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
**Note:** Uses a base url of `https://documents.vellum.ai`.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
This is a multipart/form-data request. The `contents` field should be a
|
|
199
|
-
file upload. It also expects a JSON body with the following fields:
|
|
200
|
-
|
|
201
|
-
- `add_to_index_names: list[str]` - Optionally include the names of all
|
|
202
|
-
indexes that you'd like this document to be included in
|
|
203
|
-
|
|
204
|
-
- `external_id: str | None` - Optionally include an external ID for this
|
|
205
|
-
document. This is useful if you want to re-upload the same document
|
|
206
|
-
later when its contents change and would like it to be re-indexed.
|
|
207
|
-
|
|
208
|
-
- `label: str` - A human-friendly name for this document. Typically the
|
|
209
|
-
filename.
|
|
210
|
-
|
|
211
|
-
- `keywords: list[str] | None` - Optionally include a list of keywords
|
|
212
|
-
that'll be associated with this document. Used when performing keyword
|
|
213
|
-
searches.
|
|
214
|
-
|
|
215
|
-
- `metadata: dict[str, Any]` - A stringified JSON object containing any
|
|
216
|
-
metadata associated with the document that you'd like to filter upon
|
|
217
|
-
later.
|
|
218
|
-
source:
|
|
219
|
-
openapi: openapi/openapi.yml
|
|
220
|
-
request:
|
|
221
|
-
name: UploadDocumentBodyRequest
|
|
222
|
-
body:
|
|
223
|
-
properties:
|
|
224
|
-
add_to_index_names:
|
|
225
|
-
type: optional<list<string>>
|
|
226
|
-
docs: >-
|
|
227
|
-
Optionally include the names of all indexes that you'd like this
|
|
228
|
-
document to be included in
|
|
229
|
-
external_id:
|
|
230
|
-
type: optional<string>
|
|
231
|
-
docs: >-
|
|
232
|
-
Optionally include an external ID for this document. This is
|
|
233
|
-
useful if you want to re-upload the same document later when its
|
|
234
|
-
contents change and would like it to be re-indexed.
|
|
235
|
-
validation:
|
|
236
|
-
minLength: 1
|
|
237
|
-
maxLength: 1000
|
|
238
|
-
label:
|
|
239
|
-
type: string
|
|
240
|
-
docs: A human-friendly name for this document. Typically the filename.
|
|
241
|
-
validation:
|
|
242
|
-
minLength: 1
|
|
243
|
-
maxLength: 1000
|
|
244
|
-
contents:
|
|
245
|
-
type: file
|
|
246
|
-
docs: The file contents of the document.
|
|
247
|
-
keywords:
|
|
248
|
-
type: optional<list<string>>
|
|
249
|
-
docs: >-
|
|
250
|
-
Optionally include a list of keywords that'll be associated with
|
|
251
|
-
this document. Used when performing keyword searches.
|
|
252
|
-
metadata:
|
|
253
|
-
type: optional<string>
|
|
254
|
-
docs: >-
|
|
255
|
-
A stringified JSON object containing any metadata associated
|
|
256
|
-
with the document that you'd like to filter upon later.
|
|
257
|
-
validation:
|
|
258
|
-
format: byte
|
|
259
|
-
content-type: multipart/form-data
|
|
260
|
-
response:
|
|
261
|
-
docs: ''
|
|
262
|
-
type: root.UploadDocumentResponse
|
|
263
|
-
url: Documents
|
|
264
|
-
availability: generally-available
|
|
265
|
-
errors:
|
|
266
|
-
- root.BadRequestError
|
|
267
|
-
- root.NotFoundError
|
|
268
|
-
- root.InternalServerError
|
|
269
|
-
examples:
|
|
270
|
-
- request:
|
|
271
|
-
label: label
|
|
272
|
-
response:
|
|
273
|
-
body:
|
|
274
|
-
document_id: document_id
|
|
275
|
-
audiences:
|
|
276
|
-
- customers
|
|
277
|
-
source:
|
|
278
|
-
openapi: openapi/openapi.yml
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
types:
|
|
2
|
-
FolderEntitiesListRequestEntityStatus:
|
|
3
|
-
enum:
|
|
4
|
-
- ACTIVE
|
|
5
|
-
- ARCHIVED
|
|
6
|
-
source:
|
|
7
|
-
openapi: openapi/openapi.yml
|
|
8
|
-
imports:
|
|
9
|
-
root: __package__.yml
|
|
10
|
-
service:
|
|
11
|
-
auth: false
|
|
12
|
-
base-path: ''
|
|
13
|
-
endpoints:
|
|
14
|
-
list:
|
|
15
|
-
path: /v1/folder-entities
|
|
16
|
-
method: GET
|
|
17
|
-
auth: false
|
|
18
|
-
docs: List all folder entities within a specified folder.
|
|
19
|
-
source:
|
|
20
|
-
openapi: openapi/openapi.yml
|
|
21
|
-
request:
|
|
22
|
-
name: FolderEntitiesListRequest
|
|
23
|
-
query-parameters:
|
|
24
|
-
entity_status:
|
|
25
|
-
type: optional<FolderEntitiesListRequestEntityStatus>
|
|
26
|
-
docs: >-
|
|
27
|
-
Filter down to only those objects whose entities have a status
|
|
28
|
-
matching the status specified.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
* `ACTIVE` - Active
|
|
32
|
-
|
|
33
|
-
* `ARCHIVED` - Archived
|
|
34
|
-
limit:
|
|
35
|
-
type: optional<integer>
|
|
36
|
-
docs: Number of results to return per page.
|
|
37
|
-
offset:
|
|
38
|
-
type: optional<integer>
|
|
39
|
-
docs: The initial index from which to return the results.
|
|
40
|
-
ordering:
|
|
41
|
-
type: optional<string>
|
|
42
|
-
docs: Which field to use when ordering the results.
|
|
43
|
-
parent_folder_id:
|
|
44
|
-
type: string
|
|
45
|
-
docs: >-
|
|
46
|
-
Filter down to only those entities whose parent folder has the
|
|
47
|
-
specified ID.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
To filter by an entity's parent folder, provide the ID of the
|
|
51
|
-
parent folder. To filter by the root directory, provide
|
|
52
|
-
|
|
53
|
-
a string representing the entity type of the root directory.
|
|
54
|
-
Supported root directories include:
|
|
55
|
-
|
|
56
|
-
- PROMPT_SANDBOX
|
|
57
|
-
|
|
58
|
-
- WORKFLOW_SANDBOX
|
|
59
|
-
|
|
60
|
-
- DOCUMENT_INDEX
|
|
61
|
-
|
|
62
|
-
- TEST_SUITE
|
|
63
|
-
response:
|
|
64
|
-
docs: ''
|
|
65
|
-
type: root.PaginatedFolderEntityList
|
|
66
|
-
url: Default
|
|
67
|
-
availability: pre-release
|
|
68
|
-
examples:
|
|
69
|
-
- query-parameters:
|
|
70
|
-
parent_folder_id: parent_folder_id
|
|
71
|
-
response:
|
|
72
|
-
body:
|
|
73
|
-
count: 123
|
|
74
|
-
next: http://api.example.org/accounts/?offset=400&limit=100
|
|
75
|
-
previous: http://api.example.org/accounts/?offset=200&limit=100
|
|
76
|
-
results:
|
|
77
|
-
- id: id
|
|
78
|
-
type: FOLDER
|
|
79
|
-
data:
|
|
80
|
-
id: id
|
|
81
|
-
label: label
|
|
82
|
-
created: '2024-01-15T09:30:00Z'
|
|
83
|
-
modified: '2024-01-15T09:30:00Z'
|
|
84
|
-
has_contents: true
|
|
85
|
-
audiences:
|
|
86
|
-
- customers
|
|
87
|
-
add_entity_to_folder:
|
|
88
|
-
path: /v1/folders/{folder_id}/add-entity
|
|
89
|
-
method: POST
|
|
90
|
-
auth: true
|
|
91
|
-
docs: >-
|
|
92
|
-
Add an entity to a specific folder or root directory.
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
Adding an entity to a folder will remove it from any other folders it
|
|
96
|
-
might have been a member of.
|
|
97
|
-
source:
|
|
98
|
-
openapi: openapi/openapi.yml
|
|
99
|
-
path-parameters:
|
|
100
|
-
folder_id:
|
|
101
|
-
type: string
|
|
102
|
-
docs: >-
|
|
103
|
-
The ID of the folder to which the entity should be added. This can
|
|
104
|
-
be a UUID of a folder, or the name of a root
|
|
105
|
-
|
|
106
|
-
directory. Supported root directories include:
|
|
107
|
-
|
|
108
|
-
- PROMPT_SANDBOX
|
|
109
|
-
|
|
110
|
-
- WORKFLOW_SANDBOX
|
|
111
|
-
|
|
112
|
-
- DOCUMENT_INDEX
|
|
113
|
-
|
|
114
|
-
- TEST_SUITE
|
|
115
|
-
request:
|
|
116
|
-
name: AddEntityToFolderRequest
|
|
117
|
-
body:
|
|
118
|
-
properties:
|
|
119
|
-
entity_id:
|
|
120
|
-
type: string
|
|
121
|
-
docs: The ID of the entity you would like to move.
|
|
122
|
-
validation:
|
|
123
|
-
format: uuid
|
|
124
|
-
content-type: application/json
|
|
125
|
-
url: Default
|
|
126
|
-
availability: pre-release
|
|
127
|
-
examples:
|
|
128
|
-
- path-parameters:
|
|
129
|
-
folder_id: folder_id
|
|
130
|
-
request:
|
|
131
|
-
entity_id: entity_id
|
|
132
|
-
audiences:
|
|
133
|
-
- customers
|
|
134
|
-
source:
|
|
135
|
-
openapi: openapi/openapi.yml
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: __package__.yml
|
|
3
|
-
service:
|
|
4
|
-
auth: false
|
|
5
|
-
base-path: ''
|
|
6
|
-
endpoints:
|
|
7
|
-
execute_metric_definition:
|
|
8
|
-
path: /v1/metric-definitions/{id}/execute
|
|
9
|
-
method: POST
|
|
10
|
-
auth: true
|
|
11
|
-
docs: >-
|
|
12
|
-
An internal-only endpoint that's subject to breaking changes without
|
|
13
|
-
notice. Not intended for public use.
|
|
14
|
-
source:
|
|
15
|
-
openapi: openapi/openapi.yml
|
|
16
|
-
path-parameters:
|
|
17
|
-
id:
|
|
18
|
-
type: string
|
|
19
|
-
docs: Either the Metric Definition's ID or its unique name
|
|
20
|
-
request:
|
|
21
|
-
name: ExecuteMetricDefinition
|
|
22
|
-
body:
|
|
23
|
-
properties:
|
|
24
|
-
inputs: list<root.MetricDefinitionInput>
|
|
25
|
-
release_tag:
|
|
26
|
-
type: optional<string>
|
|
27
|
-
validation:
|
|
28
|
-
minLength: 1
|
|
29
|
-
content-type: application/json
|
|
30
|
-
response:
|
|
31
|
-
docs: ''
|
|
32
|
-
type: root.MetricDefinitionExecution
|
|
33
|
-
url: Default
|
|
34
|
-
availability: pre-release
|
|
35
|
-
examples:
|
|
36
|
-
- path-parameters:
|
|
37
|
-
id: id
|
|
38
|
-
request:
|
|
39
|
-
inputs:
|
|
40
|
-
- name: name
|
|
41
|
-
type: STRING
|
|
42
|
-
value: value
|
|
43
|
-
response:
|
|
44
|
-
body:
|
|
45
|
-
outputs:
|
|
46
|
-
- value: value
|
|
47
|
-
type: STRING
|
|
48
|
-
name: name
|
|
49
|
-
audiences:
|
|
50
|
-
- internal
|
|
51
|
-
metric_definition_history_item_retrieve:
|
|
52
|
-
path: /v1/metric-definitions/{id}/history/{history_id_or_release_tag}
|
|
53
|
-
method: GET
|
|
54
|
-
auth: true
|
|
55
|
-
source:
|
|
56
|
-
openapi: openapi/openapi.yml
|
|
57
|
-
path-parameters:
|
|
58
|
-
history_id_or_release_tag:
|
|
59
|
-
type: string
|
|
60
|
-
docs: >-
|
|
61
|
-
Either the UUID of Metric Definition History Item you'd like to
|
|
62
|
-
retrieve, or the name of a Release Tag that's pointing to the Metric
|
|
63
|
-
Definition History Item you'd like to retrieve.
|
|
64
|
-
id:
|
|
65
|
-
type: string
|
|
66
|
-
docs: A UUID string identifying this metric definition.
|
|
67
|
-
response:
|
|
68
|
-
docs: ''
|
|
69
|
-
type: root.MetricDefinitionHistoryItem
|
|
70
|
-
url: Default
|
|
71
|
-
availability: pre-release
|
|
72
|
-
examples:
|
|
73
|
-
- path-parameters:
|
|
74
|
-
history_id_or_release_tag: history_id_or_release_tag
|
|
75
|
-
id: id
|
|
76
|
-
response:
|
|
77
|
-
body:
|
|
78
|
-
id: id
|
|
79
|
-
label: label
|
|
80
|
-
name: name
|
|
81
|
-
description: description
|
|
82
|
-
input_variables:
|
|
83
|
-
- id: id
|
|
84
|
-
key: key
|
|
85
|
-
type: STRING
|
|
86
|
-
required: true
|
|
87
|
-
default:
|
|
88
|
-
type: STRING
|
|
89
|
-
output_variables:
|
|
90
|
-
- id: id
|
|
91
|
-
key: key
|
|
92
|
-
type: STRING
|
|
93
|
-
required: true
|
|
94
|
-
default:
|
|
95
|
-
type: STRING
|
|
96
|
-
audiences:
|
|
97
|
-
- internal
|
|
98
|
-
source:
|
|
99
|
-
openapi: openapi/openapi.yml
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: __package__.yml
|
|
3
|
-
service:
|
|
4
|
-
auth: false
|
|
5
|
-
base-path: ''
|
|
6
|
-
endpoints:
|
|
7
|
-
retrieve:
|
|
8
|
-
path: /v1/ml-models/{id}
|
|
9
|
-
method: GET
|
|
10
|
-
auth: true
|
|
11
|
-
docs: |
|
|
12
|
-
Retrieve details about an ML Model
|
|
13
|
-
source:
|
|
14
|
-
openapi: openapi/openapi.yml
|
|
15
|
-
path-parameters:
|
|
16
|
-
id:
|
|
17
|
-
type: string
|
|
18
|
-
docs: >-
|
|
19
|
-
Either the ML Model's ID, its unique name, or its ID in the
|
|
20
|
-
workspace.
|
|
21
|
-
response:
|
|
22
|
-
docs: ''
|
|
23
|
-
type: root.MlModelRead
|
|
24
|
-
url: Default
|
|
25
|
-
availability: pre-release
|
|
26
|
-
examples:
|
|
27
|
-
- path-parameters:
|
|
28
|
-
id: id
|
|
29
|
-
response:
|
|
30
|
-
body:
|
|
31
|
-
id: id
|
|
32
|
-
name: name
|
|
33
|
-
audiences:
|
|
34
|
-
- internal
|
|
35
|
-
source:
|
|
36
|
-
openapi: openapi/openapi.yml
|