vellum-ai 0.11.8 → 0.11.9
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/.mock/definition/__package__.yml +6750 -0
- package/.mock/definition/adHoc.yml +67 -0
- package/.mock/definition/api.yml +17 -0
- package/.mock/definition/containerImages.yml +151 -0
- package/.mock/definition/deployments.yml +372 -0
- package/.mock/definition/documentIndexes.yml +448 -0
- package/.mock/definition/documents.yml +278 -0
- package/.mock/definition/folderEntities.yml +135 -0
- package/.mock/definition/metricDefinitions.yml +99 -0
- package/.mock/definition/mlModels.yml +36 -0
- package/.mock/definition/sandboxes.yml +205 -0
- package/.mock/definition/testSuiteRuns.yml +163 -0
- package/.mock/definition/testSuites.yml +182 -0
- package/.mock/definition/workflowDeployments.yml +299 -0
- package/.mock/definition/workflowSandboxes.yml +94 -0
- package/.mock/definition/workflows.yml +83 -0
- package/.mock/definition/workspaceSecrets.yml +78 -0
- package/.mock/fern.config.json +4 -0
- package/.mock/openapi/openapi.yml +12127 -0
- 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
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: __package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
deploy_prompt:
|
|
8
|
+
path: /v1/sandboxes/{id}/prompts/{prompt_variant_id}/deploy
|
|
9
|
+
method: POST
|
|
10
|
+
auth: true
|
|
11
|
+
source:
|
|
12
|
+
openapi: openapi/openapi.yml
|
|
13
|
+
path-parameters:
|
|
14
|
+
id:
|
|
15
|
+
type: string
|
|
16
|
+
docs: A UUID string identifying this sandbox.
|
|
17
|
+
prompt_variant_id:
|
|
18
|
+
type: string
|
|
19
|
+
docs: An ID identifying the Prompt you'd like to deploy.
|
|
20
|
+
request:
|
|
21
|
+
name: DeploySandboxPromptRequest
|
|
22
|
+
body:
|
|
23
|
+
properties:
|
|
24
|
+
prompt_deployment_id:
|
|
25
|
+
type: optional<string>
|
|
26
|
+
docs: >-
|
|
27
|
+
The Vellum-generated ID of the Prompt Deployment you'd like to
|
|
28
|
+
update. Cannot specify both this and prompt_deployment_name.
|
|
29
|
+
Leave null to create a new Prompt Deployment.
|
|
30
|
+
validation:
|
|
31
|
+
format: uuid
|
|
32
|
+
prompt_deployment_name:
|
|
33
|
+
type: optional<string>
|
|
34
|
+
docs: >-
|
|
35
|
+
The unique name of the Prompt Deployment you'd like to either
|
|
36
|
+
create or update. Cannot specify both this and
|
|
37
|
+
prompt_deployment_id. If provided and matches an existing Prompt
|
|
38
|
+
Deployment, that Prompt Deployment will be updated. Otherwise, a
|
|
39
|
+
new Prompt Deployment will be created.
|
|
40
|
+
validation:
|
|
41
|
+
minLength: 1
|
|
42
|
+
label:
|
|
43
|
+
type: optional<string>
|
|
44
|
+
docs: >-
|
|
45
|
+
In the event that a new Prompt Deployment is created, this will
|
|
46
|
+
be the label it's given.
|
|
47
|
+
validation:
|
|
48
|
+
minLength: 1
|
|
49
|
+
release_tags:
|
|
50
|
+
type: optional<list<string>>
|
|
51
|
+
docs: >-
|
|
52
|
+
Optionally provide the release tags that you'd like to be
|
|
53
|
+
associated with the latest release of the created/updated Prompt
|
|
54
|
+
Deployment.
|
|
55
|
+
content-type: application/json
|
|
56
|
+
response:
|
|
57
|
+
docs: ''
|
|
58
|
+
type: root.DeploymentRead
|
|
59
|
+
url: Default
|
|
60
|
+
availability: pre-release
|
|
61
|
+
examples:
|
|
62
|
+
- path-parameters:
|
|
63
|
+
id: id
|
|
64
|
+
prompt_variant_id: prompt_variant_id
|
|
65
|
+
request: {}
|
|
66
|
+
response:
|
|
67
|
+
body:
|
|
68
|
+
id: id
|
|
69
|
+
created: '2024-01-15T09:30:00Z'
|
|
70
|
+
label: label
|
|
71
|
+
name: name
|
|
72
|
+
status: ACTIVE
|
|
73
|
+
environment: DEVELOPMENT
|
|
74
|
+
last_deployed_on: '2024-01-15T09:30:00Z'
|
|
75
|
+
input_variables:
|
|
76
|
+
- id: id
|
|
77
|
+
key: key
|
|
78
|
+
type: STRING
|
|
79
|
+
required: true
|
|
80
|
+
default:
|
|
81
|
+
type: STRING
|
|
82
|
+
description: description
|
|
83
|
+
active_model_version_ids:
|
|
84
|
+
- active_model_version_ids
|
|
85
|
+
last_deployed_history_item_id: last_deployed_history_item_id
|
|
86
|
+
audiences:
|
|
87
|
+
- customers
|
|
88
|
+
upsert_sandbox_scenario:
|
|
89
|
+
path: /v1/sandboxes/{id}/scenarios
|
|
90
|
+
method: POST
|
|
91
|
+
auth: true
|
|
92
|
+
docs: >-
|
|
93
|
+
Upserts a new scenario for a sandbox, keying off of the optionally
|
|
94
|
+
provided scenario id.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
If an id is provided and has a match, the scenario will be updated. If
|
|
98
|
+
no id is provided or no match
|
|
99
|
+
|
|
100
|
+
is found, a new scenario will be appended to the end.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
Note that a full replacement of the scenario is performed, so any fields
|
|
104
|
+
not provided will be removed
|
|
105
|
+
|
|
106
|
+
or overwritten with default values.
|
|
107
|
+
source:
|
|
108
|
+
openapi: openapi/openapi.yml
|
|
109
|
+
path-parameters:
|
|
110
|
+
id:
|
|
111
|
+
type: string
|
|
112
|
+
docs: A UUID string identifying this sandbox.
|
|
113
|
+
request:
|
|
114
|
+
name: UpsertSandboxScenarioRequest
|
|
115
|
+
body:
|
|
116
|
+
properties:
|
|
117
|
+
label:
|
|
118
|
+
type: optional<string>
|
|
119
|
+
default: Untitled Scenario
|
|
120
|
+
inputs:
|
|
121
|
+
docs: The inputs for the scenario
|
|
122
|
+
type: list<root.NamedScenarioInputRequest>
|
|
123
|
+
scenario_id:
|
|
124
|
+
type: optional<string>
|
|
125
|
+
docs: >-
|
|
126
|
+
The id of the scenario to update. If none is provided, an id
|
|
127
|
+
will be generated and a new scenario will be appended.
|
|
128
|
+
validation:
|
|
129
|
+
minLength: 1
|
|
130
|
+
content-type: application/json
|
|
131
|
+
response:
|
|
132
|
+
docs: ''
|
|
133
|
+
type: root.SandboxScenario
|
|
134
|
+
url: Default
|
|
135
|
+
availability: pre-release
|
|
136
|
+
examples:
|
|
137
|
+
- name: Basic Example
|
|
138
|
+
path-parameters:
|
|
139
|
+
id: id
|
|
140
|
+
request:
|
|
141
|
+
label: Scenario 1
|
|
142
|
+
inputs:
|
|
143
|
+
- type: STRING
|
|
144
|
+
value: Hello, world!
|
|
145
|
+
name: var_1
|
|
146
|
+
- type: STRING
|
|
147
|
+
value: Why hello, there!
|
|
148
|
+
name: var_2
|
|
149
|
+
response:
|
|
150
|
+
body:
|
|
151
|
+
label: label
|
|
152
|
+
inputs:
|
|
153
|
+
- type: STRING
|
|
154
|
+
value: value
|
|
155
|
+
input_variable_id: input_variable_id
|
|
156
|
+
id: id
|
|
157
|
+
- name: Chat History Example
|
|
158
|
+
path-parameters:
|
|
159
|
+
id: id
|
|
160
|
+
request:
|
|
161
|
+
label: Scenario 2
|
|
162
|
+
inputs:
|
|
163
|
+
- type: CHAT_HISTORY
|
|
164
|
+
value:
|
|
165
|
+
- text: What's your favorite color?
|
|
166
|
+
role: USER
|
|
167
|
+
- text: AI's don't have a favorite color.... Yet.
|
|
168
|
+
role: ASSISTANT
|
|
169
|
+
name: chat_history
|
|
170
|
+
response:
|
|
171
|
+
body:
|
|
172
|
+
label: label
|
|
173
|
+
inputs:
|
|
174
|
+
- type: STRING
|
|
175
|
+
value: value
|
|
176
|
+
input_variable_id: input_variable_id
|
|
177
|
+
id: id
|
|
178
|
+
audiences:
|
|
179
|
+
- customers
|
|
180
|
+
delete_sandbox_scenario:
|
|
181
|
+
path: /v1/sandboxes/{id}/scenarios/{scenario_id}
|
|
182
|
+
method: DELETE
|
|
183
|
+
auth: true
|
|
184
|
+
docs: >-
|
|
185
|
+
Deletes an existing scenario from a sandbox, keying off of the provided
|
|
186
|
+
scenario id.
|
|
187
|
+
source:
|
|
188
|
+
openapi: openapi/openapi.yml
|
|
189
|
+
path-parameters:
|
|
190
|
+
id:
|
|
191
|
+
type: string
|
|
192
|
+
docs: A UUID string identifying this sandbox.
|
|
193
|
+
scenario_id:
|
|
194
|
+
type: string
|
|
195
|
+
docs: An id identifying the scenario that you'd like to delete
|
|
196
|
+
url: Default
|
|
197
|
+
availability: pre-release
|
|
198
|
+
examples:
|
|
199
|
+
- path-parameters:
|
|
200
|
+
id: id
|
|
201
|
+
scenario_id: scenario_id
|
|
202
|
+
audiences:
|
|
203
|
+
- customers
|
|
204
|
+
source:
|
|
205
|
+
openapi: openapi/openapi.yml
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: __package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
create:
|
|
8
|
+
path: /v1/test-suite-runs
|
|
9
|
+
method: POST
|
|
10
|
+
auth: true
|
|
11
|
+
docs: Trigger a Test Suite and create a new Test Suite Run
|
|
12
|
+
source:
|
|
13
|
+
openapi: openapi/openapi.yml
|
|
14
|
+
request:
|
|
15
|
+
name: TestSuiteRunCreateRequest
|
|
16
|
+
body:
|
|
17
|
+
properties:
|
|
18
|
+
test_suite_id:
|
|
19
|
+
type: optional<string>
|
|
20
|
+
docs: >-
|
|
21
|
+
The ID of the Test Suite to run. Must provide either this or
|
|
22
|
+
test_suite_id.
|
|
23
|
+
validation:
|
|
24
|
+
format: uuid
|
|
25
|
+
test_suite_name:
|
|
26
|
+
type: optional<string>
|
|
27
|
+
docs: >-
|
|
28
|
+
The name of the Test Suite to run. Must provide either this or
|
|
29
|
+
test_suite_id.
|
|
30
|
+
validation:
|
|
31
|
+
minLength: 1
|
|
32
|
+
exec_config:
|
|
33
|
+
type: root.TestSuiteRunExecConfigRequest
|
|
34
|
+
docs: Configuration that defines how the Test Suite should be run
|
|
35
|
+
content-type: application/json
|
|
36
|
+
response:
|
|
37
|
+
docs: ''
|
|
38
|
+
type: root.TestSuiteRunRead
|
|
39
|
+
url: Default
|
|
40
|
+
availability: pre-release
|
|
41
|
+
examples:
|
|
42
|
+
- request:
|
|
43
|
+
exec_config:
|
|
44
|
+
type: DEPLOYMENT_RELEASE_TAG
|
|
45
|
+
data:
|
|
46
|
+
deployment_id: deployment_id
|
|
47
|
+
response:
|
|
48
|
+
body:
|
|
49
|
+
id: id
|
|
50
|
+
created: '2024-01-15T09:30:00Z'
|
|
51
|
+
test_suite:
|
|
52
|
+
id: id
|
|
53
|
+
history_item_id: history_item_id
|
|
54
|
+
label: label
|
|
55
|
+
state: QUEUED
|
|
56
|
+
exec_config:
|
|
57
|
+
type: DEPLOYMENT_RELEASE_TAG
|
|
58
|
+
data:
|
|
59
|
+
deployment_id: deployment_id
|
|
60
|
+
tag: tag
|
|
61
|
+
test_case_ids:
|
|
62
|
+
- test_case_ids
|
|
63
|
+
audiences:
|
|
64
|
+
- customers
|
|
65
|
+
retrieve:
|
|
66
|
+
path: /v1/test-suite-runs/{id}
|
|
67
|
+
method: GET
|
|
68
|
+
auth: true
|
|
69
|
+
docs: Retrieve a specific Test Suite Run by ID
|
|
70
|
+
source:
|
|
71
|
+
openapi: openapi/openapi.yml
|
|
72
|
+
path-parameters:
|
|
73
|
+
id:
|
|
74
|
+
type: string
|
|
75
|
+
docs: A UUID string identifying this test suite run.
|
|
76
|
+
response:
|
|
77
|
+
docs: ''
|
|
78
|
+
type: root.TestSuiteRunRead
|
|
79
|
+
url: Default
|
|
80
|
+
availability: pre-release
|
|
81
|
+
examples:
|
|
82
|
+
- path-parameters:
|
|
83
|
+
id: id
|
|
84
|
+
response:
|
|
85
|
+
body:
|
|
86
|
+
id: id
|
|
87
|
+
created: '2024-01-15T09:30:00Z'
|
|
88
|
+
test_suite:
|
|
89
|
+
id: id
|
|
90
|
+
history_item_id: history_item_id
|
|
91
|
+
label: label
|
|
92
|
+
state: QUEUED
|
|
93
|
+
exec_config:
|
|
94
|
+
type: DEPLOYMENT_RELEASE_TAG
|
|
95
|
+
data:
|
|
96
|
+
deployment_id: deployment_id
|
|
97
|
+
tag: tag
|
|
98
|
+
test_case_ids:
|
|
99
|
+
- test_case_ids
|
|
100
|
+
audiences:
|
|
101
|
+
- customers
|
|
102
|
+
listExecutions:
|
|
103
|
+
path: /v1/test-suite-runs/{id}/executions
|
|
104
|
+
method: GET
|
|
105
|
+
auth: true
|
|
106
|
+
source:
|
|
107
|
+
openapi: openapi/openapi.yml
|
|
108
|
+
path-parameters:
|
|
109
|
+
id:
|
|
110
|
+
type: string
|
|
111
|
+
docs: A UUID string identifying this test suite run.
|
|
112
|
+
request:
|
|
113
|
+
name: TestSuiteRunsListExecutionsRequest
|
|
114
|
+
query-parameters:
|
|
115
|
+
expand:
|
|
116
|
+
type: optional<string>
|
|
117
|
+
allow-multiple: true
|
|
118
|
+
docs: >-
|
|
119
|
+
The response fields to expand for more information.
|
|
120
|
+
|
|
121
|
+
- 'results.metric_results.metric_label' expands the metric label
|
|
122
|
+
for each metric result.
|
|
123
|
+
|
|
124
|
+
- 'results.metric_results.metric_definition' expands the metric
|
|
125
|
+
definition for each metric result.
|
|
126
|
+
|
|
127
|
+
- 'results.metric_results.metric_definition.name' expands the
|
|
128
|
+
metric definition name for each metric result.
|
|
129
|
+
limit:
|
|
130
|
+
type: optional<integer>
|
|
131
|
+
docs: Number of results to return per page.
|
|
132
|
+
offset:
|
|
133
|
+
type: optional<integer>
|
|
134
|
+
docs: The initial index from which to return the results.
|
|
135
|
+
response:
|
|
136
|
+
docs: ''
|
|
137
|
+
type: root.PaginatedTestSuiteRunExecutionList
|
|
138
|
+
url: Default
|
|
139
|
+
availability: pre-release
|
|
140
|
+
examples:
|
|
141
|
+
- path-parameters:
|
|
142
|
+
id: id
|
|
143
|
+
response:
|
|
144
|
+
body:
|
|
145
|
+
count: 123
|
|
146
|
+
next: http://api.example.org/accounts/?offset=400&limit=100
|
|
147
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100
|
|
148
|
+
results:
|
|
149
|
+
- id: id
|
|
150
|
+
test_case_id: test_case_id
|
|
151
|
+
outputs:
|
|
152
|
+
- name: name
|
|
153
|
+
type: STRING
|
|
154
|
+
output_variable_id: output_variable_id
|
|
155
|
+
metric_results:
|
|
156
|
+
- metric_id: metric_id
|
|
157
|
+
outputs:
|
|
158
|
+
- type: STRING
|
|
159
|
+
name: name
|
|
160
|
+
audiences:
|
|
161
|
+
- customers
|
|
162
|
+
source:
|
|
163
|
+
openapi: openapi/openapi.yml
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: __package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
list_test_suite_test_cases:
|
|
8
|
+
path: /v1/test-suites/{id}/test-cases
|
|
9
|
+
method: GET
|
|
10
|
+
auth: true
|
|
11
|
+
docs: List the Test Cases associated with a Test Suite
|
|
12
|
+
source:
|
|
13
|
+
openapi: openapi/openapi.yml
|
|
14
|
+
path-parameters:
|
|
15
|
+
id:
|
|
16
|
+
type: string
|
|
17
|
+
docs: Either the Test Suites' ID or its unique name
|
|
18
|
+
request:
|
|
19
|
+
name: ListTestSuiteTestCasesRequest
|
|
20
|
+
query-parameters:
|
|
21
|
+
limit:
|
|
22
|
+
type: optional<integer>
|
|
23
|
+
docs: Number of results to return per page.
|
|
24
|
+
offset:
|
|
25
|
+
type: optional<integer>
|
|
26
|
+
docs: The initial index from which to return the results.
|
|
27
|
+
response:
|
|
28
|
+
docs: ''
|
|
29
|
+
type: root.PaginatedTestSuiteTestCaseList
|
|
30
|
+
url: Default
|
|
31
|
+
availability: pre-release
|
|
32
|
+
examples:
|
|
33
|
+
- path-parameters:
|
|
34
|
+
id: id
|
|
35
|
+
response:
|
|
36
|
+
body:
|
|
37
|
+
count: 123
|
|
38
|
+
next: http://api.example.org/accounts/?offset=400&limit=100
|
|
39
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100
|
|
40
|
+
results:
|
|
41
|
+
- id: id
|
|
42
|
+
external_id: external_id
|
|
43
|
+
label: label
|
|
44
|
+
input_values:
|
|
45
|
+
- variable_id: variable_id
|
|
46
|
+
name: name
|
|
47
|
+
type: STRING
|
|
48
|
+
evaluation_values:
|
|
49
|
+
- variable_id: variable_id
|
|
50
|
+
name: name
|
|
51
|
+
type: STRING
|
|
52
|
+
audiences:
|
|
53
|
+
- customers
|
|
54
|
+
upsert_test_suite_test_case:
|
|
55
|
+
path: /v1/test-suites/{id}/test-cases
|
|
56
|
+
method: POST
|
|
57
|
+
auth: true
|
|
58
|
+
docs: >-
|
|
59
|
+
Upserts a new test case for a test suite, keying off of the optionally
|
|
60
|
+
provided test case id.
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
If an id is provided and has a match, the test case will be updated. If
|
|
64
|
+
no id is provided or no match
|
|
65
|
+
|
|
66
|
+
is found, a new test case will be appended to the end.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
Note that a full replacement of the test case is performed, so any
|
|
70
|
+
fields not provided will be removed
|
|
71
|
+
|
|
72
|
+
or overwritten with default values.
|
|
73
|
+
source:
|
|
74
|
+
openapi: openapi/openapi.yml
|
|
75
|
+
path-parameters:
|
|
76
|
+
id:
|
|
77
|
+
type: string
|
|
78
|
+
docs: Either the Test Suites' ID or its unique name
|
|
79
|
+
request:
|
|
80
|
+
body: root.UpsertTestSuiteTestCaseRequest
|
|
81
|
+
content-type: application/json
|
|
82
|
+
response:
|
|
83
|
+
docs: ''
|
|
84
|
+
type: root.TestSuiteTestCase
|
|
85
|
+
url: Default
|
|
86
|
+
availability: pre-release
|
|
87
|
+
examples:
|
|
88
|
+
- path-parameters:
|
|
89
|
+
id: id
|
|
90
|
+
request:
|
|
91
|
+
input_values:
|
|
92
|
+
- type: STRING
|
|
93
|
+
name: name
|
|
94
|
+
evaluation_values:
|
|
95
|
+
- type: STRING
|
|
96
|
+
name: name
|
|
97
|
+
response:
|
|
98
|
+
body:
|
|
99
|
+
id: id
|
|
100
|
+
external_id: external_id
|
|
101
|
+
label: label
|
|
102
|
+
input_values:
|
|
103
|
+
- variable_id: variable_id
|
|
104
|
+
name: name
|
|
105
|
+
type: STRING
|
|
106
|
+
value: value
|
|
107
|
+
evaluation_values:
|
|
108
|
+
- variable_id: variable_id
|
|
109
|
+
name: name
|
|
110
|
+
type: STRING
|
|
111
|
+
value: value
|
|
112
|
+
audiences:
|
|
113
|
+
- customers
|
|
114
|
+
test_suite_test_cases_bulk:
|
|
115
|
+
path: /v1/test-suites/{id}/test-cases-bulk
|
|
116
|
+
method: POST
|
|
117
|
+
auth: true
|
|
118
|
+
docs: >-
|
|
119
|
+
Created, replace, and delete Test Cases within the specified Test Suite
|
|
120
|
+
in bulk
|
|
121
|
+
source:
|
|
122
|
+
openapi: openapi/openapi.yml
|
|
123
|
+
path-parameters:
|
|
124
|
+
id:
|
|
125
|
+
type: string
|
|
126
|
+
docs: Either the Test Suites' ID or its unique name
|
|
127
|
+
request:
|
|
128
|
+
body: list<root.TestSuiteTestCaseBulkOperationRequest>
|
|
129
|
+
content-type: application/x-ndjson
|
|
130
|
+
response-stream:
|
|
131
|
+
docs: ''
|
|
132
|
+
type: list<root.TestSuiteTestCaseBulkResult>
|
|
133
|
+
format: json
|
|
134
|
+
url: Default
|
|
135
|
+
availability: pre-release
|
|
136
|
+
examples:
|
|
137
|
+
- path-parameters:
|
|
138
|
+
id: id
|
|
139
|
+
request:
|
|
140
|
+
- id: id
|
|
141
|
+
type: CREATE
|
|
142
|
+
data:
|
|
143
|
+
input_values:
|
|
144
|
+
- type: STRING
|
|
145
|
+
name: name
|
|
146
|
+
evaluation_values:
|
|
147
|
+
- type: STRING
|
|
148
|
+
name: name
|
|
149
|
+
response:
|
|
150
|
+
stream:
|
|
151
|
+
- - id: id
|
|
152
|
+
type: CREATED
|
|
153
|
+
data:
|
|
154
|
+
id: id
|
|
155
|
+
audiences:
|
|
156
|
+
- customers
|
|
157
|
+
delete_test_suite_test_case:
|
|
158
|
+
path: /v1/test-suites/{id}/test-cases/{test_case_id}
|
|
159
|
+
method: DELETE
|
|
160
|
+
auth: true
|
|
161
|
+
docs: >
|
|
162
|
+
Deletes an existing test case for a test suite, keying off of the test
|
|
163
|
+
case id.
|
|
164
|
+
source:
|
|
165
|
+
openapi: openapi/openapi.yml
|
|
166
|
+
path-parameters:
|
|
167
|
+
id:
|
|
168
|
+
type: string
|
|
169
|
+
docs: Either the Test Suites' ID or its unique name
|
|
170
|
+
test_case_id:
|
|
171
|
+
type: string
|
|
172
|
+
docs: An id identifying the test case that you'd like to delete
|
|
173
|
+
url: Default
|
|
174
|
+
availability: pre-release
|
|
175
|
+
examples:
|
|
176
|
+
- path-parameters:
|
|
177
|
+
id: id
|
|
178
|
+
test_case_id: test_case_id
|
|
179
|
+
audiences:
|
|
180
|
+
- customers
|
|
181
|
+
source:
|
|
182
|
+
openapi: openapi/openapi.yml
|