mirascope 2.0.0a3__py3-none-any.whl → 2.0.0a5__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.
Files changed (118) hide show
  1. mirascope/api/_generated/__init__.py +78 -6
  2. mirascope/api/_generated/api_keys/__init__.py +7 -0
  3. mirascope/api/_generated/api_keys/client.py +453 -0
  4. mirascope/api/_generated/api_keys/raw_client.py +853 -0
  5. mirascope/api/_generated/api_keys/types/__init__.py +9 -0
  6. mirascope/api/_generated/api_keys/types/api_keys_create_response.py +36 -0
  7. mirascope/api/_generated/api_keys/types/api_keys_get_response.py +35 -0
  8. mirascope/api/_generated/api_keys/types/api_keys_list_response_item.py +35 -0
  9. mirascope/api/_generated/client.py +14 -0
  10. mirascope/api/_generated/environments/__init__.py +17 -0
  11. mirascope/api/_generated/environments/client.py +532 -0
  12. mirascope/api/_generated/environments/raw_client.py +1088 -0
  13. mirascope/api/_generated/environments/types/__init__.py +15 -0
  14. mirascope/api/_generated/environments/types/environments_create_response.py +26 -0
  15. mirascope/api/_generated/environments/types/environments_get_response.py +26 -0
  16. mirascope/api/_generated/environments/types/environments_list_response_item.py +26 -0
  17. mirascope/api/_generated/environments/types/environments_update_response.py +26 -0
  18. mirascope/api/_generated/errors/__init__.py +11 -1
  19. mirascope/api/_generated/errors/conflict_error.py +15 -0
  20. mirascope/api/_generated/errors/forbidden_error.py +15 -0
  21. mirascope/api/_generated/errors/internal_server_error.py +15 -0
  22. mirascope/api/_generated/errors/not_found_error.py +15 -0
  23. mirascope/api/_generated/organizations/__init__.py +25 -0
  24. mirascope/api/_generated/organizations/client.py +404 -0
  25. mirascope/api/_generated/organizations/raw_client.py +902 -0
  26. mirascope/api/_generated/organizations/types/__init__.py +23 -0
  27. mirascope/api/_generated/organizations/types/organizations_create_response.py +25 -0
  28. mirascope/api/_generated/organizations/types/organizations_create_response_role.py +7 -0
  29. mirascope/api/_generated/organizations/types/organizations_get_response.py +25 -0
  30. mirascope/api/_generated/organizations/types/organizations_get_response_role.py +7 -0
  31. mirascope/api/_generated/organizations/types/organizations_list_response_item.py +25 -0
  32. mirascope/api/_generated/organizations/types/organizations_list_response_item_role.py +7 -0
  33. mirascope/api/_generated/organizations/types/organizations_update_response.py +25 -0
  34. mirascope/api/_generated/organizations/types/organizations_update_response_role.py +7 -0
  35. mirascope/api/_generated/projects/__init__.py +17 -0
  36. mirascope/api/_generated/projects/client.py +482 -0
  37. mirascope/api/_generated/projects/raw_client.py +1058 -0
  38. mirascope/api/_generated/projects/types/__init__.py +15 -0
  39. mirascope/api/_generated/projects/types/projects_create_response.py +31 -0
  40. mirascope/api/_generated/projects/types/projects_get_response.py +31 -0
  41. mirascope/api/_generated/projects/types/projects_list_response_item.py +31 -0
  42. mirascope/api/_generated/projects/types/projects_update_response.py +31 -0
  43. mirascope/api/_generated/reference.md +1311 -0
  44. mirascope/api/_generated/types/__init__.py +20 -4
  45. mirascope/api/_generated/types/already_exists_error.py +24 -0
  46. mirascope/api/_generated/types/already_exists_error_tag.py +5 -0
  47. mirascope/api/_generated/types/database_error.py +24 -0
  48. mirascope/api/_generated/types/database_error_tag.py +5 -0
  49. mirascope/api/_generated/types/http_api_decode_error.py +1 -3
  50. mirascope/api/_generated/types/issue.py +1 -5
  51. mirascope/api/_generated/types/not_found_error_body.py +24 -0
  52. mirascope/api/_generated/types/not_found_error_tag.py +5 -0
  53. mirascope/api/_generated/types/permission_denied_error.py +24 -0
  54. mirascope/api/_generated/types/permission_denied_error_tag.py +7 -0
  55. mirascope/api/_generated/types/property_key.py +2 -2
  56. mirascope/api/_generated/types/{property_key_tag.py → property_key_key.py} +3 -5
  57. mirascope/api/_generated/types/{property_key_tag_tag.py → property_key_key_tag.py} +1 -1
  58. mirascope/llm/__init__.py +6 -2
  59. mirascope/llm/exceptions.py +28 -0
  60. mirascope/llm/providers/__init__.py +12 -4
  61. mirascope/llm/providers/anthropic/__init__.py +6 -1
  62. mirascope/llm/providers/anthropic/_utils/__init__.py +17 -5
  63. mirascope/llm/providers/anthropic/_utils/beta_decode.py +271 -0
  64. mirascope/llm/providers/anthropic/_utils/beta_encode.py +216 -0
  65. mirascope/llm/providers/anthropic/_utils/decode.py +39 -7
  66. mirascope/llm/providers/anthropic/_utils/encode.py +156 -64
  67. mirascope/llm/providers/anthropic/_utils/errors.py +46 -0
  68. mirascope/llm/providers/anthropic/beta_provider.py +328 -0
  69. mirascope/llm/providers/anthropic/model_id.py +10 -27
  70. mirascope/llm/providers/anthropic/model_info.py +87 -0
  71. mirascope/llm/providers/anthropic/provider.py +132 -145
  72. mirascope/llm/providers/base/__init__.py +2 -1
  73. mirascope/llm/providers/base/_utils.py +15 -1
  74. mirascope/llm/providers/base/base_provider.py +173 -58
  75. mirascope/llm/providers/google/_utils/__init__.py +2 -0
  76. mirascope/llm/providers/google/_utils/decode.py +55 -3
  77. mirascope/llm/providers/google/_utils/encode.py +14 -6
  78. mirascope/llm/providers/google/_utils/errors.py +49 -0
  79. mirascope/llm/providers/google/model_id.py +7 -13
  80. mirascope/llm/providers/google/model_info.py +62 -0
  81. mirascope/llm/providers/google/provider.py +13 -8
  82. mirascope/llm/providers/mlx/_utils.py +31 -2
  83. mirascope/llm/providers/mlx/encoding/transformers.py +17 -1
  84. mirascope/llm/providers/mlx/provider.py +12 -0
  85. mirascope/llm/providers/ollama/__init__.py +19 -0
  86. mirascope/llm/providers/ollama/provider.py +71 -0
  87. mirascope/llm/providers/openai/__init__.py +10 -1
  88. mirascope/llm/providers/openai/_utils/__init__.py +5 -0
  89. mirascope/llm/providers/openai/_utils/errors.py +46 -0
  90. mirascope/llm/providers/openai/completions/__init__.py +6 -1
  91. mirascope/llm/providers/openai/completions/_utils/decode.py +57 -5
  92. mirascope/llm/providers/openai/completions/_utils/encode.py +9 -8
  93. mirascope/llm/providers/openai/completions/base_provider.py +513 -0
  94. mirascope/llm/providers/openai/completions/provider.py +13 -447
  95. mirascope/llm/providers/openai/model_info.py +57 -0
  96. mirascope/llm/providers/openai/provider.py +30 -5
  97. mirascope/llm/providers/openai/responses/_utils/decode.py +55 -4
  98. mirascope/llm/providers/openai/responses/_utils/encode.py +9 -9
  99. mirascope/llm/providers/openai/responses/provider.py +33 -28
  100. mirascope/llm/providers/provider_id.py +11 -1
  101. mirascope/llm/providers/provider_registry.py +59 -4
  102. mirascope/llm/providers/together/__init__.py +19 -0
  103. mirascope/llm/providers/together/provider.py +40 -0
  104. mirascope/llm/responses/__init__.py +3 -0
  105. mirascope/llm/responses/base_response.py +4 -0
  106. mirascope/llm/responses/base_stream_response.py +25 -1
  107. mirascope/llm/responses/finish_reason.py +1 -0
  108. mirascope/llm/responses/response.py +9 -0
  109. mirascope/llm/responses/root_response.py +5 -1
  110. mirascope/llm/responses/usage.py +95 -0
  111. mirascope/ops/_internal/closure.py +62 -11
  112. {mirascope-2.0.0a3.dist-info → mirascope-2.0.0a5.dist-info}/METADATA +3 -3
  113. {mirascope-2.0.0a3.dist-info → mirascope-2.0.0a5.dist-info}/RECORD +115 -56
  114. mirascope/llm/providers/load_provider.py +0 -48
  115. mirascope/llm/providers/openai/shared/__init__.py +0 -7
  116. mirascope/llm/providers/openai/shared/_utils.py +0 -59
  117. {mirascope-2.0.0a3.dist-info → mirascope-2.0.0a5.dist-info}/WHEEL +0 -0
  118. {mirascope-2.0.0a3.dist-info → mirascope-2.0.0a5.dist-info}/licenses/LICENSE +0 -0
