vellum-ai 0.14.66__py3-none-any.whl → 0.14.68__py3-none-any.whl

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.
@@ -3749,3 +3749,2770 @@ Filter down to only those objects whose entities have a status matching the stat
3749
3749
  </details>
3750
3750
 
3751
3751
  <details><summary><code>client.folder_entities.<a href="src/vellum/resources/folder_entities/client.py">add_entity_to_folder</a>(...)</code></summary>
3752
+ <dl>
3753
+ <dd>
3754
+
3755
+ #### 📝 Description
3756
+
3757
+ <dl>
3758
+ <dd>
3759
+
3760
+ <dl>
3761
+ <dd>
3762
+
3763
+ Add an entity to a specific folder or root directory.
3764
+
3765
+ Adding an entity to a folder will remove it from any other folders it might have been a member of.
3766
+ </dd>
3767
+ </dl>
3768
+ </dd>
3769
+ </dl>
3770
+
3771
+ #### 🔌 Usage
3772
+
3773
+ <dl>
3774
+ <dd>
3775
+
3776
+ <dl>
3777
+ <dd>
3778
+
3779
+ ```python
3780
+ from vellum import Vellum
3781
+
3782
+ client = Vellum(
3783
+ api_key="YOUR_API_KEY",
3784
+ )
3785
+ client.folder_entities.add_entity_to_folder(
3786
+ folder_id="folder_id",
3787
+ entity_id="entity_id",
3788
+ )
3789
+
3790
+ ```
3791
+ </dd>
3792
+ </dl>
3793
+ </dd>
3794
+ </dl>
3795
+
3796
+ #### ⚙️ Parameters
3797
+
3798
+ <dl>
3799
+ <dd>
3800
+
3801
+ <dl>
3802
+ <dd>
3803
+
3804
+ **folder_id:** `str`
3805
+
3806
+ The ID of the folder to which the entity should be added. This can be a UUID of a folder, or the name of a root
3807
+ directory. Supported root directories include:
3808
+ - PROMPT_SANDBOX
3809
+ - WORKFLOW_SANDBOX
3810
+ - DOCUMENT_INDEX
3811
+ - TEST_SUITE
3812
+
3813
+ </dd>
3814
+ </dl>
3815
+
3816
+ <dl>
3817
+ <dd>
3818
+
3819
+ **entity_id:** `str` — The ID of the entity you would like to move.
3820
+
3821
+ </dd>
3822
+ </dl>
3823
+
3824
+ <dl>
3825
+ <dd>
3826
+
3827
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3828
+
3829
+ </dd>
3830
+ </dl>
3831
+ </dd>
3832
+ </dl>
3833
+
3834
+
3835
+ </dd>
3836
+ </dl>
3837
+ </details>
3838
+
3839
+ ## MetricDefinitions
3840
+ <details><summary><code>client.metric_definitions.<a href="src/vellum/resources/metric_definitions/client.py">execute_metric_definition</a>(...)</code></summary>
3841
+ <dl>
3842
+ <dd>
3843
+
3844
+ #### 🔌 Usage
3845
+
3846
+ <dl>
3847
+ <dd>
3848
+
3849
+ <dl>
3850
+ <dd>
3851
+
3852
+ ```python
3853
+ from vellum import StringInput, Vellum
3854
+
3855
+ client = Vellum(
3856
+ api_key="YOUR_API_KEY",
3857
+ )
3858
+ client.metric_definitions.execute_metric_definition(
3859
+ id="id",
3860
+ inputs=[
3861
+ StringInput(
3862
+ name="name",
3863
+ value="value",
3864
+ )
3865
+ ],
3866
+ )
3867
+
3868
+ ```
3869
+ </dd>
3870
+ </dl>
3871
+ </dd>
3872
+ </dl>
3873
+
3874
+ #### ⚙️ Parameters
3875
+
3876
+ <dl>
3877
+ <dd>
3878
+
3879
+ <dl>
3880
+ <dd>
3881
+
3882
+ **id:** `str` — Either the Metric Definition's ID or its unique name
3883
+
3884
+ </dd>
3885
+ </dl>
3886
+
3887
+ <dl>
3888
+ <dd>
3889
+
3890
+ **inputs:** `typing.Sequence[MetricDefinitionInput]`
3891
+
3892
+ </dd>
3893
+ </dl>
3894
+
3895
+ <dl>
3896
+ <dd>
3897
+
3898
+ **release_tag:** `typing.Optional[str]`
3899
+
3900
+ </dd>
3901
+ </dl>
3902
+
3903
+ <dl>
3904
+ <dd>
3905
+
3906
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3907
+
3908
+ </dd>
3909
+ </dl>
3910
+ </dd>
3911
+ </dl>
3912
+
3913
+
3914
+ </dd>
3915
+ </dl>
3916
+ </details>
3917
+
3918
+ <details><summary><code>client.metric_definitions.<a href="src/vellum/resources/metric_definitions/client.py">metric_definition_history_item_retrieve</a>(...)</code></summary>
3919
+ <dl>
3920
+ <dd>
3921
+
3922
+ #### 🔌 Usage
3923
+
3924
+ <dl>
3925
+ <dd>
3926
+
3927
+ <dl>
3928
+ <dd>
3929
+
3930
+ ```python
3931
+ from vellum import Vellum
3932
+
3933
+ client = Vellum(
3934
+ api_key="YOUR_API_KEY",
3935
+ )
3936
+ client.metric_definitions.metric_definition_history_item_retrieve(
3937
+ history_id_or_release_tag="history_id_or_release_tag",
3938
+ id="id",
3939
+ )
3940
+
3941
+ ```
3942
+ </dd>
3943
+ </dl>
3944
+ </dd>
3945
+ </dl>
3946
+
3947
+ #### ⚙️ Parameters
3948
+
3949
+ <dl>
3950
+ <dd>
3951
+
3952
+ <dl>
3953
+ <dd>
3954
+
3955
+ **history_id_or_release_tag:** `str` — Either the UUID of Metric Definition History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Metric Definition History Item you'd like to retrieve.
3956
+
3957
+ </dd>
3958
+ </dl>
3959
+
3960
+ <dl>
3961
+ <dd>
3962
+
3963
+ **id:** `str` — A UUID string identifying this metric definition.
3964
+
3965
+ </dd>
3966
+ </dl>
3967
+
3968
+ <dl>
3969
+ <dd>
3970
+
3971
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3972
+
3973
+ </dd>
3974
+ </dl>
3975
+ </dd>
3976
+ </dl>
3977
+
3978
+
3979
+ </dd>
3980
+ </dl>
3981
+ </details>
3982
+
3983
+ ## MlModels
3984
+ <details><summary><code>client.ml_models.<a href="src/vellum/resources/ml_models/client.py">retrieve</a>(...)</code></summary>
3985
+ <dl>
3986
+ <dd>
3987
+
3988
+ #### 📝 Description
3989
+
3990
+ <dl>
3991
+ <dd>
3992
+
3993
+ <dl>
3994
+ <dd>
3995
+
3996
+ Retrieve details about an ML Model
3997
+ </dd>
3998
+ </dl>
3999
+ </dd>
4000
+ </dl>
4001
+
4002
+ #### 🔌 Usage
4003
+
4004
+ <dl>
4005
+ <dd>
4006
+
4007
+ <dl>
4008
+ <dd>
4009
+
4010
+ ```python
4011
+ from vellum import Vellum
4012
+
4013
+ client = Vellum(
4014
+ api_key="YOUR_API_KEY",
4015
+ )
4016
+ client.ml_models.retrieve(
4017
+ id="id",
4018
+ )
4019
+
4020
+ ```
4021
+ </dd>
4022
+ </dl>
4023
+ </dd>
4024
+ </dl>
4025
+
4026
+ #### ⚙️ Parameters
4027
+
4028
+ <dl>
4029
+ <dd>
4030
+
4031
+ <dl>
4032
+ <dd>
4033
+
4034
+ **id:** `str` — Either the ML Model's ID, its unique name, or its ID in the workspace.
4035
+
4036
+ </dd>
4037
+ </dl>
4038
+
4039
+ <dl>
4040
+ <dd>
4041
+
4042
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4043
+
4044
+ </dd>
4045
+ </dl>
4046
+ </dd>
4047
+ </dl>
4048
+
4049
+
4050
+ </dd>
4051
+ </dl>
4052
+ </details>
4053
+
4054
+ ## Organizations
4055
+ <details><summary><code>client.organizations.<a href="src/vellum/resources/organizations/client.py">organization_identity</a>()</code></summary>
4056
+ <dl>
4057
+ <dd>
4058
+
4059
+ #### 📝 Description
4060
+
4061
+ <dl>
4062
+ <dd>
4063
+
4064
+ <dl>
4065
+ <dd>
4066
+
4067
+ Retrieves information about the active Organization
4068
+ </dd>
4069
+ </dl>
4070
+ </dd>
4071
+ </dl>
4072
+
4073
+ #### 🔌 Usage
4074
+
4075
+ <dl>
4076
+ <dd>
4077
+
4078
+ <dl>
4079
+ <dd>
4080
+
4081
+ ```python
4082
+ from vellum import Vellum
4083
+
4084
+ client = Vellum(
4085
+ api_key="YOUR_API_KEY",
4086
+ )
4087
+ client.organizations.organization_identity()
4088
+
4089
+ ```
4090
+ </dd>
4091
+ </dl>
4092
+ </dd>
4093
+ </dl>
4094
+
4095
+ #### ⚙️ Parameters
4096
+
4097
+ <dl>
4098
+ <dd>
4099
+
4100
+ <dl>
4101
+ <dd>
4102
+
4103
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4104
+
4105
+ </dd>
4106
+ </dl>
4107
+ </dd>
4108
+ </dl>
4109
+
4110
+
4111
+ </dd>
4112
+ </dl>
4113
+ </details>
4114
+
4115
+ ## Prompts
4116
+ <details><summary><code>client.prompts.<a href="src/vellum/resources/prompts/client.py">pull</a>(...)</code></summary>
4117
+ <dl>
4118
+ <dd>
4119
+
4120
+ #### 📝 Description
4121
+
4122
+ <dl>
4123
+ <dd>
4124
+
4125
+ <dl>
4126
+ <dd>
4127
+
4128
+ Used to pull the definition of a Prompt from Vellum.
4129
+ </dd>
4130
+ </dl>
4131
+ </dd>
4132
+ </dl>
4133
+
4134
+ #### 🔌 Usage
4135
+
4136
+ <dl>
4137
+ <dd>
4138
+
4139
+ <dl>
4140
+ <dd>
4141
+
4142
+ ```python
4143
+ from vellum import Vellum
4144
+
4145
+ client = Vellum(
4146
+ api_key="YOUR_API_KEY",
4147
+ )
4148
+ client.prompts.pull(
4149
+ id="id",
4150
+ )
4151
+
4152
+ ```
4153
+ </dd>
4154
+ </dl>
4155
+ </dd>
4156
+ </dl>
4157
+
4158
+ #### ⚙️ Parameters
4159
+
4160
+ <dl>
4161
+ <dd>
4162
+
4163
+ <dl>
4164
+ <dd>
4165
+
4166
+ **id:** `str` — The ID of the Prompt to pull from. Prompt Sandbox IDs are currently supported.
4167
+
4168
+ </dd>
4169
+ </dl>
4170
+
4171
+ <dl>
4172
+ <dd>
4173
+
4174
+ **prompt_variant_id:** `typing.Optional[str]` — The ID of the Prompt Variant within a Prompt Sandbox to pull. Must be included if providing the ID of a Prompt Sandbox.
4175
+
4176
+ </dd>
4177
+ </dl>
4178
+
4179
+ <dl>
4180
+ <dd>
4181
+
4182
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4183
+
4184
+ </dd>
4185
+ </dl>
4186
+ </dd>
4187
+ </dl>
4188
+
4189
+
4190
+ </dd>
4191
+ </dl>
4192
+ </details>
4193
+
4194
+ <details><summary><code>client.prompts.<a href="src/vellum/resources/prompts/client.py">push</a>(...)</code></summary>
4195
+ <dl>
4196
+ <dd>
4197
+
4198
+ #### 📝 Description
4199
+
4200
+ <dl>
4201
+ <dd>
4202
+
4203
+ <dl>
4204
+ <dd>
4205
+
4206
+ Used to push updates to a Prompt in Vellum.
4207
+ </dd>
4208
+ </dl>
4209
+ </dd>
4210
+ </dl>
4211
+
4212
+ #### 🔌 Usage
4213
+
4214
+ <dl>
4215
+ <dd>
4216
+
4217
+ <dl>
4218
+ <dd>
4219
+
4220
+ ```python
4221
+ from vellum import (
4222
+ JinjaPromptBlock,
4223
+ PromptExecConfig,
4224
+ PromptParameters,
4225
+ Vellum,
4226
+ VellumVariable,
4227
+ )
4228
+
4229
+ client = Vellum(
4230
+ api_key="YOUR_API_KEY",
4231
+ )
4232
+ client.prompts.push(
4233
+ exec_config=PromptExecConfig(
4234
+ ml_model="ml_model",
4235
+ input_variables=[
4236
+ VellumVariable(
4237
+ id="id",
4238
+ key="key",
4239
+ type="STRING",
4240
+ )
4241
+ ],
4242
+ parameters=PromptParameters(),
4243
+ blocks=[
4244
+ JinjaPromptBlock(
4245
+ template="template",
4246
+ )
4247
+ ],
4248
+ ),
4249
+ )
4250
+
4251
+ ```
4252
+ </dd>
4253
+ </dl>
4254
+ </dd>
4255
+ </dl>
4256
+
4257
+ #### ⚙️ Parameters
4258
+
4259
+ <dl>
4260
+ <dd>
4261
+
4262
+ <dl>
4263
+ <dd>
4264
+
4265
+ **exec_config:** `PromptExecConfig`
4266
+
4267
+ </dd>
4268
+ </dl>
4269
+
4270
+ <dl>
4271
+ <dd>
4272
+
4273
+ **prompt_variant_id:** `typing.Optional[str]`
4274
+
4275
+ </dd>
4276
+ </dl>
4277
+
4278
+ <dl>
4279
+ <dd>
4280
+
4281
+ **prompt_sandbox_id:** `typing.Optional[str]`
4282
+
4283
+ </dd>
4284
+ </dl>
4285
+
4286
+ <dl>
4287
+ <dd>
4288
+
4289
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4290
+
4291
+ </dd>
4292
+ </dl>
4293
+ </dd>
4294
+ </dl>
4295
+
4296
+
4297
+ </dd>
4298
+ </dl>
4299
+ </details>
4300
+
4301
+ ## Sandboxes
4302
+ <details><summary><code>client.sandboxes.<a href="src/vellum/resources/sandboxes/client.py">deploy_prompt</a>(...)</code></summary>
4303
+ <dl>
4304
+ <dd>
4305
+
4306
+ #### 🔌 Usage
4307
+
4308
+ <dl>
4309
+ <dd>
4310
+
4311
+ <dl>
4312
+ <dd>
4313
+
4314
+ ```python
4315
+ from vellum import Vellum
4316
+
4317
+ client = Vellum(
4318
+ api_key="YOUR_API_KEY",
4319
+ )
4320
+ client.sandboxes.deploy_prompt(
4321
+ id="id",
4322
+ prompt_variant_id="prompt_variant_id",
4323
+ )
4324
+
4325
+ ```
4326
+ </dd>
4327
+ </dl>
4328
+ </dd>
4329
+ </dl>
4330
+
4331
+ #### ⚙️ Parameters
4332
+
4333
+ <dl>
4334
+ <dd>
4335
+
4336
+ <dl>
4337
+ <dd>
4338
+
4339
+ **id:** `str` — A UUID string identifying this sandbox.
4340
+
4341
+ </dd>
4342
+ </dl>
4343
+
4344
+ <dl>
4345
+ <dd>
4346
+
4347
+ **prompt_variant_id:** `str` — An ID identifying the Prompt you'd like to deploy.
4348
+
4349
+ </dd>
4350
+ </dl>
4351
+
4352
+ <dl>
4353
+ <dd>
4354
+
4355
+ **prompt_deployment_id:** `typing.Optional[str]` — The Vellum-generated ID of the Prompt Deployment you'd like to update. Cannot specify both this and prompt_deployment_name. Leave null to create a new Prompt Deployment.
4356
+
4357
+ </dd>
4358
+ </dl>
4359
+
4360
+ <dl>
4361
+ <dd>
4362
+
4363
+ **prompt_deployment_name:** `typing.Optional[str]` — The unique name of the Prompt Deployment you'd like to either create or update. Cannot specify both this and prompt_deployment_id. If provided and matches an existing Prompt Deployment, that Prompt Deployment will be updated. Otherwise, a new Prompt Deployment will be created.
4364
+
4365
+ </dd>
4366
+ </dl>
4367
+
4368
+ <dl>
4369
+ <dd>
4370
+
4371
+ **label:** `typing.Optional[str]` — In the event that a new Prompt Deployment is created, this will be the label it's given.
4372
+
4373
+ </dd>
4374
+ </dl>
4375
+
4376
+ <dl>
4377
+ <dd>
4378
+
4379
+ **release_tags:** `typing.Optional[typing.Sequence[str]]` — Optionally provide the release tags that you'd like to be associated with the latest release of the created/updated Prompt Deployment.
4380
+
4381
+ </dd>
4382
+ </dl>
4383
+
4384
+ <dl>
4385
+ <dd>
4386
+
4387
+ **release_description:** `typing.Optional[str]` — Optionally provide a description that details what's new in this Release.
4388
+
4389
+ </dd>
4390
+ </dl>
4391
+
4392
+ <dl>
4393
+ <dd>
4394
+
4395
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4396
+
4397
+ </dd>
4398
+ </dl>
4399
+ </dd>
4400
+ </dl>
4401
+
4402
+
4403
+ </dd>
4404
+ </dl>
4405
+ </details>
4406
+
4407
+ <details><summary><code>client.sandboxes.<a href="src/vellum/resources/sandboxes/client.py">upsert_sandbox_scenario</a>(...)</code></summary>
4408
+ <dl>
4409
+ <dd>
4410
+
4411
+ #### 📝 Description
4412
+
4413
+ <dl>
4414
+ <dd>
4415
+
4416
+ <dl>
4417
+ <dd>
4418
+
4419
+ Upserts a new scenario for a sandbox, keying off of the optionally provided scenario id.
4420
+
4421
+ If an id is provided and has a match, the scenario will be updated. If no id is provided or no match
4422
+ is found, a new scenario will be appended to the end.
4423
+
4424
+ Note that a full replacement of the scenario is performed, so any fields not provided will be removed
4425
+ or overwritten with default values.
4426
+ </dd>
4427
+ </dl>
4428
+ </dd>
4429
+ </dl>
4430
+
4431
+ #### 🔌 Usage
4432
+
4433
+ <dl>
4434
+ <dd>
4435
+
4436
+ <dl>
4437
+ <dd>
4438
+
4439
+ ```python
4440
+ from vellum import (
4441
+ ChatMessageRequest,
4442
+ NamedScenarioInputChatHistoryVariableValueRequest,
4443
+ Vellum,
4444
+ )
4445
+
4446
+ client = Vellum(
4447
+ api_key="YOUR_API_KEY",
4448
+ )
4449
+ client.sandboxes.upsert_sandbox_scenario(
4450
+ id="id",
4451
+ label="Scenario 2",
4452
+ inputs=[
4453
+ NamedScenarioInputChatHistoryVariableValueRequest(
4454
+ value=[
4455
+ ChatMessageRequest(
4456
+ text="What's your favorite color?",
4457
+ role="USER",
4458
+ ),
4459
+ ChatMessageRequest(
4460
+ text="AI's don't have a favorite color.... Yet.",
4461
+ role="ASSISTANT",
4462
+ ),
4463
+ ],
4464
+ name="chat_history",
4465
+ )
4466
+ ],
4467
+ )
4468
+
4469
+ ```
4470
+ </dd>
4471
+ </dl>
4472
+ </dd>
4473
+ </dl>
4474
+
4475
+ #### ⚙️ Parameters
4476
+
4477
+ <dl>
4478
+ <dd>
4479
+
4480
+ <dl>
4481
+ <dd>
4482
+
4483
+ **id:** `str` — A UUID string identifying this sandbox.
4484
+
4485
+ </dd>
4486
+ </dl>
4487
+
4488
+ <dl>
4489
+ <dd>
4490
+
4491
+ **inputs:** `typing.Sequence[NamedScenarioInputRequest]` — The inputs for the scenario
4492
+
4493
+ </dd>
4494
+ </dl>
4495
+
4496
+ <dl>
4497
+ <dd>
4498
+
4499
+ **label:** `typing.Optional[str]`
4500
+
4501
+ </dd>
4502
+ </dl>
4503
+
4504
+ <dl>
4505
+ <dd>
4506
+
4507
+ **scenario_id:** `typing.Optional[str]` — The id of the scenario to update. If none is provided, an id will be generated and a new scenario will be appended.
4508
+
4509
+ </dd>
4510
+ </dl>
4511
+
4512
+ <dl>
4513
+ <dd>
4514
+
4515
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4516
+
4517
+ </dd>
4518
+ </dl>
4519
+ </dd>
4520
+ </dl>
4521
+
4522
+
4523
+ </dd>
4524
+ </dl>
4525
+ </details>
4526
+
4527
+ <details><summary><code>client.sandboxes.<a href="src/vellum/resources/sandboxes/client.py">delete_sandbox_scenario</a>(...)</code></summary>
4528
+ <dl>
4529
+ <dd>
4530
+
4531
+ #### 📝 Description
4532
+
4533
+ <dl>
4534
+ <dd>
4535
+
4536
+ <dl>
4537
+ <dd>
4538
+
4539
+ Deletes an existing scenario from a sandbox, keying off of the provided scenario id.
4540
+ </dd>
4541
+ </dl>
4542
+ </dd>
4543
+ </dl>
4544
+
4545
+ #### 🔌 Usage
4546
+
4547
+ <dl>
4548
+ <dd>
4549
+
4550
+ <dl>
4551
+ <dd>
4552
+
4553
+ ```python
4554
+ from vellum import Vellum
4555
+
4556
+ client = Vellum(
4557
+ api_key="YOUR_API_KEY",
4558
+ )
4559
+ client.sandboxes.delete_sandbox_scenario(
4560
+ id="id",
4561
+ scenario_id="scenario_id",
4562
+ )
4563
+
4564
+ ```
4565
+ </dd>
4566
+ </dl>
4567
+ </dd>
4568
+ </dl>
4569
+
4570
+ #### ⚙️ Parameters
4571
+
4572
+ <dl>
4573
+ <dd>
4574
+
4575
+ <dl>
4576
+ <dd>
4577
+
4578
+ **id:** `str` — A UUID string identifying this sandbox.
4579
+
4580
+ </dd>
4581
+ </dl>
4582
+
4583
+ <dl>
4584
+ <dd>
4585
+
4586
+ **scenario_id:** `str` — An id identifying the scenario that you'd like to delete
4587
+
4588
+ </dd>
4589
+ </dl>
4590
+
4591
+ <dl>
4592
+ <dd>
4593
+
4594
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4595
+
4596
+ </dd>
4597
+ </dl>
4598
+ </dd>
4599
+ </dl>
4600
+
4601
+
4602
+ </dd>
4603
+ </dl>
4604
+ </details>
4605
+
4606
+ ## TestSuiteRuns
4607
+ <details><summary><code>client.test_suite_runs.<a href="src/vellum/resources/test_suite_runs/client.py">create</a>(...)</code></summary>
4608
+ <dl>
4609
+ <dd>
4610
+
4611
+ #### 📝 Description
4612
+
4613
+ <dl>
4614
+ <dd>
4615
+
4616
+ <dl>
4617
+ <dd>
4618
+
4619
+ Trigger a Test Suite and create a new Test Suite Run
4620
+ </dd>
4621
+ </dl>
4622
+ </dd>
4623
+ </dl>
4624
+
4625
+ #### 🔌 Usage
4626
+
4627
+ <dl>
4628
+ <dd>
4629
+
4630
+ <dl>
4631
+ <dd>
4632
+
4633
+ ```python
4634
+ from vellum import (
4635
+ TestSuiteRunDeploymentReleaseTagExecConfigDataRequest,
4636
+ TestSuiteRunDeploymentReleaseTagExecConfigRequest,
4637
+ Vellum,
4638
+ )
4639
+
4640
+ client = Vellum(
4641
+ api_key="YOUR_API_KEY",
4642
+ )
4643
+ client.test_suite_runs.create(
4644
+ exec_config=TestSuiteRunDeploymentReleaseTagExecConfigRequest(
4645
+ data=TestSuiteRunDeploymentReleaseTagExecConfigDataRequest(
4646
+ deployment_id="deployment_id",
4647
+ ),
4648
+ ),
4649
+ )
4650
+
4651
+ ```
4652
+ </dd>
4653
+ </dl>
4654
+ </dd>
4655
+ </dl>
4656
+
4657
+ #### ⚙️ Parameters
4658
+
4659
+ <dl>
4660
+ <dd>
4661
+
4662
+ <dl>
4663
+ <dd>
4664
+
4665
+ **exec_config:** `TestSuiteRunExecConfigRequest` — Configuration that defines how the Test Suite should be run
4666
+
4667
+ </dd>
4668
+ </dl>
4669
+
4670
+ <dl>
4671
+ <dd>
4672
+
4673
+ **test_suite_id:** `typing.Optional[str]` — The ID of the Test Suite to run. Must provide either this or test_suite_id.
4674
+
4675
+ </dd>
4676
+ </dl>
4677
+
4678
+ <dl>
4679
+ <dd>
4680
+
4681
+ **test_suite_name:** `typing.Optional[str]` — The name of the Test Suite to run. Must provide either this or test_suite_id.
4682
+
4683
+ </dd>
4684
+ </dl>
4685
+
4686
+ <dl>
4687
+ <dd>
4688
+
4689
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4690
+
4691
+ </dd>
4692
+ </dl>
4693
+ </dd>
4694
+ </dl>
4695
+
4696
+
4697
+ </dd>
4698
+ </dl>
4699
+ </details>
4700
+
4701
+ <details><summary><code>client.test_suite_runs.<a href="src/vellum/resources/test_suite_runs/client.py">retrieve</a>(...)</code></summary>
4702
+ <dl>
4703
+ <dd>
4704
+
4705
+ #### 📝 Description
4706
+
4707
+ <dl>
4708
+ <dd>
4709
+
4710
+ <dl>
4711
+ <dd>
4712
+
4713
+ Retrieve a specific Test Suite Run by ID
4714
+ </dd>
4715
+ </dl>
4716
+ </dd>
4717
+ </dl>
4718
+
4719
+ #### 🔌 Usage
4720
+
4721
+ <dl>
4722
+ <dd>
4723
+
4724
+ <dl>
4725
+ <dd>
4726
+
4727
+ ```python
4728
+ from vellum import Vellum
4729
+
4730
+ client = Vellum(
4731
+ api_key="YOUR_API_KEY",
4732
+ )
4733
+ client.test_suite_runs.retrieve(
4734
+ id="id",
4735
+ )
4736
+
4737
+ ```
4738
+ </dd>
4739
+ </dl>
4740
+ </dd>
4741
+ </dl>
4742
+
4743
+ #### ⚙️ Parameters
4744
+
4745
+ <dl>
4746
+ <dd>
4747
+
4748
+ <dl>
4749
+ <dd>
4750
+
4751
+ **id:** `str` — A UUID string identifying this test suite run.
4752
+
4753
+ </dd>
4754
+ </dl>
4755
+
4756
+ <dl>
4757
+ <dd>
4758
+
4759
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4760
+
4761
+ </dd>
4762
+ </dl>
4763
+ </dd>
4764
+ </dl>
4765
+
4766
+
4767
+ </dd>
4768
+ </dl>
4769
+ </details>
4770
+
4771
+ <details><summary><code>client.test_suite_runs.<a href="src/vellum/resources/test_suite_runs/client.py">list_executions</a>(...)</code></summary>
4772
+ <dl>
4773
+ <dd>
4774
+
4775
+ #### 🔌 Usage
4776
+
4777
+ <dl>
4778
+ <dd>
4779
+
4780
+ <dl>
4781
+ <dd>
4782
+
4783
+ ```python
4784
+ from vellum import Vellum
4785
+
4786
+ client = Vellum(
4787
+ api_key="YOUR_API_KEY",
4788
+ )
4789
+ client.test_suite_runs.list_executions(
4790
+ id="id",
4791
+ )
4792
+
4793
+ ```
4794
+ </dd>
4795
+ </dl>
4796
+ </dd>
4797
+ </dl>
4798
+
4799
+ #### ⚙️ Parameters
4800
+
4801
+ <dl>
4802
+ <dd>
4803
+
4804
+ <dl>
4805
+ <dd>
4806
+
4807
+ **id:** `str` — A UUID string identifying this test suite run.
4808
+
4809
+ </dd>
4810
+ </dl>
4811
+
4812
+ <dl>
4813
+ <dd>
4814
+
4815
+ **expand:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]`
4816
+
4817
+ The response fields to expand for more information.
4818
+ - 'results.metric_results.metric_label' expands the metric label for each metric result.
4819
+ - 'results.metric_results.metric_definition' expands the metric definition for each metric result.
4820
+ - 'results.metric_results.metric_definition.name' expands the metric definition name for each metric result.
4821
+
4822
+ </dd>
4823
+ </dl>
4824
+
4825
+ <dl>
4826
+ <dd>
4827
+
4828
+ **limit:** `typing.Optional[int]` — Number of results to return per page.
4829
+
4830
+ </dd>
4831
+ </dl>
4832
+
4833
+ <dl>
4834
+ <dd>
4835
+
4836
+ **offset:** `typing.Optional[int]` — The initial index from which to return the results.
4837
+
4838
+ </dd>
4839
+ </dl>
4840
+
4841
+ <dl>
4842
+ <dd>
4843
+
4844
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4845
+
4846
+ </dd>
4847
+ </dl>
4848
+ </dd>
4849
+ </dl>
4850
+
4851
+
4852
+ </dd>
4853
+ </dl>
4854
+ </details>
4855
+
4856
+ ## TestSuites
4857
+ <details><summary><code>client.test_suites.<a href="src/vellum/resources/test_suites/client.py">list_test_suite_test_cases</a>(...)</code></summary>
4858
+ <dl>
4859
+ <dd>
4860
+
4861
+ #### 📝 Description
4862
+
4863
+ <dl>
4864
+ <dd>
4865
+
4866
+ <dl>
4867
+ <dd>
4868
+
4869
+ List the Test Cases associated with a Test Suite
4870
+ </dd>
4871
+ </dl>
4872
+ </dd>
4873
+ </dl>
4874
+
4875
+ #### 🔌 Usage
4876
+
4877
+ <dl>
4878
+ <dd>
4879
+
4880
+ <dl>
4881
+ <dd>
4882
+
4883
+ ```python
4884
+ from vellum import Vellum
4885
+
4886
+ client = Vellum(
4887
+ api_key="YOUR_API_KEY",
4888
+ )
4889
+ client.test_suites.list_test_suite_test_cases(
4890
+ id="id",
4891
+ )
4892
+
4893
+ ```
4894
+ </dd>
4895
+ </dl>
4896
+ </dd>
4897
+ </dl>
4898
+
4899
+ #### ⚙️ Parameters
4900
+
4901
+ <dl>
4902
+ <dd>
4903
+
4904
+ <dl>
4905
+ <dd>
4906
+
4907
+ **id:** `str` — Either the Test Suites' ID or its unique name
4908
+
4909
+ </dd>
4910
+ </dl>
4911
+
4912
+ <dl>
4913
+ <dd>
4914
+
4915
+ **limit:** `typing.Optional[int]` — Number of results to return per page.
4916
+
4917
+ </dd>
4918
+ </dl>
4919
+
4920
+ <dl>
4921
+ <dd>
4922
+
4923
+ **offset:** `typing.Optional[int]` — The initial index from which to return the results.
4924
+
4925
+ </dd>
4926
+ </dl>
4927
+
4928
+ <dl>
4929
+ <dd>
4930
+
4931
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4932
+
4933
+ </dd>
4934
+ </dl>
4935
+ </dd>
4936
+ </dl>
4937
+
4938
+
4939
+ </dd>
4940
+ </dl>
4941
+ </details>
4942
+
4943
+ <details><summary><code>client.test_suites.<a href="src/vellum/resources/test_suites/client.py">upsert_test_suite_test_case</a>(...)</code></summary>
4944
+ <dl>
4945
+ <dd>
4946
+
4947
+ #### 📝 Description
4948
+
4949
+ <dl>
4950
+ <dd>
4951
+
4952
+ <dl>
4953
+ <dd>
4954
+
4955
+ Upserts a new test case for a test suite, keying off of the optionally provided test case id.
4956
+
4957
+ If an id is provided and has a match, the test case will be updated. If no id is provided or no match
4958
+ is found, a new test case will be appended to the end.
4959
+
4960
+ Note that a full replacement of the test case is performed, so any fields not provided will be removed
4961
+ or overwritten with default values.
4962
+ </dd>
4963
+ </dl>
4964
+ </dd>
4965
+ </dl>
4966
+
4967
+ #### 🔌 Usage
4968
+
4969
+ <dl>
4970
+ <dd>
4971
+
4972
+ <dl>
4973
+ <dd>
4974
+
4975
+ ```python
4976
+ from vellum import (
4977
+ NamedTestCaseArrayVariableValueRequest,
4978
+ NamedTestCaseStringVariableValueRequest,
4979
+ StringVellumValueRequest,
4980
+ Vellum,
4981
+ )
4982
+
4983
+ client = Vellum(
4984
+ api_key="YOUR_API_KEY",
4985
+ )
4986
+ client.test_suites.upsert_test_suite_test_case(
4987
+ id_="id",
4988
+ label="Test Case 1",
4989
+ input_values=[
4990
+ NamedTestCaseStringVariableValueRequest(
4991
+ value="What are your favorite colors?",
4992
+ name="var_1",
4993
+ )
4994
+ ],
4995
+ evaluation_values=[
4996
+ NamedTestCaseArrayVariableValueRequest(
4997
+ value=[
4998
+ StringVellumValueRequest(
4999
+ value="Red",
5000
+ ),
5001
+ StringVellumValueRequest(
5002
+ value="Green",
5003
+ ),
5004
+ StringVellumValueRequest(
5005
+ value="Blue",
5006
+ ),
5007
+ ],
5008
+ name="var_2",
5009
+ )
5010
+ ],
5011
+ )
5012
+
5013
+ ```
5014
+ </dd>
5015
+ </dl>
5016
+ </dd>
5017
+ </dl>
5018
+
5019
+ #### ⚙️ Parameters
5020
+
5021
+ <dl>
5022
+ <dd>
5023
+
5024
+ <dl>
5025
+ <dd>
5026
+
5027
+ **id_:** `str` — Either the Test Suites' ID or its unique name
5028
+
5029
+ </dd>
5030
+ </dl>
5031
+
5032
+ <dl>
5033
+ <dd>
5034
+
5035
+ **input_values:** `typing.Sequence[NamedTestCaseVariableValueRequest]` — Values for each of the Test Case's input variables
5036
+
5037
+ </dd>
5038
+ </dl>
5039
+
5040
+ <dl>
5041
+ <dd>
5042
+
5043
+ **evaluation_values:** `typing.Sequence[NamedTestCaseVariableValueRequest]` — Values for each of the Test Case's evaluation variables
5044
+
5045
+ </dd>
5046
+ </dl>
5047
+
5048
+ <dl>
5049
+ <dd>
5050
+
5051
+ **id:** `typing.Optional[str]` — The Vellum-generated ID of an existing Test Case whose data you'd like to replace. If specified and no Test Case exists with this ID, a 404 will be returned.
5052
+
5053
+ </dd>
5054
+ </dl>
5055
+
5056
+ <dl>
5057
+ <dd>
5058
+
5059
+ **external_id:** `typing.Optional[str]` — An ID external to Vellum that uniquely identifies the Test Case that you'd like to create/update. If there's a match on a Test Case that was previously created with the same external_id, it will be updated. Otherwise, a new Test Case will be created with this value as its external_id. If no external_id is specified, then a new Test Case will always be created.
5060
+
5061
+ </dd>
5062
+ </dl>
5063
+
5064
+ <dl>
5065
+ <dd>
5066
+
5067
+ **label:** `typing.Optional[str]` — A human-readable label used to convey the intention of this Test Case
5068
+
5069
+ </dd>
5070
+ </dl>
5071
+
5072
+ <dl>
5073
+ <dd>
5074
+
5075
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5076
+
5077
+ </dd>
5078
+ </dl>
5079
+ </dd>
5080
+ </dl>
5081
+
5082
+
5083
+ </dd>
5084
+ </dl>
5085
+ </details>
5086
+
5087
+ <details><summary><code>client.test_suites.<a href="src/vellum/resources/test_suites/client.py">test_suite_test_cases_bulk</a>(...)</code></summary>
5088
+ <dl>
5089
+ <dd>
5090
+
5091
+ #### 📝 Description
5092
+
5093
+ <dl>
5094
+ <dd>
5095
+
5096
+ <dl>
5097
+ <dd>
5098
+
5099
+ Created, replace, and delete Test Cases within the specified Test Suite in bulk
5100
+ </dd>
5101
+ </dl>
5102
+ </dd>
5103
+ </dl>
5104
+
5105
+ #### 🔌 Usage
5106
+
5107
+ <dl>
5108
+ <dd>
5109
+
5110
+ <dl>
5111
+ <dd>
5112
+
5113
+ ```python
5114
+ from vellum import (
5115
+ CreateTestSuiteTestCaseRequest,
5116
+ NamedTestCaseStringVariableValueRequest,
5117
+ TestSuiteTestCaseCreateBulkOperationRequest,
5118
+ Vellum,
5119
+ )
5120
+
5121
+ client = Vellum(
5122
+ api_key="YOUR_API_KEY",
5123
+ )
5124
+ response = client.test_suites.test_suite_test_cases_bulk(
5125
+ id="id",
5126
+ request=[
5127
+ TestSuiteTestCaseCreateBulkOperationRequest(
5128
+ id="id",
5129
+ data=CreateTestSuiteTestCaseRequest(
5130
+ input_values=[
5131
+ NamedTestCaseStringVariableValueRequest(
5132
+ name="name",
5133
+ )
5134
+ ],
5135
+ evaluation_values=[
5136
+ NamedTestCaseStringVariableValueRequest(
5137
+ name="name",
5138
+ )
5139
+ ],
5140
+ ),
5141
+ )
5142
+ ],
5143
+ )
5144
+ for chunk in response:
5145
+ yield chunk
5146
+
5147
+ ```
5148
+ </dd>
5149
+ </dl>
5150
+ </dd>
5151
+ </dl>
5152
+
5153
+ #### ⚙️ Parameters
5154
+
5155
+ <dl>
5156
+ <dd>
5157
+
5158
+ <dl>
5159
+ <dd>
5160
+
5161
+ **id:** `str` — Either the Test Suites' ID or its unique name
5162
+
5163
+ </dd>
5164
+ </dl>
5165
+
5166
+ <dl>
5167
+ <dd>
5168
+
5169
+ **request:** `typing.Sequence[TestSuiteTestCaseBulkOperationRequest]`
5170
+
5171
+ </dd>
5172
+ </dl>
5173
+
5174
+ <dl>
5175
+ <dd>
5176
+
5177
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5178
+
5179
+ </dd>
5180
+ </dl>
5181
+ </dd>
5182
+ </dl>
5183
+
5184
+
5185
+ </dd>
5186
+ </dl>
5187
+ </details>
5188
+
5189
+ <details><summary><code>client.test_suites.<a href="src/vellum/resources/test_suites/client.py">delete_test_suite_test_case</a>(...)</code></summary>
5190
+ <dl>
5191
+ <dd>
5192
+
5193
+ #### 📝 Description
5194
+
5195
+ <dl>
5196
+ <dd>
5197
+
5198
+ <dl>
5199
+ <dd>
5200
+
5201
+ Deletes an existing test case for a test suite, keying off of the test case id.
5202
+ </dd>
5203
+ </dl>
5204
+ </dd>
5205
+ </dl>
5206
+
5207
+ #### 🔌 Usage
5208
+
5209
+ <dl>
5210
+ <dd>
5211
+
5212
+ <dl>
5213
+ <dd>
5214
+
5215
+ ```python
5216
+ from vellum import Vellum
5217
+
5218
+ client = Vellum(
5219
+ api_key="YOUR_API_KEY",
5220
+ )
5221
+ client.test_suites.delete_test_suite_test_case(
5222
+ id="id",
5223
+ test_case_id="test_case_id",
5224
+ )
5225
+
5226
+ ```
5227
+ </dd>
5228
+ </dl>
5229
+ </dd>
5230
+ </dl>
5231
+
5232
+ #### ⚙️ Parameters
5233
+
5234
+ <dl>
5235
+ <dd>
5236
+
5237
+ <dl>
5238
+ <dd>
5239
+
5240
+ **id:** `str` — Either the Test Suites' ID or its unique name
5241
+
5242
+ </dd>
5243
+ </dl>
5244
+
5245
+ <dl>
5246
+ <dd>
5247
+
5248
+ **test_case_id:** `str` — An id identifying the test case that you'd like to delete
5249
+
5250
+ </dd>
5251
+ </dl>
5252
+
5253
+ <dl>
5254
+ <dd>
5255
+
5256
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5257
+
5258
+ </dd>
5259
+ </dl>
5260
+ </dd>
5261
+ </dl>
5262
+
5263
+
5264
+ </dd>
5265
+ </dl>
5266
+ </details>
5267
+
5268
+ ## WorkflowDeployments
5269
+ <details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">list</a>(...)</code></summary>
5270
+ <dl>
5271
+ <dd>
5272
+
5273
+ #### 📝 Description
5274
+
5275
+ <dl>
5276
+ <dd>
5277
+
5278
+ <dl>
5279
+ <dd>
5280
+
5281
+ Used to list all Workflow Deployments.
5282
+ </dd>
5283
+ </dl>
5284
+ </dd>
5285
+ </dl>
5286
+
5287
+ #### 🔌 Usage
5288
+
5289
+ <dl>
5290
+ <dd>
5291
+
5292
+ <dl>
5293
+ <dd>
5294
+
5295
+ ```python
5296
+ from vellum import Vellum
5297
+
5298
+ client = Vellum(
5299
+ api_key="YOUR_API_KEY",
5300
+ )
5301
+ client.workflow_deployments.list()
5302
+
5303
+ ```
5304
+ </dd>
5305
+ </dl>
5306
+ </dd>
5307
+ </dl>
5308
+
5309
+ #### ⚙️ Parameters
5310
+
5311
+ <dl>
5312
+ <dd>
5313
+
5314
+ <dl>
5315
+ <dd>
5316
+
5317
+ **limit:** `typing.Optional[int]` — Number of results to return per page.
5318
+
5319
+ </dd>
5320
+ </dl>
5321
+
5322
+ <dl>
5323
+ <dd>
5324
+
5325
+ **offset:** `typing.Optional[int]` — The initial index from which to return the results.
5326
+
5327
+ </dd>
5328
+ </dl>
5329
+
5330
+ <dl>
5331
+ <dd>
5332
+
5333
+ **ordering:** `typing.Optional[str]` — Which field to use when ordering the results.
5334
+
5335
+ </dd>
5336
+ </dl>
5337
+
5338
+ <dl>
5339
+ <dd>
5340
+
5341
+ **status:** `typing.Optional[WorkflowDeploymentsListRequestStatus]` — status
5342
+
5343
+ </dd>
5344
+ </dl>
5345
+
5346
+ <dl>
5347
+ <dd>
5348
+
5349
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5350
+
5351
+ </dd>
5352
+ </dl>
5353
+ </dd>
5354
+ </dl>
5355
+
5356
+
5357
+ </dd>
5358
+ </dl>
5359
+ </details>
5360
+
5361
+ <details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">retrieve</a>(...)</code></summary>
5362
+ <dl>
5363
+ <dd>
5364
+
5365
+ #### 📝 Description
5366
+
5367
+ <dl>
5368
+ <dd>
5369
+
5370
+ <dl>
5371
+ <dd>
5372
+
5373
+ Used to retrieve a workflow deployment given its ID or name.
5374
+ </dd>
5375
+ </dl>
5376
+ </dd>
5377
+ </dl>
5378
+
5379
+ #### 🔌 Usage
5380
+
5381
+ <dl>
5382
+ <dd>
5383
+
5384
+ <dl>
5385
+ <dd>
5386
+
5387
+ ```python
5388
+ from vellum import Vellum
5389
+
5390
+ client = Vellum(
5391
+ api_key="YOUR_API_KEY",
5392
+ )
5393
+ client.workflow_deployments.retrieve(
5394
+ id="id",
5395
+ )
5396
+
5397
+ ```
5398
+ </dd>
5399
+ </dl>
5400
+ </dd>
5401
+ </dl>
5402
+
5403
+ #### ⚙️ Parameters
5404
+
5405
+ <dl>
5406
+ <dd>
5407
+
5408
+ <dl>
5409
+ <dd>
5410
+
5411
+ **id:** `str` — Either the Workflow Deployment's ID or its unique name
5412
+
5413
+ </dd>
5414
+ </dl>
5415
+
5416
+ <dl>
5417
+ <dd>
5418
+
5419
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5420
+
5421
+ </dd>
5422
+ </dl>
5423
+ </dd>
5424
+ </dl>
5425
+
5426
+
5427
+ </dd>
5428
+ </dl>
5429
+ </details>
5430
+
5431
+ <details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">list_workflow_deployment_event_executions</a>(...)</code></summary>
5432
+ <dl>
5433
+ <dd>
5434
+
5435
+ #### 🔌 Usage
5436
+
5437
+ <dl>
5438
+ <dd>
5439
+
5440
+ <dl>
5441
+ <dd>
5442
+
5443
+ ```python
5444
+ from vellum import Vellum
5445
+
5446
+ client = Vellum(
5447
+ api_key="YOUR_API_KEY",
5448
+ )
5449
+ client.workflow_deployments.list_workflow_deployment_event_executions(
5450
+ id="id",
5451
+ )
5452
+
5453
+ ```
5454
+ </dd>
5455
+ </dl>
5456
+ </dd>
5457
+ </dl>
5458
+
5459
+ #### ⚙️ Parameters
5460
+
5461
+ <dl>
5462
+ <dd>
5463
+
5464
+ <dl>
5465
+ <dd>
5466
+
5467
+ **id:** `str`
5468
+
5469
+ </dd>
5470
+ </dl>
5471
+
5472
+ <dl>
5473
+ <dd>
5474
+
5475
+ **filters:** `typing.Optional[str]`
5476
+
5477
+ </dd>
5478
+ </dl>
5479
+
5480
+ <dl>
5481
+ <dd>
5482
+
5483
+ **limit:** `typing.Optional[int]` — Number of executions to return per page.
5484
+
5485
+ </dd>
5486
+ </dl>
5487
+
5488
+ <dl>
5489
+ <dd>
5490
+
5491
+ **offset:** `typing.Optional[int]` — The initial index from which to return the executions.
5492
+
5493
+ </dd>
5494
+ </dl>
5495
+
5496
+ <dl>
5497
+ <dd>
5498
+
5499
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5500
+
5501
+ </dd>
5502
+ </dl>
5503
+ </dd>
5504
+ </dl>
5505
+
5506
+
5507
+ </dd>
5508
+ </dl>
5509
+ </details>
5510
+
5511
+ <details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">workflow_deployment_event_execution</a>(...)</code></summary>
5512
+ <dl>
5513
+ <dd>
5514
+
5515
+ #### 🔌 Usage
5516
+
5517
+ <dl>
5518
+ <dd>
5519
+
5520
+ <dl>
5521
+ <dd>
5522
+
5523
+ ```python
5524
+ from vellum import Vellum
5525
+
5526
+ client = Vellum(
5527
+ api_key="YOUR_API_KEY",
5528
+ )
5529
+ client.workflow_deployments.workflow_deployment_event_execution(
5530
+ execution_id="execution_id",
5531
+ id="id",
5532
+ )
5533
+
5534
+ ```
5535
+ </dd>
5536
+ </dl>
5537
+ </dd>
5538
+ </dl>
5539
+
5540
+ #### ⚙️ Parameters
5541
+
5542
+ <dl>
5543
+ <dd>
5544
+
5545
+ <dl>
5546
+ <dd>
5547
+
5548
+ **execution_id:** `str`
5549
+
5550
+ </dd>
5551
+ </dl>
5552
+
5553
+ <dl>
5554
+ <dd>
5555
+
5556
+ **id:** `str`
5557
+
5558
+ </dd>
5559
+ </dl>
5560
+
5561
+ <dl>
5562
+ <dd>
5563
+
5564
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5565
+
5566
+ </dd>
5567
+ </dl>
5568
+ </dd>
5569
+ </dl>
5570
+
5571
+
5572
+ </dd>
5573
+ </dl>
5574
+ </details>
5575
+
5576
+ <details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">workflow_deployment_history_item_retrieve</a>(...)</code></summary>
5577
+ <dl>
5578
+ <dd>
5579
+
5580
+ #### 📝 Description
5581
+
5582
+ <dl>
5583
+ <dd>
5584
+
5585
+ <dl>
5586
+ <dd>
5587
+
5588
+ DEPRECATED: This endpoint is deprecated and will be removed in a future release. Please use the
5589
+ `retrieve_workflow_deployment_release` endpoint instead.
5590
+ </dd>
5591
+ </dl>
5592
+ </dd>
5593
+ </dl>
5594
+
5595
+ #### 🔌 Usage
5596
+
5597
+ <dl>
5598
+ <dd>
5599
+
5600
+ <dl>
5601
+ <dd>
5602
+
5603
+ ```python
5604
+ from vellum import Vellum
5605
+
5606
+ client = Vellum(
5607
+ api_key="YOUR_API_KEY",
5608
+ )
5609
+ client.workflow_deployments.workflow_deployment_history_item_retrieve(
5610
+ history_id_or_release_tag="history_id_or_release_tag",
5611
+ id="id",
5612
+ )
5613
+
5614
+ ```
5615
+ </dd>
5616
+ </dl>
5617
+ </dd>
5618
+ </dl>
5619
+
5620
+ #### ⚙️ Parameters
5621
+
5622
+ <dl>
5623
+ <dd>
5624
+
5625
+ <dl>
5626
+ <dd>
5627
+
5628
+ **history_id_or_release_tag:** `str` — Either the UUID of Workflow Deployment History Item you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment History Item you'd like to retrieve.
5629
+
5630
+ </dd>
5631
+ </dl>
5632
+
5633
+ <dl>
5634
+ <dd>
5635
+
5636
+ **id:** `str` — Either the Workflow Deployment's ID or its unique name
5637
+
5638
+ </dd>
5639
+ </dl>
5640
+
5641
+ <dl>
5642
+ <dd>
5643
+
5644
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5645
+
5646
+ </dd>
5647
+ </dl>
5648
+ </dd>
5649
+ </dl>
5650
+
5651
+
5652
+ </dd>
5653
+ </dl>
5654
+ </details>
5655
+
5656
+ <details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">list_workflow_release_tags</a>(...)</code></summary>
5657
+ <dl>
5658
+ <dd>
5659
+
5660
+ #### 📝 Description
5661
+
5662
+ <dl>
5663
+ <dd>
5664
+
5665
+ <dl>
5666
+ <dd>
5667
+
5668
+ List Release Tags associated with the specified Workflow Deployment
5669
+ </dd>
5670
+ </dl>
5671
+ </dd>
5672
+ </dl>
5673
+
5674
+ #### 🔌 Usage
5675
+
5676
+ <dl>
5677
+ <dd>
5678
+
5679
+ <dl>
5680
+ <dd>
5681
+
5682
+ ```python
5683
+ from vellum import Vellum
5684
+
5685
+ client = Vellum(
5686
+ api_key="YOUR_API_KEY",
5687
+ )
5688
+ client.workflow_deployments.list_workflow_release_tags(
5689
+ id="id",
5690
+ )
5691
+
5692
+ ```
5693
+ </dd>
5694
+ </dl>
5695
+ </dd>
5696
+ </dl>
5697
+
5698
+ #### ⚙️ Parameters
5699
+
5700
+ <dl>
5701
+ <dd>
5702
+
5703
+ <dl>
5704
+ <dd>
5705
+
5706
+ **id:** `str` — Either the Workflow Deployment's ID or its unique name
5707
+
5708
+ </dd>
5709
+ </dl>
5710
+
5711
+ <dl>
5712
+ <dd>
5713
+
5714
+ **limit:** `typing.Optional[int]` — Number of results to return per page.
5715
+
5716
+ </dd>
5717
+ </dl>
5718
+
5719
+ <dl>
5720
+ <dd>
5721
+
5722
+ **offset:** `typing.Optional[int]` — The initial index from which to return the results.
5723
+
5724
+ </dd>
5725
+ </dl>
5726
+
5727
+ <dl>
5728
+ <dd>
5729
+
5730
+ **ordering:** `typing.Optional[str]` — Which field to use when ordering the results.
5731
+
5732
+ </dd>
5733
+ </dl>
5734
+
5735
+ <dl>
5736
+ <dd>
5737
+
5738
+ **source:** `typing.Optional[ListWorkflowReleaseTagsRequestSource]`
5739
+
5740
+ </dd>
5741
+ </dl>
5742
+
5743
+ <dl>
5744
+ <dd>
5745
+
5746
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5747
+
5748
+ </dd>
5749
+ </dl>
5750
+ </dd>
5751
+ </dl>
5752
+
5753
+
5754
+ </dd>
5755
+ </dl>
5756
+ </details>
5757
+
5758
+ <details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">retrieve_workflow_release_tag</a>(...)</code></summary>
5759
+ <dl>
5760
+ <dd>
5761
+
5762
+ #### 📝 Description
5763
+
5764
+ <dl>
5765
+ <dd>
5766
+
5767
+ <dl>
5768
+ <dd>
5769
+
5770
+ Retrieve a Workflow Release Tag by tag name, associated with a specified Workflow Deployment.
5771
+ </dd>
5772
+ </dl>
5773
+ </dd>
5774
+ </dl>
5775
+
5776
+ #### 🔌 Usage
5777
+
5778
+ <dl>
5779
+ <dd>
5780
+
5781
+ <dl>
5782
+ <dd>
5783
+
5784
+ ```python
5785
+ from vellum import Vellum
5786
+
5787
+ client = Vellum(
5788
+ api_key="YOUR_API_KEY",
5789
+ )
5790
+ client.workflow_deployments.retrieve_workflow_release_tag(
5791
+ id="id",
5792
+ name="name",
5793
+ )
5794
+
5795
+ ```
5796
+ </dd>
5797
+ </dl>
5798
+ </dd>
5799
+ </dl>
5800
+
5801
+ #### ⚙️ Parameters
5802
+
5803
+ <dl>
5804
+ <dd>
5805
+
5806
+ <dl>
5807
+ <dd>
5808
+
5809
+ **id:** `str` — Either the Workflow Deployment's ID or its unique name
5810
+
5811
+ </dd>
5812
+ </dl>
5813
+
5814
+ <dl>
5815
+ <dd>
5816
+
5817
+ **name:** `str` — The name of the Release Tag associated with this Workflow Deployment that you'd like to retrieve.
5818
+
5819
+ </dd>
5820
+ </dl>
5821
+
5822
+ <dl>
5823
+ <dd>
5824
+
5825
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5826
+
5827
+ </dd>
5828
+ </dl>
5829
+ </dd>
5830
+ </dl>
5831
+
5832
+
5833
+ </dd>
5834
+ </dl>
5835
+ </details>
5836
+
5837
+ <details><summary><code>client.workflow_deployments.<a href="src/vellum/resources/workflow_deployments/client.py">update_workflow_release_tag</a>(...)</code></summary>
5838
+ <dl>
5839
+ <dd>
5840
+
5841
+ #### 📝 Description
5842
+
5843
+ <dl>
5844
+ <dd>
5845
+
5846
+ <dl>
5847
+ <dd>
5848
+
5849
+ Updates an existing Release Tag associated with the specified Workflow Deployment.
5850
+ </dd>
5851
+ </dl>
5852
+ </dd>
5853
+ </dl>
5854
+
5855
+ #### 🔌 Usage
5856
+
5857
+ <dl>
5858
+ <dd>
5859
+
5860
+ <dl>
5861
+ <dd>
5862
+
5863
+ ```python
5864
+ from vellum import Vellum
5865
+
5866
+ client = Vellum(
5867
+ api_key="YOUR_API_KEY",
5868
+ )
5869
+ client.workflow_deployments.update_workflow_release_tag(
5870
+ id="id",
5871
+ name="name",
5872
+ )
5873
+
5874
+ ```
5875
+ </dd>
5876
+ </dl>
5877
+ </dd>
5878
+ </dl>
5879
+
5880
+ #### ⚙️ Parameters
5881
+
5882
+ <dl>
5883
+ <dd>
5884
+
5885
+ <dl>
5886
+ <dd>
5887
+
5888
+ **id:** `str` — Either the Workflow Deployment's ID or its unique name
5889
+
5890
+ </dd>
5891
+ </dl>
5892
+
5893
+ <dl>
5894
+ <dd>
5895
+
5896
+ **name:** `str` — The name of the Release Tag associated with this Workflow Deployment that you'd like to update.
5897
+
5898
+ </dd>
5899
+ </dl>
5900
+
5901
+ <dl>
5902
+ <dd>
5903
+
5904
+ **history_item_id:** `typing.Optional[str]` — The ID of the Workflow Deployment History Item to tag
5905
+
5906
+ </dd>
5907
+ </dl>
5908
+
5909
+ <dl>
5910
+ <dd>
5911
+
5912
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5913
+
5914
+ </dd>
5915
+ </dl>
5916
+ </dd>
5917
+ </dl>
5918
+
5919
+
5920
+ </dd>
5921
+ </dl>
5922
+ </details>
5923
+
5924
+ ## ReleaseReviews
5925
+ <details><summary><code>client.release_reviews.<a href="src/vellum/resources/release_reviews/client.py">retrieve_workflow_deployment_release</a>(...)</code></summary>
5926
+ <dl>
5927
+ <dd>
5928
+
5929
+ #### 📝 Description
5930
+
5931
+ <dl>
5932
+ <dd>
5933
+
5934
+ <dl>
5935
+ <dd>
5936
+
5937
+ Retrieve a specific Workflow Deployment Release by either its UUID or the name of a Release Tag that points to it.
5938
+ </dd>
5939
+ </dl>
5940
+ </dd>
5941
+ </dl>
5942
+
5943
+ #### 🔌 Usage
5944
+
5945
+ <dl>
5946
+ <dd>
5947
+
5948
+ <dl>
5949
+ <dd>
5950
+
5951
+ ```python
5952
+ from vellum import Vellum
5953
+
5954
+ client = Vellum(
5955
+ api_key="YOUR_API_KEY",
5956
+ )
5957
+ client.release_reviews.retrieve_workflow_deployment_release(
5958
+ id="id",
5959
+ release_id_or_release_tag="release_id_or_release_tag",
5960
+ )
5961
+
5962
+ ```
5963
+ </dd>
5964
+ </dl>
5965
+ </dd>
5966
+ </dl>
5967
+
5968
+ #### ⚙️ Parameters
5969
+
5970
+ <dl>
5971
+ <dd>
5972
+
5973
+ <dl>
5974
+ <dd>
5975
+
5976
+ **id:** `str` — Either the Workflow Deployment's ID or its unique name
5977
+
5978
+ </dd>
5979
+ </dl>
5980
+
5981
+ <dl>
5982
+ <dd>
5983
+
5984
+ **release_id_or_release_tag:** `str` — Either the UUID of Workflow Deployment Release you'd like to retrieve, or the name of a Release Tag that's pointing to the Workflow Deployment Release you'd like to retrieve.
5985
+
5986
+ </dd>
5987
+ </dl>
5988
+
5989
+ <dl>
5990
+ <dd>
5991
+
5992
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
5993
+
5994
+ </dd>
5995
+ </dl>
5996
+ </dd>
5997
+ </dl>
5998
+
5999
+
6000
+ </dd>
6001
+ </dl>
6002
+ </details>
6003
+
6004
+ ## WorkflowSandboxes
6005
+ <details><summary><code>client.workflow_sandboxes.<a href="src/vellum/resources/workflow_sandboxes/client.py">deploy_workflow</a>(...)</code></summary>
6006
+ <dl>
6007
+ <dd>
6008
+
6009
+ #### 🔌 Usage
6010
+
6011
+ <dl>
6012
+ <dd>
6013
+
6014
+ <dl>
6015
+ <dd>
6016
+
6017
+ ```python
6018
+ from vellum import Vellum
6019
+
6020
+ client = Vellum(
6021
+ api_key="YOUR_API_KEY",
6022
+ )
6023
+ client.workflow_sandboxes.deploy_workflow(
6024
+ id="id",
6025
+ workflow_id="workflow_id",
6026
+ )
6027
+
6028
+ ```
6029
+ </dd>
6030
+ </dl>
6031
+ </dd>
6032
+ </dl>
6033
+
6034
+ #### ⚙️ Parameters
6035
+
6036
+ <dl>
6037
+ <dd>
6038
+
6039
+ <dl>
6040
+ <dd>
6041
+
6042
+ **id:** `str` — A UUID string identifying this workflow sandbox.
6043
+
6044
+ </dd>
6045
+ </dl>
6046
+
6047
+ <dl>
6048
+ <dd>
6049
+
6050
+ **workflow_id:** `str` — An ID identifying the Workflow you'd like to deploy.
6051
+
6052
+ </dd>
6053
+ </dl>
6054
+
6055
+ <dl>
6056
+ <dd>
6057
+
6058
+ **workflow_deployment_id:** `typing.Optional[str]` — The Vellum-generated ID of the Workflow Deployment you'd like to update. Cannot specify both this and workflow_deployment_name. Leave null to create a new Workflow Deployment.
6059
+
6060
+ </dd>
6061
+ </dl>
6062
+
6063
+ <dl>
6064
+ <dd>
6065
+
6066
+ **workflow_deployment_name:** `typing.Optional[str]` — The unique name of the Workflow Deployment you'd like to either create or update. Cannot specify both this and workflow_deployment_id. If provided and matches an existing Workflow Deployment, that Workflow Deployment will be updated. Otherwise, a new Prompt Deployment will be created.
6067
+
6068
+ </dd>
6069
+ </dl>
6070
+
6071
+ <dl>
6072
+ <dd>
6073
+
6074
+ **label:** `typing.Optional[str]` — In the event that a new Workflow Deployment is created, this will be the label it's given.
6075
+
6076
+ </dd>
6077
+ </dl>
6078
+
6079
+ <dl>
6080
+ <dd>
6081
+
6082
+ **release_tags:** `typing.Optional[typing.Sequence[str]]` — Optionally provide the release tags that you'd like to be associated with the latest release of the created/updated Prompt Deployment.
6083
+
6084
+ </dd>
6085
+ </dl>
6086
+
6087
+ <dl>
6088
+ <dd>
6089
+
6090
+ **release_description:** `typing.Optional[str]` — Optionally provide a description that details what's new in this Release.
6091
+
6092
+ </dd>
6093
+ </dl>
6094
+
6095
+ <dl>
6096
+ <dd>
6097
+
6098
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6099
+
6100
+ </dd>
6101
+ </dl>
6102
+ </dd>
6103
+ </dl>
6104
+
6105
+
6106
+ </dd>
6107
+ </dl>
6108
+ </details>
6109
+
6110
+ <details><summary><code>client.workflow_sandboxes.<a href="src/vellum/resources/workflow_sandboxes/client.py">list_workflow_sandbox_examples</a>(...)</code></summary>
6111
+ <dl>
6112
+ <dd>
6113
+
6114
+ #### 📝 Description
6115
+
6116
+ <dl>
6117
+ <dd>
6118
+
6119
+ <dl>
6120
+ <dd>
6121
+
6122
+ List Workflow Sandbox examples that were previously cloned into the User's Workspace
6123
+ </dd>
6124
+ </dl>
6125
+ </dd>
6126
+ </dl>
6127
+
6128
+ #### 🔌 Usage
6129
+
6130
+ <dl>
6131
+ <dd>
6132
+
6133
+ <dl>
6134
+ <dd>
6135
+
6136
+ ```python
6137
+ from vellum import Vellum
6138
+
6139
+ client = Vellum(
6140
+ api_key="YOUR_API_KEY",
6141
+ )
6142
+ client.workflow_sandboxes.list_workflow_sandbox_examples()
6143
+
6144
+ ```
6145
+ </dd>
6146
+ </dl>
6147
+ </dd>
6148
+ </dl>
6149
+
6150
+ #### ⚙️ Parameters
6151
+
6152
+ <dl>
6153
+ <dd>
6154
+
6155
+ <dl>
6156
+ <dd>
6157
+
6158
+ **limit:** `typing.Optional[int]` — Number of results to return per page.
6159
+
6160
+ </dd>
6161
+ </dl>
6162
+
6163
+ <dl>
6164
+ <dd>
6165
+
6166
+ **offset:** `typing.Optional[int]` — The initial index from which to return the results.
6167
+
6168
+ </dd>
6169
+ </dl>
6170
+
6171
+ <dl>
6172
+ <dd>
6173
+
6174
+ **ordering:** `typing.Optional[str]` — Which field to use when ordering the results.
6175
+
6176
+ </dd>
6177
+ </dl>
6178
+
6179
+ <dl>
6180
+ <dd>
6181
+
6182
+ **tag:** `typing.Optional[ListWorkflowSandboxExamplesRequestTag]`
6183
+
6184
+ </dd>
6185
+ </dl>
6186
+
6187
+ <dl>
6188
+ <dd>
6189
+
6190
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6191
+
6192
+ </dd>
6193
+ </dl>
6194
+ </dd>
6195
+ </dl>
6196
+
6197
+
6198
+ </dd>
6199
+ </dl>
6200
+ </details>
6201
+
6202
+ ## Workflows
6203
+ <details><summary><code>client.workflows.<a href="src/vellum/resources/workflows/client.py">push</a>(...)</code></summary>
6204
+ <dl>
6205
+ <dd>
6206
+
6207
+ #### 🔌 Usage
6208
+
6209
+ <dl>
6210
+ <dd>
6211
+
6212
+ <dl>
6213
+ <dd>
6214
+
6215
+ ```python
6216
+ from vellum import Vellum
6217
+
6218
+ client = Vellum(
6219
+ api_key="YOUR_API_KEY",
6220
+ )
6221
+ client.workflows.push(
6222
+ exec_config="exec_config",
6223
+ )
6224
+
6225
+ ```
6226
+ </dd>
6227
+ </dl>
6228
+ </dd>
6229
+ </dl>
6230
+
6231
+ #### ⚙️ Parameters
6232
+
6233
+ <dl>
6234
+ <dd>
6235
+
6236
+ <dl>
6237
+ <dd>
6238
+
6239
+ **exec_config:** `WorkflowPushExecConfig` — The execution configuration of the workflow.
6240
+
6241
+ </dd>
6242
+ </dl>
6243
+
6244
+ <dl>
6245
+ <dd>
6246
+
6247
+ **workflow_sandbox_id:** `typing.Optional[str]`
6248
+
6249
+ </dd>
6250
+ </dl>
6251
+
6252
+ <dl>
6253
+ <dd>
6254
+
6255
+ **deployment_config:** `typing.Optional[WorkflowPushDeploymentConfigRequest]`
6256
+
6257
+ </dd>
6258
+ </dl>
6259
+
6260
+ <dl>
6261
+ <dd>
6262
+
6263
+ **artifact:** `from __future__ import annotations
6264
+
6265
+ typing.Optional[core.File]` — See core.File for more documentation
6266
+
6267
+ </dd>
6268
+ </dl>
6269
+
6270
+ <dl>
6271
+ <dd>
6272
+
6273
+ **dry_run:** `typing.Optional[bool]`
6274
+
6275
+ </dd>
6276
+ </dl>
6277
+
6278
+ <dl>
6279
+ <dd>
6280
+
6281
+ **strict:** `typing.Optional[bool]`
6282
+
6283
+ </dd>
6284
+ </dl>
6285
+
6286
+ <dl>
6287
+ <dd>
6288
+
6289
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6290
+
6291
+ </dd>
6292
+ </dl>
6293
+ </dd>
6294
+ </dl>
6295
+
6296
+
6297
+ </dd>
6298
+ </dl>
6299
+ </details>
6300
+
6301
+ ## WorkspaceSecrets
6302
+ <details><summary><code>client.workspace_secrets.<a href="src/vellum/resources/workspace_secrets/client.py">retrieve</a>(...)</code></summary>
6303
+ <dl>
6304
+ <dd>
6305
+
6306
+ #### 📝 Description
6307
+
6308
+ <dl>
6309
+ <dd>
6310
+
6311
+ <dl>
6312
+ <dd>
6313
+
6314
+ Used to retrieve a Workspace Secret given its ID or name.
6315
+ </dd>
6316
+ </dl>
6317
+ </dd>
6318
+ </dl>
6319
+
6320
+ #### 🔌 Usage
6321
+
6322
+ <dl>
6323
+ <dd>
6324
+
6325
+ <dl>
6326
+ <dd>
6327
+
6328
+ ```python
6329
+ from vellum import Vellum
6330
+
6331
+ client = Vellum(
6332
+ api_key="YOUR_API_KEY",
6333
+ )
6334
+ client.workspace_secrets.retrieve(
6335
+ id="id",
6336
+ )
6337
+
6338
+ ```
6339
+ </dd>
6340
+ </dl>
6341
+ </dd>
6342
+ </dl>
6343
+
6344
+ #### ⚙️ Parameters
6345
+
6346
+ <dl>
6347
+ <dd>
6348
+
6349
+ <dl>
6350
+ <dd>
6351
+
6352
+ **id:** `str` — Either the Workspace Secret's ID or its unique name
6353
+
6354
+ </dd>
6355
+ </dl>
6356
+
6357
+ <dl>
6358
+ <dd>
6359
+
6360
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6361
+
6362
+ </dd>
6363
+ </dl>
6364
+ </dd>
6365
+ </dl>
6366
+
6367
+
6368
+ </dd>
6369
+ </dl>
6370
+ </details>
6371
+
6372
+ <details><summary><code>client.workspace_secrets.<a href="src/vellum/resources/workspace_secrets/client.py">partial_update</a>(...)</code></summary>
6373
+ <dl>
6374
+ <dd>
6375
+
6376
+ #### 📝 Description
6377
+
6378
+ <dl>
6379
+ <dd>
6380
+
6381
+ <dl>
6382
+ <dd>
6383
+
6384
+ Used to update a Workspace Secret given its ID or name.
6385
+ </dd>
6386
+ </dl>
6387
+ </dd>
6388
+ </dl>
6389
+
6390
+ #### 🔌 Usage
6391
+
6392
+ <dl>
6393
+ <dd>
6394
+
6395
+ <dl>
6396
+ <dd>
6397
+
6398
+ ```python
6399
+ from vellum import Vellum
6400
+
6401
+ client = Vellum(
6402
+ api_key="YOUR_API_KEY",
6403
+ )
6404
+ client.workspace_secrets.partial_update(
6405
+ id="id",
6406
+ )
6407
+
6408
+ ```
6409
+ </dd>
6410
+ </dl>
6411
+ </dd>
6412
+ </dl>
6413
+
6414
+ #### ⚙️ Parameters
6415
+
6416
+ <dl>
6417
+ <dd>
6418
+
6419
+ <dl>
6420
+ <dd>
6421
+
6422
+ **id:** `str` — Either the Workspace Secret's ID or its unique name
6423
+
6424
+ </dd>
6425
+ </dl>
6426
+
6427
+ <dl>
6428
+ <dd>
6429
+
6430
+ **label:** `typing.Optional[str]`
6431
+
6432
+ </dd>
6433
+ </dl>
6434
+
6435
+ <dl>
6436
+ <dd>
6437
+
6438
+ **value:** `typing.Optional[str]`
6439
+
6440
+ </dd>
6441
+ </dl>
6442
+
6443
+ <dl>
6444
+ <dd>
6445
+
6446
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6447
+
6448
+ </dd>
6449
+ </dl>
6450
+ </dd>
6451
+ </dl>
6452
+
6453
+
6454
+ </dd>
6455
+ </dl>
6456
+ </details>
6457
+
6458
+ ## Workspaces
6459
+ <details><summary><code>client.workspaces.<a href="src/vellum/resources/workspaces/client.py">workspace_identity</a>()</code></summary>
6460
+ <dl>
6461
+ <dd>
6462
+
6463
+ #### 📝 Description
6464
+
6465
+ <dl>
6466
+ <dd>
6467
+
6468
+ <dl>
6469
+ <dd>
6470
+
6471
+ Retrieves information about the active Workspace
6472
+ </dd>
6473
+ </dl>
6474
+ </dd>
6475
+ </dl>
6476
+
6477
+ #### 🔌 Usage
6478
+
6479
+ <dl>
6480
+ <dd>
6481
+
6482
+ <dl>
6483
+ <dd>
6484
+
6485
+ ```python
6486
+ from vellum import Vellum
6487
+
6488
+ client = Vellum(
6489
+ api_key="YOUR_API_KEY",
6490
+ )
6491
+ client.workspaces.workspace_identity()
6492
+
6493
+ ```
6494
+ </dd>
6495
+ </dl>
6496
+ </dd>
6497
+ </dl>
6498
+
6499
+ #### ⚙️ Parameters
6500
+
6501
+ <dl>
6502
+ <dd>
6503
+
6504
+ <dl>
6505
+ <dd>
6506
+
6507
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
6508
+
6509
+ </dd>
6510
+ </dl>
6511
+ </dd>
6512
+ </dl>
6513
+
6514
+
6515
+ </dd>
6516
+ </dl>
6517
+ </details>
6518
+