@@ -165,3 +165,1314 @@ client.docs.openapi()
165
165
  </dl>
166
166
  </details>
167
167
 
168
+ ## organizations
169
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">list</a>()</code></summary>
170
+ <dl>
171
+ <dd>
172
+
173
+ #### 🔌 Usage
174
+
175
+ <dl>
176
+ <dd>
177
+
178
+ <dl>
179
+ <dd>
180
+
181
+ ```python
182
+ from mirascope.api._generated import Mirascope
183
+
184
+ client = Mirascope()
185
+ client.organizations.list()
186
+
187
+ ```
188
+ </dd>
189
+ </dl>
190
+ </dd>
191
+ </dl>
192
+
193
+ #### ⚙️ Parameters
194
+
195
+ <dl>
196
+ <dd>
197
+
198
+ <dl>
199
+ <dd>
200
+
201
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
202
+
203
+ </dd>
204
+ </dl>
205
+ </dd>
206
+ </dl>
207
+
208
+
209
+ </dd>
210
+ </dl>
211
+ </details>
212
+
213
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">create</a>(...)</code></summary>
214
+ <dl>
215
+ <dd>
216
+
217
+ #### 🔌 Usage
218
+
219
+ <dl>
220
+ <dd>
221
+
222
+ <dl>
223
+ <dd>
224
+
225
+ ```python
226
+ from mirascope.api._generated import Mirascope
227
+
228
+ client = Mirascope()
229
+ client.organizations.create(
230
+ name="name",
231
+ slug="slug",
232
+ )
233
+
234
+ ```
235
+ </dd>
236
+ </dl>
237
+ </dd>
238
+ </dl>
239
+
240
+ #### ⚙️ Parameters
241
+
242
+ <dl>
243
+ <dd>
244
+
245
+ <dl>
246
+ <dd>
247
+
248
+ **name:** `str` — a string at most 100 character(s) long
249
+
250
+ </dd>
251
+ </dl>
252
+
253
+ <dl>
254
+ <dd>
255
+
256
+ **slug:** `str` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
257
+
258
+ </dd>
259
+ </dl>
260
+
261
+ <dl>
262
+ <dd>
263
+
264
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
265
+
266
+ </dd>
267
+ </dl>
268
+ </dd>
269
+ </dl>
270
+
271
+
272
+ </dd>
273
+ </dl>
274
+ </details>
275
+
276
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">get</a>(...)</code></summary>
277
+ <dl>
278
+ <dd>
279
+
280
+ #### 🔌 Usage
281
+
282
+ <dl>
283
+ <dd>
284
+
285
+ <dl>
286
+ <dd>
287
+
288
+ ```python
289
+ from mirascope.api._generated import Mirascope
290
+
291
+ client = Mirascope()
292
+ client.organizations.get(
293
+ id="id",
294
+ )
295
+
296
+ ```
297
+ </dd>
298
+ </dl>
299
+ </dd>
300
+ </dl>
301
+
302
+ #### ⚙️ Parameters
303
+
304
+ <dl>
305
+ <dd>
306
+
307
+ <dl>
308
+ <dd>
309
+
310
+ **id:** `str`
311
+
312
+ </dd>
313
+ </dl>
314
+
315
+ <dl>
316
+ <dd>
317
+
318
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
319
+
320
+ </dd>
321
+ </dl>
322
+ </dd>
323
+ </dl>
324
+
325
+
326
+ </dd>
327
+ </dl>
328
+ </details>
329
+
330
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">update</a>(...)</code></summary>
331
+ <dl>
332
+ <dd>
333
+
334
+ #### 🔌 Usage
335
+
336
+ <dl>
337
+ <dd>
338
+
339
+ <dl>
340
+ <dd>
341
+
342
+ ```python
343
+ from mirascope.api._generated import Mirascope
344
+
345
+ client = Mirascope()
346
+ client.organizations.update(
347
+ id="id",
348
+ )
349
+
350
+ ```
351
+ </dd>
352
+ </dl>
353
+ </dd>
354
+ </dl>
355
+
356
+ #### ⚙️ Parameters
357
+
358
+ <dl>
359
+ <dd>
360
+
361
+ <dl>
362
+ <dd>
363
+
364
+ **id:** `str`
365
+
366
+ </dd>
367
+ </dl>
368
+
369
+ <dl>
370
+ <dd>
371
+
372
+ **name:** `typing.Optional[str]` — a string at most 100 character(s) long
373
+
374
+ </dd>
375
+ </dl>
376
+
377
+ <dl>
378
+ <dd>
379
+
380
+ **slug:** `typing.Optional[str]` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
381
+
382
+ </dd>
383
+ </dl>
384
+
385
+ <dl>
386
+ <dd>
387
+
388
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
389
+
390
+ </dd>
391
+ </dl>
392
+ </dd>
393
+ </dl>
394
+
395
+
396
+ </dd>
397
+ </dl>
398
+ </details>
399
+
400
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">delete</a>(...)</code></summary>
401
+ <dl>
402
+ <dd>
403
+
404
+ #### 🔌 Usage
405
+
406
+ <dl>
407
+ <dd>
408
+
409
+ <dl>
410
+ <dd>
411
+
412
+ ```python
413
+ from mirascope.api._generated import Mirascope
414
+
415
+ client = Mirascope()
416
+ client.organizations.delete(
417
+ id="id",
418
+ )
419
+
420
+ ```
421
+ </dd>
422
+ </dl>
423
+ </dd>
424
+ </dl>
425
+
426
+ #### ⚙️ Parameters
427
+
428
+ <dl>
429
+ <dd>
430
+
431
+ <dl>
432
+ <dd>
433
+
434
+ **id:** `str`
435
+
436
+ </dd>
437
+ </dl>
438
+
439
+ <dl>
440
+ <dd>
441
+
442
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
443
+
444
+ </dd>
445
+ </dl>
446
+ </dd>
447
+ </dl>
448
+
449
+
450
+ </dd>
451
+ </dl>
452
+ </details>
453
+
454
+ ## projects
455
+ <details><summary><code>client.projects.<a href="src/mirascope/projects/client.py">list</a>(...)</code></summary>
456
+ <dl>
457
+ <dd>
458
+
459
+ #### 🔌 Usage
460
+
461
+ <dl>
462
+ <dd>
463
+
464
+ <dl>
465
+ <dd>
466
+
467
+ ```python
468
+ from mirascope.api._generated import Mirascope
469
+
470
+ client = Mirascope()
471
+ client.projects.list(
472
+ organization_id="organizationId",
473
+ )
474
+
475
+ ```
476
+ </dd>
477
+ </dl>
478
+ </dd>
479
+ </dl>
480
+
481
+ #### ⚙️ Parameters
482
+
483
+ <dl>
484
+ <dd>
485
+
486
+ <dl>
487
+ <dd>
488
+
489
+ **organization_id:** `str`
490
+
491
+ </dd>
492
+ </dl>
493
+
494
+ <dl>
495
+ <dd>
496
+
497
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
498
+
499
+ </dd>
500
+ </dl>
501
+ </dd>
502
+ </dl>
503
+
504
+
505
+ </dd>
506
+ </dl>
507
+ </details>
508
+
509
+ <details><summary><code>client.projects.<a href="src/mirascope/projects/client.py">create</a>(...)</code></summary>
510
+ <dl>
511
+ <dd>
512
+
513
+ #### 🔌 Usage
514
+
515
+ <dl>
516
+ <dd>
517
+
518
+ <dl>
519
+ <dd>
520
+
521
+ ```python
522
+ from mirascope.api._generated import Mirascope
523
+
524
+ client = Mirascope()
525
+ client.projects.create(
526
+ organization_id="organizationId",
527
+ name="name",
528
+ slug="slug",
529
+ )
530
+
531
+ ```
532
+ </dd>
533
+ </dl>
534
+ </dd>
535
+ </dl>
536
+
537
+ #### ⚙️ Parameters
538
+
539
+ <dl>
540
+ <dd>
541
+
542
+ <dl>
543
+ <dd>
544
+
545
+ **organization_id:** `str`
546
+
547
+ </dd>
548
+ </dl>
549
+
550
+ <dl>
551
+ <dd>
552
+
553
+ **name:** `str` — a string at most 100 character(s) long
554
+
555
+ </dd>
556
+ </dl>
557
+
558
+ <dl>
559
+ <dd>
560
+
561
+ **slug:** `str` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
562
+
563
+ </dd>
564
+ </dl>
565
+
566
+ <dl>
567
+ <dd>
568
+
569
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
570
+
571
+ </dd>
572
+ </dl>
573
+ </dd>
574
+ </dl>
575
+
576
+
577
+ </dd>
578
+ </dl>
579
+ </details>
580
+
581
+ <details><summary><code>client.projects.<a href="src/mirascope/projects/client.py">get</a>(...)</code></summary>
582
+ <dl>
583
+ <dd>
584
+
585
+ #### 🔌 Usage
586
+
587
+ <dl>
588
+ <dd>
589
+
590
+ <dl>
591
+ <dd>
592
+
593
+ ```python
594
+ from mirascope.api._generated import Mirascope
595
+
596
+ client = Mirascope()
597
+ client.projects.get(
598
+ organization_id="organizationId",
599
+ project_id="projectId",
600
+ )
601
+
602
+ ```
603
+ </dd>
604
+ </dl>
605
+ </dd>
606
+ </dl>
607
+
608
+ #### ⚙️ Parameters
609
+
610
+ <dl>
611
+ <dd>
612
+
613
+ <dl>
614
+ <dd>
615
+
616
+ **organization_id:** `str`
617
+
618
+ </dd>
619
+ </dl>
620
+
621
+ <dl>
622
+ <dd>
623
+
624
+ **project_id:** `str`
625
+
626
+ </dd>
627
+ </dl>
628
+
629
+ <dl>
630
+ <dd>
631
+
632
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
633
+
634
+ </dd>
635
+ </dl>
636
+ </dd>
637
+ </dl>
638
+
639
+
640
+ </dd>
641
+ </dl>
642
+ </details>
643
+
644
+ <details><summary><code>client.projects.<a href="src/mirascope/projects/client.py">update</a>(...)</code></summary>
645
+ <dl>
646
+ <dd>
647
+
648
+ #### 🔌 Usage
649
+
650
+ <dl>
651
+ <dd>
652
+
653
+ <dl>
654
+ <dd>
655
+
656
+ ```python
657
+ from mirascope.api._generated import Mirascope
658
+
659
+ client = Mirascope()
660
+ client.projects.update(
661
+ organization_id="organizationId",
662
+ project_id="projectId",
663
+ )
664
+
665
+ ```
666
+ </dd>
667
+ </dl>
668
+ </dd>
669
+ </dl>
670
+
671
+ #### ⚙️ Parameters
672
+
673
+ <dl>
674
+ <dd>
675
+
676
+ <dl>
677
+ <dd>
678
+
679
+ **organization_id:** `str`
680
+
681
+ </dd>
682
+ </dl>
683
+
684
+ <dl>
685
+ <dd>
686
+
687
+ **project_id:** `str`
688
+
689
+ </dd>
690
+ </dl>
691
+
692
+ <dl>
693
+ <dd>
694
+
695
+ **name:** `typing.Optional[str]` — a string at most 100 character(s) long
696
+
697
+ </dd>
698
+ </dl>
699
+
700
+ <dl>
701
+ <dd>
702
+
703
+ **slug:** `typing.Optional[str]` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
704
+
705
+ </dd>
706
+ </dl>
707
+
708
+ <dl>
709
+ <dd>
710
+
711
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
712
+
713
+ </dd>
714
+ </dl>
715
+ </dd>
716
+ </dl>
717
+
718
+
719
+ </dd>
720
+ </dl>
721
+ </details>
722
+
723
+ <details><summary><code>client.projects.<a href="src/mirascope/projects/client.py">delete</a>(...)</code></summary>
724
+ <dl>
725
+ <dd>
726
+
727
+ #### 🔌 Usage
728
+
729
+ <dl>
730
+ <dd>
731
+
732
+ <dl>
733
+ <dd>
734
+
735
+ ```python
736
+ from mirascope.api._generated import Mirascope
737
+
738
+ client = Mirascope()
739
+ client.projects.delete(
740
+ organization_id="organizationId",
741
+ project_id="projectId",
742
+ )
743
+
744
+ ```
745
+ </dd>
746
+ </dl>
747
+ </dd>
748
+ </dl>
749
+
750
+ #### ⚙️ Parameters
751
+
752
+ <dl>
753
+ <dd>
754
+
755
+ <dl>
756
+ <dd>
757
+
758
+ **organization_id:** `str`
759
+
760
+ </dd>
761
+ </dl>
762
+
763
+ <dl>
764
+ <dd>
765
+
766
+ **project_id:** `str`
767
+
768
+ </dd>
769
+ </dl>
770
+
771
+ <dl>
772
+ <dd>
773
+
774
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
775
+
776
+ </dd>
777
+ </dl>
778
+ </dd>
779
+ </dl>
780
+
781
+
782
+ </dd>
783
+ </dl>
784
+ </details>
785
+
786
+ ## environments
787
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">list</a>(...)</code></summary>
788
+ <dl>
789
+ <dd>
790
+
791
+ #### 🔌 Usage
792
+
793
+ <dl>
794
+ <dd>
795
+
796
+ <dl>
797
+ <dd>
798
+
799
+ ```python
800
+ from mirascope.api._generated import Mirascope
801
+
802
+ client = Mirascope()
803
+ client.environments.list(
804
+ organization_id="organizationId",
805
+ project_id="projectId",
806
+ )
807
+
808
+ ```
809
+ </dd>
810
+ </dl>
811
+ </dd>
812
+ </dl>
813
+
814
+ #### ⚙️ Parameters
815
+
816
+ <dl>
817
+ <dd>
818
+
819
+ <dl>
820
+ <dd>
821
+
822
+ **organization_id:** `str`
823
+
824
+ </dd>
825
+ </dl>
826
+
827
+ <dl>
828
+ <dd>
829
+
830
+ **project_id:** `str`
831
+
832
+ </dd>
833
+ </dl>
834
+
835
+ <dl>
836
+ <dd>
837
+
838
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
839
+
840
+ </dd>
841
+ </dl>
842
+ </dd>
843
+ </dl>
844
+
845
+
846
+ </dd>
847
+ </dl>
848
+ </details>
849
+
850
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">create</a>(...)</code></summary>
851
+ <dl>
852
+ <dd>
853
+
854
+ #### 🔌 Usage
855
+
856
+ <dl>
857
+ <dd>
858
+
859
+ <dl>
860
+ <dd>
861
+
862
+ ```python
863
+ from mirascope.api._generated import Mirascope
864
+
865
+ client = Mirascope()
866
+ client.environments.create(
867
+ organization_id="organizationId",
868
+ project_id="projectId",
869
+ name="name",
870
+ slug="slug",
871
+ )
872
+
873
+ ```
874
+ </dd>
875
+ </dl>
876
+ </dd>
877
+ </dl>
878
+
879
+ #### ⚙️ Parameters
880
+
881
+ <dl>
882
+ <dd>
883
+
884
+ <dl>
885
+ <dd>
886
+
887
+ **organization_id:** `str`
888
+
889
+ </dd>
890
+ </dl>
891
+
892
+ <dl>
893
+ <dd>
894
+
895
+ **project_id:** `str`
896
+
897
+ </dd>
898
+ </dl>
899
+
900
+ <dl>
901
+ <dd>
902
+
903
+ **name:** `str` — a string at most 100 character(s) long
904
+
905
+ </dd>
906
+ </dl>
907
+
908
+ <dl>
909
+ <dd>
910
+
911
+ **slug:** `str` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
912
+
913
+ </dd>
914
+ </dl>
915
+
916
+ <dl>
917
+ <dd>
918
+
919
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
920
+
921
+ </dd>
922
+ </dl>
923
+ </dd>
924
+ </dl>
925
+
926
+
927
+ </dd>
928
+ </dl>
929
+ </details>
930
+
931
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">get</a>(...)</code></summary>
932
+ <dl>
933
+ <dd>
934
+
935
+ #### 🔌 Usage
936
+
937
+ <dl>
938
+ <dd>
939
+
940
+ <dl>
941
+ <dd>
942
+
943
+ ```python
944
+ from mirascope.api._generated import Mirascope
945
+
946
+ client = Mirascope()
947
+ client.environments.get(
948
+ organization_id="organizationId",
949
+ project_id="projectId",
950
+ environment_id="environmentId",
951
+ )
952
+
953
+ ```
954
+ </dd>
955
+ </dl>
956
+ </dd>
957
+ </dl>
958
+
959
+ #### ⚙️ Parameters
960
+
961
+ <dl>
962
+ <dd>
963
+
964
+ <dl>
965
+ <dd>
966
+
967
+ **organization_id:** `str`
968
+
969
+ </dd>
970
+ </dl>
971
+
972
+ <dl>
973
+ <dd>
974
+
975
+ **project_id:** `str`
976
+
977
+ </dd>
978
+ </dl>
979
+
980
+ <dl>
981
+ <dd>
982
+
983
+ **environment_id:** `str`
984
+
985
+ </dd>
986
+ </dl>
987
+
988
+ <dl>
989
+ <dd>
990
+
991
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
992
+
993
+ </dd>
994
+ </dl>
995
+ </dd>
996
+ </dl>
997
+
998
+
999
+ </dd>
1000
+ </dl>
1001
+ </details>
1002
+
1003
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">update</a>(...)</code></summary>
1004
+ <dl>
1005
+ <dd>
1006
+
1007
+ #### 🔌 Usage
1008
+
1009
+ <dl>
1010
+ <dd>
1011
+
1012
+ <dl>
1013
+ <dd>
1014
+
1015
+ ```python
1016
+ from mirascope.api._generated import Mirascope
1017
+
1018
+ client = Mirascope()
1019
+ client.environments.update(
1020
+ organization_id="organizationId",
1021
+ project_id="projectId",
1022
+ environment_id="environmentId",
1023
+ )
1024
+
1025
+ ```
1026
+ </dd>
1027
+ </dl>
1028
+ </dd>
1029
+ </dl>
1030
+
1031
+ #### ⚙️ Parameters
1032
+
1033
+ <dl>
1034
+ <dd>
1035
+
1036
+ <dl>
1037
+ <dd>
1038
+
1039
+ **organization_id:** `str`
1040
+
1041
+ </dd>
1042
+ </dl>
1043
+
1044
+ <dl>
1045
+ <dd>
1046
+
1047
+ **project_id:** `str`
1048
+
1049
+ </dd>
1050
+ </dl>
1051
+
1052
+ <dl>
1053
+ <dd>
1054
+
1055
+ **environment_id:** `str`
1056
+
1057
+ </dd>
1058
+ </dl>
1059
+
1060
+ <dl>
1061
+ <dd>
1062
+
1063
+ **name:** `typing.Optional[str]` — a string at most 100 character(s) long
1064
+
1065
+ </dd>
1066
+ </dl>
1067
+
1068
+ <dl>
1069
+ <dd>
1070
+
1071
+ **slug:** `typing.Optional[str]` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
1072
+
1073
+ </dd>
1074
+ </dl>
1075
+
1076
+ <dl>
1077
+ <dd>
1078
+
1079
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1080
+
1081
+ </dd>
1082
+ </dl>
1083
+ </dd>
1084
+ </dl>
1085
+
1086
+
1087
+ </dd>
1088
+ </dl>
1089
+ </details>
1090
+
1091
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">delete</a>(...)</code></summary>
1092
+ <dl>
1093
+ <dd>
1094
+
1095
+ #### 🔌 Usage
1096
+
1097
+ <dl>
1098
+ <dd>
1099
+
1100
+ <dl>
1101
+ <dd>
1102
+
1103
+ ```python
1104
+ from mirascope.api._generated import Mirascope
1105
+
1106
+ client = Mirascope()
1107
+ client.environments.delete(
1108
+ organization_id="organizationId",
1109
+ project_id="projectId",
1110
+ environment_id="environmentId",
1111
+ )
1112
+
1113
+ ```
1114
+ </dd>
1115
+ </dl>
1116
+ </dd>
1117
+ </dl>
1118
+
1119
+ #### ⚙️ Parameters
1120
+
1121
+ <dl>
1122
+ <dd>
1123
+
1124
+ <dl>
1125
+ <dd>
1126
+
1127
+ **organization_id:** `str`
1128
+
1129
+ </dd>
1130
+ </dl>
1131
+
1132
+ <dl>
1133
+ <dd>
1134
+
1135
+ **project_id:** `str`
1136
+
1137
+ </dd>
1138
+ </dl>
1139
+
1140
+ <dl>
1141
+ <dd>
1142
+
1143
+ **environment_id:** `str`
1144
+
1145
+ </dd>
1146
+ </dl>
1147
+
1148
+ <dl>
1149
+ <dd>
1150
+
1151
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1152
+
1153
+ </dd>
1154
+ </dl>
1155
+ </dd>
1156
+ </dl>
1157
+
1158
+
1159
+ </dd>
1160
+ </dl>
1161
+ </details>
1162
+
1163
+ ## apiKeys
1164
+ <details><summary><code>client.api_keys.<a href="src/mirascope/api_keys/client.py">api_keys_list</a>(...)</code></summary>
1165
+ <dl>
1166
+ <dd>
1167
+
1168
+ #### 🔌 Usage
1169
+
1170
+ <dl>
1171
+ <dd>
1172
+
1173
+ <dl>
1174
+ <dd>
1175
+
1176
+ ```python
1177
+ from mirascope.api._generated import Mirascope
1178
+
1179
+ client = Mirascope()
1180
+ client.api_keys.api_keys_list(
1181
+ organization_id="organizationId",
1182
+ project_id="projectId",
1183
+ environment_id="environmentId",
1184
+ )
1185
+
1186
+ ```
1187
+ </dd>
1188
+ </dl>
1189
+ </dd>
1190
+ </dl>
1191
+
1192
+ #### ⚙️ Parameters
1193
+
1194
+ <dl>
1195
+ <dd>
1196
+
1197
+ <dl>
1198
+ <dd>
1199
+
1200
+ **organization_id:** `str`
1201
+
1202
+ </dd>
1203
+ </dl>
1204
+
1205
+ <dl>
1206
+ <dd>
1207
+
1208
+ **project_id:** `str`
1209
+
1210
+ </dd>
1211
+ </dl>
1212
+
1213
+ <dl>
1214
+ <dd>
1215
+
1216
+ **environment_id:** `str`
1217
+
1218
+ </dd>
1219
+ </dl>
1220
+
1221
+ <dl>
1222
+ <dd>
1223
+
1224
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1225
+
1226
+ </dd>
1227
+ </dl>
1228
+ </dd>
1229
+ </dl>
1230
+
1231
+
1232
+ </dd>
1233
+ </dl>
1234
+ </details>
1235
+
1236
+ <details><summary><code>client.api_keys.<a href="src/mirascope/api_keys/client.py">api_keys_create</a>(...)</code></summary>
1237
+ <dl>
1238
+ <dd>
1239
+
1240
+ #### 🔌 Usage
1241
+
1242
+ <dl>
1243
+ <dd>
1244
+
1245
+ <dl>
1246
+ <dd>
1247
+
1248
+ ```python
1249
+ from mirascope.api._generated import Mirascope
1250
+
1251
+ client = Mirascope()
1252
+ client.api_keys.api_keys_create(
1253
+ organization_id="organizationId",
1254
+ project_id="projectId",
1255
+ environment_id="environmentId",
1256
+ name="name",
1257
+ )
1258
+
1259
+ ```
1260
+ </dd>
1261
+ </dl>
1262
+ </dd>
1263
+ </dl>
1264
+
1265
+ #### ⚙️ Parameters
1266
+
1267
+ <dl>
1268
+ <dd>
1269
+
1270
+ <dl>
1271
+ <dd>
1272
+
1273
+ **organization_id:** `str`
1274
+
1275
+ </dd>
1276
+ </dl>
1277
+
1278
+ <dl>
1279
+ <dd>
1280
+
1281
+ **project_id:** `str`
1282
+
1283
+ </dd>
1284
+ </dl>
1285
+
1286
+ <dl>
1287
+ <dd>
1288
+
1289
+ **environment_id:** `str`
1290
+
1291
+ </dd>
1292
+ </dl>
1293
+
1294
+ <dl>
1295
+ <dd>
1296
+
1297
+ **name:** `str` — a string at most 100 character(s) long
1298
+
1299
+ </dd>
1300
+ </dl>
1301
+
1302
+ <dl>
1303
+ <dd>
1304
+
1305
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1306
+
1307
+ </dd>
1308
+ </dl>
1309
+ </dd>
1310
+ </dl>
1311
+
1312
+
1313
+ </dd>
1314
+ </dl>
1315
+ </details>
1316
+
1317
+ <details><summary><code>client.api_keys.<a href="src/mirascope/api_keys/client.py">api_keys_get</a>(...)</code></summary>
1318
+ <dl>
1319
+ <dd>
1320
+
1321
+ #### 🔌 Usage
1322
+
1323
+ <dl>
1324
+ <dd>
1325
+
1326
+ <dl>
1327
+ <dd>
1328
+
1329
+ ```python
1330
+ from mirascope.api._generated import Mirascope
1331
+
1332
+ client = Mirascope()
1333
+ client.api_keys.api_keys_get(
1334
+ organization_id="organizationId",
1335
+ project_id="projectId",
1336
+ environment_id="environmentId",
1337
+ api_key_id="apiKeyId",
1338
+ )
1339
+
1340
+ ```
1341
+ </dd>
1342
+ </dl>
1343
+ </dd>
1344
+ </dl>
1345
+
1346
+ #### ⚙️ Parameters
1347
+
1348
+ <dl>
1349
+ <dd>
1350
+
1351
+ <dl>
1352
+ <dd>
1353
+
1354
+ **organization_id:** `str`
1355
+
1356
+ </dd>
1357
+ </dl>
1358
+
1359
+ <dl>
1360
+ <dd>
1361
+
1362
+ **project_id:** `str`
1363
+
1364
+ </dd>
1365
+ </dl>
1366
+
1367
+ <dl>
1368
+ <dd>
1369
+
1370
+ **environment_id:** `str`
1371
+
1372
+ </dd>
1373
+ </dl>
1374
+
1375
+ <dl>
1376
+ <dd>
1377
+
1378
+ **api_key_id:** `str`
1379
+
1380
+ </dd>
1381
+ </dl>
1382
+
1383
+ <dl>
1384
+ <dd>
1385
+
1386
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1387
+
1388
+ </dd>
1389
+ </dl>
1390
+ </dd>
1391
+ </dl>
1392
+
1393
+
1394
+ </dd>
1395
+ </dl>
1396
+ </details>
1397
+
1398
+ <details><summary><code>client.api_keys.<a href="src/mirascope/api_keys/client.py">api_keys_delete</a>(...)</code></summary>
1399
+ <dl>
1400
+ <dd>
1401
+
1402
+ #### 🔌 Usage
1403
+
1404
+ <dl>
1405
+ <dd>
1406
+
1407
+ <dl>
1408
+ <dd>
1409
+
1410
+ ```python
1411
+ from mirascope.api._generated import Mirascope
1412
+
1413
+ client = Mirascope()
1414
+ client.api_keys.api_keys_delete(
1415
+ organization_id="organizationId",
1416
+ project_id="projectId",
1417
+ environment_id="environmentId",
1418
+ api_key_id="apiKeyId",
1419
+ )
1420
+
1421
+ ```
1422
+ </dd>
1423
+ </dl>
1424
+ </dd>
1425
+ </dl>
1426
+
1427
+ #### ⚙️ Parameters
1428
+
1429
+ <dl>
1430
+ <dd>
1431
+
1432
+ <dl>
1433
+ <dd>
1434
+
1435
+ **organization_id:** `str`
1436
+
1437
+ </dd>
1438
+ </dl>
1439
+
1440
+ <dl>
1441
+ <dd>
1442
+
1443
+ **project_id:** `str`
1444
+
1445
+ </dd>
1446
+ </dl>
1447
+
1448
+ <dl>
1449
+ <dd>
1450
+
1451
+ **environment_id:** `str`
1452
+
1453
+ </dd>
1454
+ </dl>
1455
+
1456
+ <dl>
1457
+ <dd>
1458
+
1459
+ **api_key_id:** `str`
1460
+
1461
+ </dd>
1462
+ </dl>
1463
+
1464
+ <dl>
1465
+ <dd>
1466
+
1467
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1468
+
1469
+ </dd>
1470
+ </dl>
1471
+ </dd>
1472
+ </dl>
1473
+
1474
+
1475
+ </dd>
1476
+ </dl>
1477
+ </details>
1478
+