mirascope 1.0.5__py3-none-any.whl → 2.1.1__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 (632) hide show
  1. mirascope/__init__.py +6 -6
  2. mirascope/_stubs.py +384 -0
  3. mirascope/_utils.py +34 -0
  4. mirascope/api/__init__.py +14 -0
  5. mirascope/api/_generated/README.md +207 -0
  6. mirascope/api/_generated/__init__.py +444 -0
  7. mirascope/api/_generated/annotations/__init__.py +33 -0
  8. mirascope/api/_generated/annotations/client.py +506 -0
  9. mirascope/api/_generated/annotations/raw_client.py +1414 -0
  10. mirascope/api/_generated/annotations/types/__init__.py +31 -0
  11. mirascope/api/_generated/annotations/types/annotations_create_request_label.py +5 -0
  12. mirascope/api/_generated/annotations/types/annotations_create_response.py +48 -0
  13. mirascope/api/_generated/annotations/types/annotations_create_response_label.py +5 -0
  14. mirascope/api/_generated/annotations/types/annotations_get_response.py +48 -0
  15. mirascope/api/_generated/annotations/types/annotations_get_response_label.py +5 -0
  16. mirascope/api/_generated/annotations/types/annotations_list_request_label.py +5 -0
  17. mirascope/api/_generated/annotations/types/annotations_list_response.py +21 -0
  18. mirascope/api/_generated/annotations/types/annotations_list_response_annotations_item.py +50 -0
  19. mirascope/api/_generated/annotations/types/annotations_list_response_annotations_item_label.py +5 -0
  20. mirascope/api/_generated/annotations/types/annotations_update_request_label.py +5 -0
  21. mirascope/api/_generated/annotations/types/annotations_update_response.py +48 -0
  22. mirascope/api/_generated/annotations/types/annotations_update_response_label.py +5 -0
  23. mirascope/api/_generated/api_keys/__init__.py +17 -0
  24. mirascope/api/_generated/api_keys/client.py +530 -0
  25. mirascope/api/_generated/api_keys/raw_client.py +1236 -0
  26. mirascope/api/_generated/api_keys/types/__init__.py +15 -0
  27. mirascope/api/_generated/api_keys/types/api_keys_create_response.py +28 -0
  28. mirascope/api/_generated/api_keys/types/api_keys_get_response.py +27 -0
  29. mirascope/api/_generated/api_keys/types/api_keys_list_all_for_org_response_item.py +40 -0
  30. mirascope/api/_generated/api_keys/types/api_keys_list_response_item.py +27 -0
  31. mirascope/api/_generated/client.py +211 -0
  32. mirascope/api/_generated/core/__init__.py +52 -0
  33. mirascope/api/_generated/core/api_error.py +23 -0
  34. mirascope/api/_generated/core/client_wrapper.py +46 -0
  35. mirascope/api/_generated/core/datetime_utils.py +28 -0
  36. mirascope/api/_generated/core/file.py +67 -0
  37. mirascope/api/_generated/core/force_multipart.py +16 -0
  38. mirascope/api/_generated/core/http_client.py +543 -0
  39. mirascope/api/_generated/core/http_response.py +55 -0
  40. mirascope/api/_generated/core/jsonable_encoder.py +100 -0
  41. mirascope/api/_generated/core/pydantic_utilities.py +255 -0
  42. mirascope/api/_generated/core/query_encoder.py +58 -0
  43. mirascope/api/_generated/core/remove_none_from_dict.py +11 -0
  44. mirascope/api/_generated/core/request_options.py +35 -0
  45. mirascope/api/_generated/core/serialization.py +276 -0
  46. mirascope/api/_generated/docs/__init__.py +4 -0
  47. mirascope/api/_generated/docs/client.py +91 -0
  48. mirascope/api/_generated/docs/raw_client.py +178 -0
  49. mirascope/api/_generated/environment.py +9 -0
  50. mirascope/api/_generated/environments/__init__.py +23 -0
  51. mirascope/api/_generated/environments/client.py +649 -0
  52. mirascope/api/_generated/environments/raw_client.py +1567 -0
  53. mirascope/api/_generated/environments/types/__init__.py +25 -0
  54. mirascope/api/_generated/environments/types/environments_create_response.py +24 -0
  55. mirascope/api/_generated/environments/types/environments_get_analytics_response.py +60 -0
  56. mirascope/api/_generated/environments/types/environments_get_analytics_response_top_functions_item.py +24 -0
  57. mirascope/api/_generated/environments/types/environments_get_analytics_response_top_models_item.py +22 -0
  58. mirascope/api/_generated/environments/types/environments_get_response.py +24 -0
  59. mirascope/api/_generated/environments/types/environments_list_response_item.py +24 -0
  60. mirascope/api/_generated/environments/types/environments_update_response.py +24 -0
  61. mirascope/api/_generated/errors/__init__.py +25 -0
  62. mirascope/api/_generated/errors/bad_request_error.py +14 -0
  63. mirascope/api/_generated/errors/conflict_error.py +14 -0
  64. mirascope/api/_generated/errors/forbidden_error.py +11 -0
  65. mirascope/api/_generated/errors/internal_server_error.py +10 -0
  66. mirascope/api/_generated/errors/not_found_error.py +11 -0
  67. mirascope/api/_generated/errors/payment_required_error.py +15 -0
  68. mirascope/api/_generated/errors/service_unavailable_error.py +14 -0
  69. mirascope/api/_generated/errors/too_many_requests_error.py +15 -0
  70. mirascope/api/_generated/errors/unauthorized_error.py +11 -0
  71. mirascope/api/_generated/functions/__init__.py +39 -0
  72. mirascope/api/_generated/functions/client.py +647 -0
  73. mirascope/api/_generated/functions/raw_client.py +1890 -0
  74. mirascope/api/_generated/functions/types/__init__.py +53 -0
  75. mirascope/api/_generated/functions/types/functions_create_request_dependencies_value.py +20 -0
  76. mirascope/api/_generated/functions/types/functions_create_response.py +37 -0
  77. mirascope/api/_generated/functions/types/functions_create_response_dependencies_value.py +20 -0
  78. mirascope/api/_generated/functions/types/functions_find_by_hash_response.py +39 -0
  79. mirascope/api/_generated/functions/types/functions_find_by_hash_response_dependencies_value.py +20 -0
  80. mirascope/api/_generated/functions/types/functions_get_by_env_response.py +53 -0
  81. mirascope/api/_generated/functions/types/functions_get_by_env_response_dependencies_value.py +22 -0
  82. mirascope/api/_generated/functions/types/functions_get_response.py +37 -0
  83. mirascope/api/_generated/functions/types/functions_get_response_dependencies_value.py +20 -0
  84. mirascope/api/_generated/functions/types/functions_list_by_env_response.py +25 -0
  85. mirascope/api/_generated/functions/types/functions_list_by_env_response_functions_item.py +56 -0
  86. mirascope/api/_generated/functions/types/functions_list_by_env_response_functions_item_dependencies_value.py +22 -0
  87. mirascope/api/_generated/functions/types/functions_list_response.py +21 -0
  88. mirascope/api/_generated/functions/types/functions_list_response_functions_item.py +41 -0
  89. mirascope/api/_generated/functions/types/functions_list_response_functions_item_dependencies_value.py +20 -0
  90. mirascope/api/_generated/health/__init__.py +7 -0
  91. mirascope/api/_generated/health/client.py +92 -0
  92. mirascope/api/_generated/health/raw_client.py +175 -0
  93. mirascope/api/_generated/health/types/__init__.py +8 -0
  94. mirascope/api/_generated/health/types/health_check_response.py +22 -0
  95. mirascope/api/_generated/health/types/health_check_response_status.py +5 -0
  96. mirascope/api/_generated/organization_invitations/__init__.py +33 -0
  97. mirascope/api/_generated/organization_invitations/client.py +546 -0
  98. mirascope/api/_generated/organization_invitations/raw_client.py +1519 -0
  99. mirascope/api/_generated/organization_invitations/types/__init__.py +53 -0
  100. mirascope/api/_generated/organization_invitations/types/organization_invitations_accept_response.py +34 -0
  101. mirascope/api/_generated/organization_invitations/types/organization_invitations_accept_response_role.py +7 -0
  102. mirascope/api/_generated/organization_invitations/types/organization_invitations_create_request_role.py +7 -0
  103. mirascope/api/_generated/organization_invitations/types/organization_invitations_create_response.py +48 -0
  104. mirascope/api/_generated/organization_invitations/types/organization_invitations_create_response_role.py +7 -0
  105. mirascope/api/_generated/organization_invitations/types/organization_invitations_create_response_status.py +7 -0
  106. mirascope/api/_generated/organization_invitations/types/organization_invitations_get_response.py +48 -0
  107. mirascope/api/_generated/organization_invitations/types/organization_invitations_get_response_role.py +7 -0
  108. mirascope/api/_generated/organization_invitations/types/organization_invitations_get_response_status.py +7 -0
  109. mirascope/api/_generated/organization_invitations/types/organization_invitations_list_response_item.py +48 -0
  110. mirascope/api/_generated/organization_invitations/types/organization_invitations_list_response_item_role.py +7 -0
  111. mirascope/api/_generated/organization_invitations/types/organization_invitations_list_response_item_status.py +7 -0
  112. mirascope/api/_generated/organization_memberships/__init__.py +19 -0
  113. mirascope/api/_generated/organization_memberships/client.py +302 -0
  114. mirascope/api/_generated/organization_memberships/raw_client.py +736 -0
  115. mirascope/api/_generated/organization_memberships/types/__init__.py +27 -0
  116. mirascope/api/_generated/organization_memberships/types/organization_memberships_list_response_item.py +33 -0
  117. mirascope/api/_generated/organization_memberships/types/organization_memberships_list_response_item_role.py +7 -0
  118. mirascope/api/_generated/organization_memberships/types/organization_memberships_update_request_role.py +7 -0
  119. mirascope/api/_generated/organization_memberships/types/organization_memberships_update_response.py +31 -0
  120. mirascope/api/_generated/organization_memberships/types/organization_memberships_update_response_role.py +7 -0
  121. mirascope/api/_generated/organizations/__init__.py +51 -0
  122. mirascope/api/_generated/organizations/client.py +869 -0
  123. mirascope/api/_generated/organizations/raw_client.py +2593 -0
  124. mirascope/api/_generated/organizations/types/__init__.py +71 -0
  125. mirascope/api/_generated/organizations/types/organizations_create_payment_intent_response.py +24 -0
  126. mirascope/api/_generated/organizations/types/organizations_create_response.py +26 -0
  127. mirascope/api/_generated/organizations/types/organizations_create_response_role.py +5 -0
  128. mirascope/api/_generated/organizations/types/organizations_get_response.py +26 -0
  129. mirascope/api/_generated/organizations/types/organizations_get_response_role.py +5 -0
  130. mirascope/api/_generated/organizations/types/organizations_list_response_item.py +26 -0
  131. mirascope/api/_generated/organizations/types/organizations_list_response_item_role.py +5 -0
  132. mirascope/api/_generated/organizations/types/organizations_preview_subscription_change_request_target_plan.py +7 -0
  133. mirascope/api/_generated/organizations/types/organizations_preview_subscription_change_response.py +47 -0
  134. mirascope/api/_generated/organizations/types/organizations_preview_subscription_change_response_validation_errors_item.py +33 -0
  135. mirascope/api/_generated/organizations/types/organizations_preview_subscription_change_response_validation_errors_item_resource.py +7 -0
  136. mirascope/api/_generated/organizations/types/organizations_router_balance_response.py +24 -0
  137. mirascope/api/_generated/organizations/types/organizations_subscription_response.py +53 -0
  138. mirascope/api/_generated/organizations/types/organizations_subscription_response_current_plan.py +7 -0
  139. mirascope/api/_generated/organizations/types/organizations_subscription_response_payment_method.py +26 -0
  140. mirascope/api/_generated/organizations/types/organizations_subscription_response_scheduled_change.py +34 -0
  141. mirascope/api/_generated/organizations/types/organizations_subscription_response_scheduled_change_target_plan.py +7 -0
  142. mirascope/api/_generated/organizations/types/organizations_update_response.py +26 -0
  143. mirascope/api/_generated/organizations/types/organizations_update_response_role.py +5 -0
  144. mirascope/api/_generated/organizations/types/organizations_update_subscription_request_target_plan.py +7 -0
  145. mirascope/api/_generated/organizations/types/organizations_update_subscription_response.py +35 -0
  146. mirascope/api/_generated/project_memberships/__init__.py +29 -0
  147. mirascope/api/_generated/project_memberships/client.py +528 -0
  148. mirascope/api/_generated/project_memberships/raw_client.py +1278 -0
  149. mirascope/api/_generated/project_memberships/types/__init__.py +33 -0
  150. mirascope/api/_generated/project_memberships/types/project_memberships_create_request_role.py +7 -0
  151. mirascope/api/_generated/project_memberships/types/project_memberships_create_response.py +35 -0
  152. mirascope/api/_generated/project_memberships/types/project_memberships_create_response_role.py +7 -0
  153. mirascope/api/_generated/project_memberships/types/project_memberships_get_response.py +33 -0
  154. mirascope/api/_generated/project_memberships/types/project_memberships_get_response_role.py +7 -0
  155. mirascope/api/_generated/project_memberships/types/project_memberships_list_response_item.py +33 -0
  156. mirascope/api/_generated/project_memberships/types/project_memberships_list_response_item_role.py +7 -0
  157. mirascope/api/_generated/project_memberships/types/project_memberships_update_request_role.py +7 -0
  158. mirascope/api/_generated/project_memberships/types/project_memberships_update_response.py +35 -0
  159. mirascope/api/_generated/project_memberships/types/project_memberships_update_response_role.py +7 -0
  160. mirascope/api/_generated/projects/__init__.py +7 -0
  161. mirascope/api/_generated/projects/client.py +428 -0
  162. mirascope/api/_generated/projects/raw_client.py +1302 -0
  163. mirascope/api/_generated/projects/types/__init__.py +10 -0
  164. mirascope/api/_generated/projects/types/projects_create_response.py +25 -0
  165. mirascope/api/_generated/projects/types/projects_get_response.py +25 -0
  166. mirascope/api/_generated/projects/types/projects_list_response_item.py +25 -0
  167. mirascope/api/_generated/projects/types/projects_update_response.py +25 -0
  168. mirascope/api/_generated/reference.md +4987 -0
  169. mirascope/api/_generated/tags/__init__.py +19 -0
  170. mirascope/api/_generated/tags/client.py +504 -0
  171. mirascope/api/_generated/tags/raw_client.py +1288 -0
  172. mirascope/api/_generated/tags/types/__init__.py +17 -0
  173. mirascope/api/_generated/tags/types/tags_create_response.py +41 -0
  174. mirascope/api/_generated/tags/types/tags_get_response.py +41 -0
  175. mirascope/api/_generated/tags/types/tags_list_response.py +23 -0
  176. mirascope/api/_generated/tags/types/tags_list_response_tags_item.py +41 -0
  177. mirascope/api/_generated/tags/types/tags_update_response.py +41 -0
  178. mirascope/api/_generated/token_cost/__init__.py +7 -0
  179. mirascope/api/_generated/token_cost/client.py +160 -0
  180. mirascope/api/_generated/token_cost/raw_client.py +264 -0
  181. mirascope/api/_generated/token_cost/types/__init__.py +8 -0
  182. mirascope/api/_generated/token_cost/types/token_cost_calculate_request_usage.py +54 -0
  183. mirascope/api/_generated/token_cost/types/token_cost_calculate_response.py +52 -0
  184. mirascope/api/_generated/traces/__init__.py +97 -0
  185. mirascope/api/_generated/traces/client.py +1103 -0
  186. mirascope/api/_generated/traces/raw_client.py +2322 -0
  187. mirascope/api/_generated/traces/types/__init__.py +155 -0
  188. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item.py +29 -0
  189. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource.py +27 -0
  190. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item.py +23 -0
  191. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value.py +38 -0
  192. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value_array_value.py +19 -0
  193. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value_kvlist_value.py +22 -0
  194. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_resource_attributes_item_value_kvlist_value_values_item.py +20 -0
  195. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item.py +29 -0
  196. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope.py +31 -0
  197. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item.py +23 -0
  198. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value.py +38 -0
  199. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value_array_value.py +19 -0
  200. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value_kvlist_value.py +22 -0
  201. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_scope_attributes_item_value_kvlist_value_values_item.py +22 -0
  202. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item.py +48 -0
  203. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item.py +23 -0
  204. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value.py +38 -0
  205. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value_array_value.py +19 -0
  206. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value_kvlist_value.py +24 -0
  207. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_attributes_item_value_kvlist_value_values_item.py +22 -0
  208. mirascope/api/_generated/traces/types/traces_create_request_resource_spans_item_scope_spans_item_spans_item_status.py +20 -0
  209. mirascope/api/_generated/traces/types/traces_create_response.py +24 -0
  210. mirascope/api/_generated/traces/types/traces_create_response_partial_success.py +22 -0
  211. mirascope/api/_generated/traces/types/traces_get_analytics_summary_response.py +60 -0
  212. mirascope/api/_generated/traces/types/traces_get_analytics_summary_response_top_functions_item.py +24 -0
  213. mirascope/api/_generated/traces/types/traces_get_analytics_summary_response_top_models_item.py +22 -0
  214. mirascope/api/_generated/traces/types/traces_get_trace_detail_by_env_response.py +33 -0
  215. mirascope/api/_generated/traces/types/traces_get_trace_detail_by_env_response_spans_item.py +88 -0
  216. mirascope/api/_generated/traces/types/traces_get_trace_detail_response.py +33 -0
  217. mirascope/api/_generated/traces/types/traces_get_trace_detail_response_spans_item.py +88 -0
  218. mirascope/api/_generated/traces/types/traces_list_by_function_hash_response.py +25 -0
  219. mirascope/api/_generated/traces/types/traces_list_by_function_hash_response_traces_item.py +44 -0
  220. mirascope/api/_generated/traces/types/traces_search_by_env_request_attribute_filters_item.py +26 -0
  221. mirascope/api/_generated/traces/types/traces_search_by_env_request_attribute_filters_item_operator.py +7 -0
  222. mirascope/api/_generated/traces/types/traces_search_by_env_request_sort_by.py +7 -0
  223. mirascope/api/_generated/traces/types/traces_search_by_env_request_sort_order.py +7 -0
  224. mirascope/api/_generated/traces/types/traces_search_by_env_response.py +26 -0
  225. mirascope/api/_generated/traces/types/traces_search_by_env_response_spans_item.py +50 -0
  226. mirascope/api/_generated/traces/types/traces_search_request_attribute_filters_item.py +26 -0
  227. mirascope/api/_generated/traces/types/traces_search_request_attribute_filters_item_operator.py +7 -0
  228. mirascope/api/_generated/traces/types/traces_search_request_sort_by.py +7 -0
  229. mirascope/api/_generated/traces/types/traces_search_request_sort_order.py +5 -0
  230. mirascope/api/_generated/traces/types/traces_search_response.py +26 -0
  231. mirascope/api/_generated/traces/types/traces_search_response_spans_item.py +50 -0
  232. mirascope/api/_generated/types/__init__.py +85 -0
  233. mirascope/api/_generated/types/already_exists_error.py +22 -0
  234. mirascope/api/_generated/types/already_exists_error_tag.py +5 -0
  235. mirascope/api/_generated/types/bad_request_error_body.py +50 -0
  236. mirascope/api/_generated/types/click_house_error.py +22 -0
  237. mirascope/api/_generated/types/database_error.py +22 -0
  238. mirascope/api/_generated/types/database_error_tag.py +5 -0
  239. mirascope/api/_generated/types/date.py +3 -0
  240. mirascope/api/_generated/types/http_api_decode_error.py +27 -0
  241. mirascope/api/_generated/types/http_api_decode_error_tag.py +5 -0
  242. mirascope/api/_generated/types/immutable_resource_error.py +22 -0
  243. mirascope/api/_generated/types/internal_server_error_body.py +49 -0
  244. mirascope/api/_generated/types/issue.py +38 -0
  245. mirascope/api/_generated/types/issue_tag.py +10 -0
  246. mirascope/api/_generated/types/not_found_error_body.py +22 -0
  247. mirascope/api/_generated/types/not_found_error_tag.py +5 -0
  248. mirascope/api/_generated/types/number_from_string.py +3 -0
  249. mirascope/api/_generated/types/permission_denied_error.py +22 -0
  250. mirascope/api/_generated/types/permission_denied_error_tag.py +5 -0
  251. mirascope/api/_generated/types/plan_limit_exceeded_error.py +32 -0
  252. mirascope/api/_generated/types/plan_limit_exceeded_error_tag.py +7 -0
  253. mirascope/api/_generated/types/pricing_unavailable_error.py +23 -0
  254. mirascope/api/_generated/types/property_key.py +7 -0
  255. mirascope/api/_generated/types/property_key_key.py +25 -0
  256. mirascope/api/_generated/types/property_key_key_tag.py +5 -0
  257. mirascope/api/_generated/types/rate_limit_error.py +31 -0
  258. mirascope/api/_generated/types/rate_limit_error_tag.py +5 -0
  259. mirascope/api/_generated/types/service_unavailable_error_body.py +24 -0
  260. mirascope/api/_generated/types/service_unavailable_error_tag.py +7 -0
  261. mirascope/api/_generated/types/stripe_error.py +20 -0
  262. mirascope/api/_generated/types/subscription_past_due_error.py +31 -0
  263. mirascope/api/_generated/types/subscription_past_due_error_tag.py +7 -0
  264. mirascope/api/_generated/types/unauthorized_error_body.py +21 -0
  265. mirascope/api/_generated/types/unauthorized_error_tag.py +5 -0
  266. mirascope/api/client.py +255 -0
  267. mirascope/api/settings.py +99 -0
  268. mirascope/llm/__init__.py +316 -0
  269. mirascope/llm/calls/__init__.py +17 -0
  270. mirascope/llm/calls/calls.py +348 -0
  271. mirascope/llm/calls/decorator.py +268 -0
  272. mirascope/llm/content/__init__.py +71 -0
  273. mirascope/llm/content/audio.py +173 -0
  274. mirascope/llm/content/document.py +94 -0
  275. mirascope/llm/content/image.py +206 -0
  276. mirascope/llm/content/text.py +47 -0
  277. mirascope/llm/content/thought.py +58 -0
  278. mirascope/llm/content/tool_call.py +69 -0
  279. mirascope/llm/content/tool_output.py +43 -0
  280. mirascope/llm/context/__init__.py +6 -0
  281. mirascope/llm/context/_utils.py +41 -0
  282. mirascope/llm/context/context.py +24 -0
  283. mirascope/llm/exceptions.py +360 -0
  284. mirascope/llm/formatting/__init__.py +39 -0
  285. mirascope/llm/formatting/format.py +291 -0
  286. mirascope/llm/formatting/from_call_args.py +30 -0
  287. mirascope/llm/formatting/output_parser.py +178 -0
  288. mirascope/llm/formatting/partial.py +131 -0
  289. mirascope/llm/formatting/primitives.py +192 -0
  290. mirascope/llm/formatting/types.py +83 -0
  291. mirascope/llm/mcp/__init__.py +5 -0
  292. mirascope/llm/mcp/mcp_client.py +130 -0
  293. mirascope/llm/messages/__init__.py +35 -0
  294. mirascope/llm/messages/_utils.py +34 -0
  295. mirascope/llm/messages/message.py +190 -0
  296. mirascope/llm/models/__init__.py +21 -0
  297. mirascope/llm/models/models.py +1339 -0
  298. mirascope/llm/models/params.py +72 -0
  299. mirascope/llm/models/thinking_config.py +61 -0
  300. mirascope/llm/prompts/__init__.py +34 -0
  301. mirascope/llm/prompts/_utils.py +31 -0
  302. mirascope/llm/prompts/decorator.py +215 -0
  303. mirascope/llm/prompts/prompts.py +484 -0
  304. mirascope/llm/prompts/protocols.py +65 -0
  305. mirascope/llm/providers/__init__.py +65 -0
  306. mirascope/llm/providers/anthropic/__init__.py +11 -0
  307. mirascope/llm/providers/anthropic/_utils/__init__.py +27 -0
  308. mirascope/llm/providers/anthropic/_utils/beta_decode.py +297 -0
  309. mirascope/llm/providers/anthropic/_utils/beta_encode.py +272 -0
  310. mirascope/llm/providers/anthropic/_utils/decode.py +326 -0
  311. mirascope/llm/providers/anthropic/_utils/encode.py +431 -0
  312. mirascope/llm/providers/anthropic/_utils/errors.py +46 -0
  313. mirascope/llm/providers/anthropic/beta_provider.py +338 -0
  314. mirascope/llm/providers/anthropic/model_id.py +23 -0
  315. mirascope/llm/providers/anthropic/model_info.py +87 -0
  316. mirascope/llm/providers/anthropic/provider.py +440 -0
  317. mirascope/llm/providers/base/__init__.py +14 -0
  318. mirascope/llm/providers/base/_utils.py +248 -0
  319. mirascope/llm/providers/base/base_provider.py +1463 -0
  320. mirascope/llm/providers/base/kwargs.py +12 -0
  321. mirascope/llm/providers/google/__init__.py +6 -0
  322. mirascope/llm/providers/google/_utils/__init__.py +17 -0
  323. mirascope/llm/providers/google/_utils/decode.py +357 -0
  324. mirascope/llm/providers/google/_utils/encode.py +418 -0
  325. mirascope/llm/providers/google/_utils/errors.py +50 -0
  326. mirascope/llm/providers/google/message.py +7 -0
  327. mirascope/llm/providers/google/model_id.py +22 -0
  328. mirascope/llm/providers/google/model_info.py +63 -0
  329. mirascope/llm/providers/google/provider.py +456 -0
  330. mirascope/llm/providers/mirascope/__init__.py +5 -0
  331. mirascope/llm/providers/mirascope/_utils.py +73 -0
  332. mirascope/llm/providers/mirascope/provider.py +313 -0
  333. mirascope/llm/providers/mlx/__init__.py +9 -0
  334. mirascope/llm/providers/mlx/_utils.py +141 -0
  335. mirascope/llm/providers/mlx/encoding/__init__.py +8 -0
  336. mirascope/llm/providers/mlx/encoding/base.py +69 -0
  337. mirascope/llm/providers/mlx/encoding/transformers.py +146 -0
  338. mirascope/llm/providers/mlx/mlx.py +242 -0
  339. mirascope/llm/providers/mlx/model_id.py +17 -0
  340. mirascope/llm/providers/mlx/provider.py +416 -0
  341. mirascope/llm/providers/model_id.py +16 -0
  342. mirascope/llm/providers/ollama/__init__.py +7 -0
  343. mirascope/llm/providers/ollama/provider.py +71 -0
  344. mirascope/llm/providers/openai/__init__.py +15 -0
  345. mirascope/llm/providers/openai/_utils/__init__.py +5 -0
  346. mirascope/llm/providers/openai/_utils/errors.py +46 -0
  347. mirascope/llm/providers/openai/completions/__init__.py +7 -0
  348. mirascope/llm/providers/openai/completions/_utils/__init__.py +18 -0
  349. mirascope/llm/providers/openai/completions/_utils/decode.py +252 -0
  350. mirascope/llm/providers/openai/completions/_utils/encode.py +390 -0
  351. mirascope/llm/providers/openai/completions/_utils/feature_info.py +50 -0
  352. mirascope/llm/providers/openai/completions/base_provider.py +522 -0
  353. mirascope/llm/providers/openai/completions/provider.py +28 -0
  354. mirascope/llm/providers/openai/model_id.py +31 -0
  355. mirascope/llm/providers/openai/model_info.py +303 -0
  356. mirascope/llm/providers/openai/provider.py +405 -0
  357. mirascope/llm/providers/openai/responses/__init__.py +5 -0
  358. mirascope/llm/providers/openai/responses/_utils/__init__.py +15 -0
  359. mirascope/llm/providers/openai/responses/_utils/decode.py +289 -0
  360. mirascope/llm/providers/openai/responses/_utils/encode.py +399 -0
  361. mirascope/llm/providers/openai/responses/provider.py +472 -0
  362. mirascope/llm/providers/openrouter/__init__.py +5 -0
  363. mirascope/llm/providers/openrouter/provider.py +67 -0
  364. mirascope/llm/providers/provider_id.py +26 -0
  365. mirascope/llm/providers/provider_registry.py +305 -0
  366. mirascope/llm/providers/together/__init__.py +7 -0
  367. mirascope/llm/providers/together/provider.py +40 -0
  368. mirascope/llm/responses/__init__.py +66 -0
  369. mirascope/llm/responses/_utils.py +146 -0
  370. mirascope/llm/responses/base_response.py +103 -0
  371. mirascope/llm/responses/base_stream_response.py +824 -0
  372. mirascope/llm/responses/finish_reason.py +28 -0
  373. mirascope/llm/responses/response.py +362 -0
  374. mirascope/llm/responses/root_response.py +248 -0
  375. mirascope/llm/responses/stream_response.py +577 -0
  376. mirascope/llm/responses/streams.py +363 -0
  377. mirascope/llm/responses/usage.py +139 -0
  378. mirascope/llm/tools/__init__.py +71 -0
  379. mirascope/llm/tools/_utils.py +34 -0
  380. mirascope/llm/tools/decorator.py +184 -0
  381. mirascope/llm/tools/protocols.py +96 -0
  382. mirascope/llm/tools/provider_tools.py +18 -0
  383. mirascope/llm/tools/tool_schema.py +321 -0
  384. mirascope/llm/tools/toolkit.py +178 -0
  385. mirascope/llm/tools/tools.py +263 -0
  386. mirascope/llm/tools/types.py +112 -0
  387. mirascope/llm/tools/web_search_tool.py +32 -0
  388. mirascope/llm/types/__init__.py +22 -0
  389. mirascope/llm/types/dataclass.py +9 -0
  390. mirascope/llm/types/jsonable.py +44 -0
  391. mirascope/llm/types/type_vars.py +19 -0
  392. mirascope/ops/__init__.py +129 -0
  393. mirascope/ops/_internal/__init__.py +5 -0
  394. mirascope/ops/_internal/closure.py +1172 -0
  395. mirascope/ops/_internal/configuration.py +177 -0
  396. mirascope/ops/_internal/context.py +76 -0
  397. mirascope/ops/_internal/exporters/__init__.py +26 -0
  398. mirascope/ops/_internal/exporters/exporters.py +362 -0
  399. mirascope/ops/_internal/exporters/processors.py +104 -0
  400. mirascope/ops/_internal/exporters/types.py +165 -0
  401. mirascope/ops/_internal/exporters/utils.py +66 -0
  402. mirascope/ops/_internal/instrumentation/__init__.py +28 -0
  403. mirascope/ops/_internal/instrumentation/llm/__init__.py +8 -0
  404. mirascope/ops/_internal/instrumentation/llm/common.py +500 -0
  405. mirascope/ops/_internal/instrumentation/llm/cost.py +190 -0
  406. mirascope/ops/_internal/instrumentation/llm/encode.py +238 -0
  407. mirascope/ops/_internal/instrumentation/llm/gen_ai_types/__init__.py +38 -0
  408. mirascope/ops/_internal/instrumentation/llm/gen_ai_types/gen_ai_input_messages.py +31 -0
  409. mirascope/ops/_internal/instrumentation/llm/gen_ai_types/gen_ai_output_messages.py +38 -0
  410. mirascope/ops/_internal/instrumentation/llm/gen_ai_types/gen_ai_system_instructions.py +18 -0
  411. mirascope/ops/_internal/instrumentation/llm/gen_ai_types/shared.py +100 -0
  412. mirascope/ops/_internal/instrumentation/llm/llm.py +161 -0
  413. mirascope/ops/_internal/instrumentation/llm/model.py +1777 -0
  414. mirascope/ops/_internal/instrumentation/llm/response.py +521 -0
  415. mirascope/ops/_internal/instrumentation/llm/serialize.py +324 -0
  416. mirascope/ops/_internal/instrumentation/providers/__init__.py +29 -0
  417. mirascope/ops/_internal/instrumentation/providers/anthropic.py +78 -0
  418. mirascope/ops/_internal/instrumentation/providers/base.py +179 -0
  419. mirascope/ops/_internal/instrumentation/providers/google_genai.py +85 -0
  420. mirascope/ops/_internal/instrumentation/providers/openai.py +82 -0
  421. mirascope/ops/_internal/propagation.py +198 -0
  422. mirascope/ops/_internal/protocols.py +133 -0
  423. mirascope/ops/_internal/session.py +139 -0
  424. mirascope/ops/_internal/spans.py +232 -0
  425. mirascope/ops/_internal/traced_calls.py +389 -0
  426. mirascope/ops/_internal/traced_functions.py +528 -0
  427. mirascope/ops/_internal/tracing.py +353 -0
  428. mirascope/ops/_internal/types.py +13 -0
  429. mirascope/ops/_internal/utils.py +131 -0
  430. mirascope/ops/_internal/versioned_calls.py +512 -0
  431. mirascope/ops/_internal/versioned_functions.py +357 -0
  432. mirascope/ops/_internal/versioning.py +303 -0
  433. mirascope/ops/exceptions.py +21 -0
  434. mirascope-2.1.1.dist-info/METADATA +231 -0
  435. mirascope-2.1.1.dist-info/RECORD +437 -0
  436. {mirascope-1.0.5.dist-info → mirascope-2.1.1.dist-info}/WHEEL +1 -1
  437. {mirascope-1.0.5.dist-info → mirascope-2.1.1.dist-info}/licenses/LICENSE +1 -1
  438. mirascope/beta/__init__.py +0 -0
  439. mirascope/beta/openai/__init__.py +0 -5
  440. mirascope/beta/openai/parse.py +0 -129
  441. mirascope/beta/rag/__init__.py +0 -24
  442. mirascope/beta/rag/base/__init__.py +0 -22
  443. mirascope/beta/rag/base/chunkers/__init__.py +0 -2
  444. mirascope/beta/rag/base/chunkers/base_chunker.py +0 -37
  445. mirascope/beta/rag/base/chunkers/text_chunker.py +0 -33
  446. mirascope/beta/rag/base/config.py +0 -8
  447. mirascope/beta/rag/base/document.py +0 -11
  448. mirascope/beta/rag/base/embedders.py +0 -35
  449. mirascope/beta/rag/base/embedding_params.py +0 -18
  450. mirascope/beta/rag/base/embedding_response.py +0 -30
  451. mirascope/beta/rag/base/query_results.py +0 -7
  452. mirascope/beta/rag/base/vectorstore_params.py +0 -18
  453. mirascope/beta/rag/base/vectorstores.py +0 -37
  454. mirascope/beta/rag/chroma/__init__.py +0 -11
  455. mirascope/beta/rag/chroma/types.py +0 -57
  456. mirascope/beta/rag/chroma/vectorstores.py +0 -97
  457. mirascope/beta/rag/cohere/__init__.py +0 -11
  458. mirascope/beta/rag/cohere/embedders.py +0 -87
  459. mirascope/beta/rag/cohere/embedding_params.py +0 -29
  460. mirascope/beta/rag/cohere/embedding_response.py +0 -29
  461. mirascope/beta/rag/cohere/py.typed +0 -0
  462. mirascope/beta/rag/openai/__init__.py +0 -11
  463. mirascope/beta/rag/openai/embedders.py +0 -144
  464. mirascope/beta/rag/openai/embedding_params.py +0 -18
  465. mirascope/beta/rag/openai/embedding_response.py +0 -14
  466. mirascope/beta/rag/openai/py.typed +0 -0
  467. mirascope/beta/rag/pinecone/__init__.py +0 -19
  468. mirascope/beta/rag/pinecone/types.py +0 -143
  469. mirascope/beta/rag/pinecone/vectorstores.py +0 -148
  470. mirascope/beta/rag/weaviate/__init__.py +0 -6
  471. mirascope/beta/rag/weaviate/types.py +0 -92
  472. mirascope/beta/rag/weaviate/vectorstores.py +0 -103
  473. mirascope/core/__init__.py +0 -55
  474. mirascope/core/anthropic/__init__.py +0 -21
  475. mirascope/core/anthropic/_call.py +0 -71
  476. mirascope/core/anthropic/_utils/__init__.py +0 -16
  477. mirascope/core/anthropic/_utils/_calculate_cost.py +0 -63
  478. mirascope/core/anthropic/_utils/_convert_message_params.py +0 -54
  479. mirascope/core/anthropic/_utils/_get_json_output.py +0 -34
  480. mirascope/core/anthropic/_utils/_handle_stream.py +0 -89
  481. mirascope/core/anthropic/_utils/_setup_call.py +0 -76
  482. mirascope/core/anthropic/call_params.py +0 -36
  483. mirascope/core/anthropic/call_response.py +0 -158
  484. mirascope/core/anthropic/call_response_chunk.py +0 -104
  485. mirascope/core/anthropic/dynamic_config.py +0 -26
  486. mirascope/core/anthropic/py.typed +0 -0
  487. mirascope/core/anthropic/stream.py +0 -140
  488. mirascope/core/anthropic/tool.py +0 -77
  489. mirascope/core/base/__init__.py +0 -40
  490. mirascope/core/base/_call_factory.py +0 -323
  491. mirascope/core/base/_create.py +0 -167
  492. mirascope/core/base/_extract.py +0 -139
  493. mirascope/core/base/_partial.py +0 -63
  494. mirascope/core/base/_utils/__init__.py +0 -64
  495. mirascope/core/base/_utils/_base_type.py +0 -17
  496. mirascope/core/base/_utils/_convert_base_model_to_base_tool.py +0 -45
  497. mirascope/core/base/_utils/_convert_base_type_to_base_tool.py +0 -24
  498. mirascope/core/base/_utils/_convert_function_to_base_tool.py +0 -126
  499. mirascope/core/base/_utils/_default_tool_docstring.py +0 -6
  500. mirascope/core/base/_utils/_extract_tool_return.py +0 -36
  501. mirascope/core/base/_utils/_format_template.py +0 -29
  502. mirascope/core/base/_utils/_get_audio_type.py +0 -18
  503. mirascope/core/base/_utils/_get_fn_args.py +0 -14
  504. mirascope/core/base/_utils/_get_image_type.py +0 -26
  505. mirascope/core/base/_utils/_get_metadata.py +0 -17
  506. mirascope/core/base/_utils/_get_possible_user_message_param.py +0 -21
  507. mirascope/core/base/_utils/_get_prompt_template.py +0 -25
  508. mirascope/core/base/_utils/_get_template_values.py +0 -52
  509. mirascope/core/base/_utils/_get_template_variables.py +0 -38
  510. mirascope/core/base/_utils/_json_mode_content.py +0 -15
  511. mirascope/core/base/_utils/_parse_content_template.py +0 -157
  512. mirascope/core/base/_utils/_parse_prompt_messages.py +0 -51
  513. mirascope/core/base/_utils/_protocols.py +0 -215
  514. mirascope/core/base/_utils/_setup_call.py +0 -64
  515. mirascope/core/base/_utils/_setup_extract_tool.py +0 -24
  516. mirascope/core/base/call_params.py +0 -6
  517. mirascope/core/base/call_response.py +0 -189
  518. mirascope/core/base/call_response_chunk.py +0 -91
  519. mirascope/core/base/dynamic_config.py +0 -55
  520. mirascope/core/base/message_param.py +0 -61
  521. mirascope/core/base/metadata.py +0 -13
  522. mirascope/core/base/prompt.py +0 -415
  523. mirascope/core/base/stream.py +0 -365
  524. mirascope/core/base/structured_stream.py +0 -251
  525. mirascope/core/base/tool.py +0 -126
  526. mirascope/core/base/toolkit.py +0 -146
  527. mirascope/core/cohere/__init__.py +0 -21
  528. mirascope/core/cohere/_call.py +0 -71
  529. mirascope/core/cohere/_utils/__init__.py +0 -16
  530. mirascope/core/cohere/_utils/_calculate_cost.py +0 -39
  531. mirascope/core/cohere/_utils/_convert_message_params.py +0 -31
  532. mirascope/core/cohere/_utils/_get_json_output.py +0 -31
  533. mirascope/core/cohere/_utils/_handle_stream.py +0 -33
  534. mirascope/core/cohere/_utils/_setup_call.py +0 -89
  535. mirascope/core/cohere/call_params.py +0 -57
  536. mirascope/core/cohere/call_response.py +0 -167
  537. mirascope/core/cohere/call_response_chunk.py +0 -101
  538. mirascope/core/cohere/dynamic_config.py +0 -24
  539. mirascope/core/cohere/py.typed +0 -0
  540. mirascope/core/cohere/stream.py +0 -113
  541. mirascope/core/cohere/tool.py +0 -92
  542. mirascope/core/gemini/__init__.py +0 -21
  543. mirascope/core/gemini/_call.py +0 -71
  544. mirascope/core/gemini/_utils/__init__.py +0 -16
  545. mirascope/core/gemini/_utils/_calculate_cost.py +0 -8
  546. mirascope/core/gemini/_utils/_convert_message_params.py +0 -74
  547. mirascope/core/gemini/_utils/_get_json_output.py +0 -33
  548. mirascope/core/gemini/_utils/_handle_stream.py +0 -33
  549. mirascope/core/gemini/_utils/_setup_call.py +0 -68
  550. mirascope/core/gemini/call_params.py +0 -28
  551. mirascope/core/gemini/call_response.py +0 -173
  552. mirascope/core/gemini/call_response_chunk.py +0 -85
  553. mirascope/core/gemini/dynamic_config.py +0 -26
  554. mirascope/core/gemini/stream.py +0 -121
  555. mirascope/core/gemini/tool.py +0 -104
  556. mirascope/core/groq/__init__.py +0 -21
  557. mirascope/core/groq/_call.py +0 -71
  558. mirascope/core/groq/_utils/__init__.py +0 -16
  559. mirascope/core/groq/_utils/_calculate_cost.py +0 -68
  560. mirascope/core/groq/_utils/_convert_message_params.py +0 -23
  561. mirascope/core/groq/_utils/_get_json_output.py +0 -27
  562. mirascope/core/groq/_utils/_handle_stream.py +0 -121
  563. mirascope/core/groq/_utils/_setup_call.py +0 -67
  564. mirascope/core/groq/call_params.py +0 -51
  565. mirascope/core/groq/call_response.py +0 -160
  566. mirascope/core/groq/call_response_chunk.py +0 -89
  567. mirascope/core/groq/dynamic_config.py +0 -26
  568. mirascope/core/groq/py.typed +0 -0
  569. mirascope/core/groq/stream.py +0 -136
  570. mirascope/core/groq/tool.py +0 -79
  571. mirascope/core/litellm/__init__.py +0 -6
  572. mirascope/core/litellm/_call.py +0 -73
  573. mirascope/core/litellm/_utils/__init__.py +0 -5
  574. mirascope/core/litellm/_utils/_setup_call.py +0 -46
  575. mirascope/core/litellm/py.typed +0 -0
  576. mirascope/core/mistral/__init__.py +0 -21
  577. mirascope/core/mistral/_call.py +0 -69
  578. mirascope/core/mistral/_utils/__init__.py +0 -16
  579. mirascope/core/mistral/_utils/_calculate_cost.py +0 -47
  580. mirascope/core/mistral/_utils/_convert_message_params.py +0 -23
  581. mirascope/core/mistral/_utils/_get_json_output.py +0 -28
  582. mirascope/core/mistral/_utils/_handle_stream.py +0 -121
  583. mirascope/core/mistral/_utils/_setup_call.py +0 -86
  584. mirascope/core/mistral/call_params.py +0 -36
  585. mirascope/core/mistral/call_response.py +0 -156
  586. mirascope/core/mistral/call_response_chunk.py +0 -84
  587. mirascope/core/mistral/dynamic_config.py +0 -24
  588. mirascope/core/mistral/py.typed +0 -0
  589. mirascope/core/mistral/stream.py +0 -117
  590. mirascope/core/mistral/tool.py +0 -77
  591. mirascope/core/openai/__init__.py +0 -21
  592. mirascope/core/openai/_call.py +0 -71
  593. mirascope/core/openai/_utils/__init__.py +0 -16
  594. mirascope/core/openai/_utils/_calculate_cost.py +0 -110
  595. mirascope/core/openai/_utils/_convert_message_params.py +0 -53
  596. mirascope/core/openai/_utils/_get_json_output.py +0 -27
  597. mirascope/core/openai/_utils/_handle_stream.py +0 -125
  598. mirascope/core/openai/_utils/_setup_call.py +0 -62
  599. mirascope/core/openai/call_params.py +0 -54
  600. mirascope/core/openai/call_response.py +0 -162
  601. mirascope/core/openai/call_response_chunk.py +0 -90
  602. mirascope/core/openai/dynamic_config.py +0 -26
  603. mirascope/core/openai/py.typed +0 -0
  604. mirascope/core/openai/stream.py +0 -148
  605. mirascope/core/openai/tool.py +0 -79
  606. mirascope/core/py.typed +0 -0
  607. mirascope/integrations/__init__.py +0 -20
  608. mirascope/integrations/_middleware_factory.py +0 -277
  609. mirascope/integrations/langfuse/__init__.py +0 -3
  610. mirascope/integrations/langfuse/_utils.py +0 -114
  611. mirascope/integrations/langfuse/_with_langfuse.py +0 -71
  612. mirascope/integrations/logfire/__init__.py +0 -3
  613. mirascope/integrations/logfire/_utils.py +0 -188
  614. mirascope/integrations/logfire/_with_logfire.py +0 -60
  615. mirascope/integrations/otel/__init__.py +0 -5
  616. mirascope/integrations/otel/_utils.py +0 -268
  617. mirascope/integrations/otel/_with_hyperdx.py +0 -61
  618. mirascope/integrations/otel/_with_otel.py +0 -60
  619. mirascope/integrations/tenacity.py +0 -50
  620. mirascope/py.typed +0 -0
  621. mirascope/v0/__init__.py +0 -43
  622. mirascope/v0/anthropic.py +0 -54
  623. mirascope/v0/base/__init__.py +0 -12
  624. mirascope/v0/base/calls.py +0 -118
  625. mirascope/v0/base/extractors.py +0 -122
  626. mirascope/v0/base/ops_utils.py +0 -207
  627. mirascope/v0/base/prompts.py +0 -48
  628. mirascope/v0/base/types.py +0 -14
  629. mirascope/v0/base/utils.py +0 -21
  630. mirascope/v0/openai.py +0 -54
  631. mirascope-1.0.5.dist-info/METADATA +0 -519
  632. mirascope-1.0.5.dist-info/RECORD +0 -198
@@ -0,0 +1,4987 @@
1
+ # Reference
2
+ ## health
3
+ <details><summary><code>client.health.<a href="src/mirascope/health/client.py">check</a>()</code></summary>
4
+ <dl>
5
+ <dd>
6
+
7
+ #### 🔌 Usage
8
+
9
+ <dl>
10
+ <dd>
11
+
12
+ <dl>
13
+ <dd>
14
+
15
+ ```python
16
+ from mirascope.api._generated import Mirascope
17
+
18
+ client = Mirascope()
19
+ client.health.check()
20
+
21
+ ```
22
+ </dd>
23
+ </dl>
24
+ </dd>
25
+ </dl>
26
+
27
+ #### ⚙️ Parameters
28
+
29
+ <dl>
30
+ <dd>
31
+
32
+ <dl>
33
+ <dd>
34
+
35
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
36
+
37
+ </dd>
38
+ </dl>
39
+ </dd>
40
+ </dl>
41
+
42
+
43
+ </dd>
44
+ </dl>
45
+ </details>
46
+
47
+ ## traces
48
+ <details><summary><code>client.traces.<a href="src/mirascope/traces/client.py">create</a>(...)</code></summary>
49
+ <dl>
50
+ <dd>
51
+
52
+ #### 🔌 Usage
53
+
54
+ <dl>
55
+ <dd>
56
+
57
+ <dl>
58
+ <dd>
59
+
60
+ ```python
61
+ from mirascope.api._generated import Mirascope
62
+ from mirascope.api._generated.traces import (
63
+ TracesCreateRequestResourceSpansItem,
64
+ TracesCreateRequestResourceSpansItemScopeSpansItem,
65
+ TracesCreateRequestResourceSpansItemScopeSpansItemSpansItem,
66
+ )
67
+
68
+ client = Mirascope()
69
+ client.traces.create(
70
+ resource_spans=[
71
+ TracesCreateRequestResourceSpansItem(
72
+ scope_spans=[
73
+ TracesCreateRequestResourceSpansItemScopeSpansItem(
74
+ spans=[
75
+ TracesCreateRequestResourceSpansItemScopeSpansItemSpansItem(
76
+ trace_id="traceId",
77
+ span_id="spanId",
78
+ name="name",
79
+ start_time_unix_nano="startTimeUnixNano",
80
+ end_time_unix_nano="endTimeUnixNano",
81
+ )
82
+ ],
83
+ )
84
+ ],
85
+ )
86
+ ],
87
+ )
88
+
89
+ ```
90
+ </dd>
91
+ </dl>
92
+ </dd>
93
+ </dl>
94
+
95
+ #### ⚙️ Parameters
96
+
97
+ <dl>
98
+ <dd>
99
+
100
+ <dl>
101
+ <dd>
102
+
103
+ **resource_spans:** `typing.Sequence[TracesCreateRequestResourceSpansItem]`
104
+
105
+ </dd>
106
+ </dl>
107
+
108
+ <dl>
109
+ <dd>
110
+
111
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
112
+
113
+ </dd>
114
+ </dl>
115
+ </dd>
116
+ </dl>
117
+
118
+
119
+ </dd>
120
+ </dl>
121
+ </details>
122
+
123
+ <details><summary><code>client.traces.<a href="src/mirascope/traces/client.py">search</a>(...)</code></summary>
124
+ <dl>
125
+ <dd>
126
+
127
+ #### 🔌 Usage
128
+
129
+ <dl>
130
+ <dd>
131
+
132
+ <dl>
133
+ <dd>
134
+
135
+ ```python
136
+ from mirascope.api._generated import Mirascope
137
+
138
+ client = Mirascope()
139
+ client.traces.search(
140
+ start_time="startTime",
141
+ end_time="endTime",
142
+ )
143
+
144
+ ```
145
+ </dd>
146
+ </dl>
147
+ </dd>
148
+ </dl>
149
+
150
+ #### ⚙️ Parameters
151
+
152
+ <dl>
153
+ <dd>
154
+
155
+ <dl>
156
+ <dd>
157
+
158
+ **start_time:** `str`
159
+
160
+ </dd>
161
+ </dl>
162
+
163
+ <dl>
164
+ <dd>
165
+
166
+ **end_time:** `str`
167
+
168
+ </dd>
169
+ </dl>
170
+
171
+ <dl>
172
+ <dd>
173
+
174
+ **query:** `typing.Optional[str]`
175
+
176
+ </dd>
177
+ </dl>
178
+
179
+ <dl>
180
+ <dd>
181
+
182
+ **input_messages_query:** `typing.Optional[str]`
183
+
184
+ </dd>
185
+ </dl>
186
+
187
+ <dl>
188
+ <dd>
189
+
190
+ **output_messages_query:** `typing.Optional[str]`
191
+
192
+ </dd>
193
+ </dl>
194
+
195
+ <dl>
196
+ <dd>
197
+
198
+ **fuzzy_search:** `typing.Optional[bool]`
199
+
200
+ </dd>
201
+ </dl>
202
+
203
+ <dl>
204
+ <dd>
205
+
206
+ **trace_id:** `typing.Optional[str]`
207
+
208
+ </dd>
209
+ </dl>
210
+
211
+ <dl>
212
+ <dd>
213
+
214
+ **span_id:** `typing.Optional[str]`
215
+
216
+ </dd>
217
+ </dl>
218
+
219
+ <dl>
220
+ <dd>
221
+
222
+ **model:** `typing.Optional[typing.Sequence[str]]`
223
+
224
+ </dd>
225
+ </dl>
226
+
227
+ <dl>
228
+ <dd>
229
+
230
+ **provider:** `typing.Optional[typing.Sequence[str]]`
231
+
232
+ </dd>
233
+ </dl>
234
+
235
+ <dl>
236
+ <dd>
237
+
238
+ **function_id:** `typing.Optional[str]`
239
+
240
+ </dd>
241
+ </dl>
242
+
243
+ <dl>
244
+ <dd>
245
+
246
+ **function_name:** `typing.Optional[str]`
247
+
248
+ </dd>
249
+ </dl>
250
+
251
+ <dl>
252
+ <dd>
253
+
254
+ **span_name_prefix:** `typing.Optional[str]`
255
+
256
+ </dd>
257
+ </dl>
258
+
259
+ <dl>
260
+ <dd>
261
+
262
+ **has_error:** `typing.Optional[bool]`
263
+
264
+ </dd>
265
+ </dl>
266
+
267
+ <dl>
268
+ <dd>
269
+
270
+ **min_tokens:** `typing.Optional[float]`
271
+
272
+ </dd>
273
+ </dl>
274
+
275
+ <dl>
276
+ <dd>
277
+
278
+ **max_tokens:** `typing.Optional[float]`
279
+
280
+ </dd>
281
+ </dl>
282
+
283
+ <dl>
284
+ <dd>
285
+
286
+ **min_duration:** `typing.Optional[float]`
287
+
288
+ </dd>
289
+ </dl>
290
+
291
+ <dl>
292
+ <dd>
293
+
294
+ **max_duration:** `typing.Optional[float]`
295
+
296
+ </dd>
297
+ </dl>
298
+
299
+ <dl>
300
+ <dd>
301
+
302
+ **attribute_filters:** `typing.Optional[typing.Sequence[TracesSearchRequestAttributeFiltersItem]]`
303
+
304
+ </dd>
305
+ </dl>
306
+
307
+ <dl>
308
+ <dd>
309
+
310
+ **limit:** `typing.Optional[float]`
311
+
312
+ </dd>
313
+ </dl>
314
+
315
+ <dl>
316
+ <dd>
317
+
318
+ **offset:** `typing.Optional[float]`
319
+
320
+ </dd>
321
+ </dl>
322
+
323
+ <dl>
324
+ <dd>
325
+
326
+ **sort_by:** `typing.Optional[TracesSearchRequestSortBy]`
327
+
328
+ </dd>
329
+ </dl>
330
+
331
+ <dl>
332
+ <dd>
333
+
334
+ **sort_order:** `typing.Optional[TracesSearchRequestSortOrder]`
335
+
336
+ </dd>
337
+ </dl>
338
+
339
+ <dl>
340
+ <dd>
341
+
342
+ **root_spans_only:** `typing.Optional[bool]`
343
+
344
+ </dd>
345
+ </dl>
346
+
347
+ <dl>
348
+ <dd>
349
+
350
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
351
+
352
+ </dd>
353
+ </dl>
354
+ </dd>
355
+ </dl>
356
+
357
+
358
+ </dd>
359
+ </dl>
360
+ </details>
361
+
362
+ <details><summary><code>client.traces.<a href="src/mirascope/traces/client.py">gettracedetail</a>(...)</code></summary>
363
+ <dl>
364
+ <dd>
365
+
366
+ #### 🔌 Usage
367
+
368
+ <dl>
369
+ <dd>
370
+
371
+ <dl>
372
+ <dd>
373
+
374
+ ```python
375
+ from mirascope.api._generated import Mirascope
376
+
377
+ client = Mirascope()
378
+ client.traces.gettracedetail(
379
+ trace_id="traceId",
380
+ )
381
+
382
+ ```
383
+ </dd>
384
+ </dl>
385
+ </dd>
386
+ </dl>
387
+
388
+ #### ⚙️ Parameters
389
+
390
+ <dl>
391
+ <dd>
392
+
393
+ <dl>
394
+ <dd>
395
+
396
+ **trace_id:** `str`
397
+
398
+ </dd>
399
+ </dl>
400
+
401
+ <dl>
402
+ <dd>
403
+
404
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
405
+
406
+ </dd>
407
+ </dl>
408
+ </dd>
409
+ </dl>
410
+
411
+
412
+ </dd>
413
+ </dl>
414
+ </details>
415
+
416
+ <details><summary><code>client.traces.<a href="src/mirascope/traces/client.py">getanalyticssummary</a>(...)</code></summary>
417
+ <dl>
418
+ <dd>
419
+
420
+ #### 🔌 Usage
421
+
422
+ <dl>
423
+ <dd>
424
+
425
+ <dl>
426
+ <dd>
427
+
428
+ ```python
429
+ from mirascope.api._generated import Mirascope
430
+
431
+ client = Mirascope()
432
+ client.traces.getanalyticssummary(
433
+ start_time="startTime",
434
+ end_time="endTime",
435
+ )
436
+
437
+ ```
438
+ </dd>
439
+ </dl>
440
+ </dd>
441
+ </dl>
442
+
443
+ #### ⚙️ Parameters
444
+
445
+ <dl>
446
+ <dd>
447
+
448
+ <dl>
449
+ <dd>
450
+
451
+ **start_time:** `str`
452
+
453
+ </dd>
454
+ </dl>
455
+
456
+ <dl>
457
+ <dd>
458
+
459
+ **end_time:** `str`
460
+
461
+ </dd>
462
+ </dl>
463
+
464
+ <dl>
465
+ <dd>
466
+
467
+ **function_id:** `typing.Optional[str]`
468
+
469
+ </dd>
470
+ </dl>
471
+
472
+ <dl>
473
+ <dd>
474
+
475
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
476
+
477
+ </dd>
478
+ </dl>
479
+ </dd>
480
+ </dl>
481
+
482
+
483
+ </dd>
484
+ </dl>
485
+ </details>
486
+
487
+ <details><summary><code>client.traces.<a href="src/mirascope/traces/client.py">listbyfunctionhash</a>(...)</code></summary>
488
+ <dl>
489
+ <dd>
490
+
491
+ #### 🔌 Usage
492
+
493
+ <dl>
494
+ <dd>
495
+
496
+ <dl>
497
+ <dd>
498
+
499
+ ```python
500
+ from mirascope.api._generated import Mirascope
501
+
502
+ client = Mirascope()
503
+ client.traces.listbyfunctionhash(
504
+ hash="hash",
505
+ )
506
+
507
+ ```
508
+ </dd>
509
+ </dl>
510
+ </dd>
511
+ </dl>
512
+
513
+ #### ⚙️ Parameters
514
+
515
+ <dl>
516
+ <dd>
517
+
518
+ <dl>
519
+ <dd>
520
+
521
+ **hash:** `str`
522
+
523
+ </dd>
524
+ </dl>
525
+
526
+ <dl>
527
+ <dd>
528
+
529
+ **limit:** `typing.Optional[NumberFromString]`
530
+
531
+ </dd>
532
+ </dl>
533
+
534
+ <dl>
535
+ <dd>
536
+
537
+ **offset:** `typing.Optional[NumberFromString]`
538
+
539
+ </dd>
540
+ </dl>
541
+
542
+ <dl>
543
+ <dd>
544
+
545
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
546
+
547
+ </dd>
548
+ </dl>
549
+ </dd>
550
+ </dl>
551
+
552
+
553
+ </dd>
554
+ </dl>
555
+ </details>
556
+
557
+ <details><summary><code>client.traces.<a href="src/mirascope/traces/client.py">searchbyenv</a>(...)</code></summary>
558
+ <dl>
559
+ <dd>
560
+
561
+ #### 🔌 Usage
562
+
563
+ <dl>
564
+ <dd>
565
+
566
+ <dl>
567
+ <dd>
568
+
569
+ ```python
570
+ from mirascope.api._generated import Mirascope
571
+
572
+ client = Mirascope()
573
+ client.traces.searchbyenv(
574
+ organization_id="organizationId",
575
+ project_id="projectId",
576
+ environment_id="environmentId",
577
+ start_time="startTime",
578
+ end_time="endTime",
579
+ )
580
+
581
+ ```
582
+ </dd>
583
+ </dl>
584
+ </dd>
585
+ </dl>
586
+
587
+ #### ⚙️ Parameters
588
+
589
+ <dl>
590
+ <dd>
591
+
592
+ <dl>
593
+ <dd>
594
+
595
+ **organization_id:** `str`
596
+
597
+ </dd>
598
+ </dl>
599
+
600
+ <dl>
601
+ <dd>
602
+
603
+ **project_id:** `str`
604
+
605
+ </dd>
606
+ </dl>
607
+
608
+ <dl>
609
+ <dd>
610
+
611
+ **environment_id:** `str`
612
+
613
+ </dd>
614
+ </dl>
615
+
616
+ <dl>
617
+ <dd>
618
+
619
+ **start_time:** `str`
620
+
621
+ </dd>
622
+ </dl>
623
+
624
+ <dl>
625
+ <dd>
626
+
627
+ **end_time:** `str`
628
+
629
+ </dd>
630
+ </dl>
631
+
632
+ <dl>
633
+ <dd>
634
+
635
+ **query:** `typing.Optional[str]`
636
+
637
+ </dd>
638
+ </dl>
639
+
640
+ <dl>
641
+ <dd>
642
+
643
+ **input_messages_query:** `typing.Optional[str]`
644
+
645
+ </dd>
646
+ </dl>
647
+
648
+ <dl>
649
+ <dd>
650
+
651
+ **output_messages_query:** `typing.Optional[str]`
652
+
653
+ </dd>
654
+ </dl>
655
+
656
+ <dl>
657
+ <dd>
658
+
659
+ **fuzzy_search:** `typing.Optional[bool]`
660
+
661
+ </dd>
662
+ </dl>
663
+
664
+ <dl>
665
+ <dd>
666
+
667
+ **trace_id:** `typing.Optional[str]`
668
+
669
+ </dd>
670
+ </dl>
671
+
672
+ <dl>
673
+ <dd>
674
+
675
+ **span_id:** `typing.Optional[str]`
676
+
677
+ </dd>
678
+ </dl>
679
+
680
+ <dl>
681
+ <dd>
682
+
683
+ **model:** `typing.Optional[typing.Sequence[str]]`
684
+
685
+ </dd>
686
+ </dl>
687
+
688
+ <dl>
689
+ <dd>
690
+
691
+ **provider:** `typing.Optional[typing.Sequence[str]]`
692
+
693
+ </dd>
694
+ </dl>
695
+
696
+ <dl>
697
+ <dd>
698
+
699
+ **function_id:** `typing.Optional[str]`
700
+
701
+ </dd>
702
+ </dl>
703
+
704
+ <dl>
705
+ <dd>
706
+
707
+ **function_name:** `typing.Optional[str]`
708
+
709
+ </dd>
710
+ </dl>
711
+
712
+ <dl>
713
+ <dd>
714
+
715
+ **span_name_prefix:** `typing.Optional[str]`
716
+
717
+ </dd>
718
+ </dl>
719
+
720
+ <dl>
721
+ <dd>
722
+
723
+ **has_error:** `typing.Optional[bool]`
724
+
725
+ </dd>
726
+ </dl>
727
+
728
+ <dl>
729
+ <dd>
730
+
731
+ **min_tokens:** `typing.Optional[float]`
732
+
733
+ </dd>
734
+ </dl>
735
+
736
+ <dl>
737
+ <dd>
738
+
739
+ **max_tokens:** `typing.Optional[float]`
740
+
741
+ </dd>
742
+ </dl>
743
+
744
+ <dl>
745
+ <dd>
746
+
747
+ **min_duration:** `typing.Optional[float]`
748
+
749
+ </dd>
750
+ </dl>
751
+
752
+ <dl>
753
+ <dd>
754
+
755
+ **max_duration:** `typing.Optional[float]`
756
+
757
+ </dd>
758
+ </dl>
759
+
760
+ <dl>
761
+ <dd>
762
+
763
+ **attribute_filters:** `typing.Optional[typing.Sequence[TracesSearchByEnvRequestAttributeFiltersItem]]`
764
+
765
+ </dd>
766
+ </dl>
767
+
768
+ <dl>
769
+ <dd>
770
+
771
+ **limit:** `typing.Optional[float]`
772
+
773
+ </dd>
774
+ </dl>
775
+
776
+ <dl>
777
+ <dd>
778
+
779
+ **offset:** `typing.Optional[float]`
780
+
781
+ </dd>
782
+ </dl>
783
+
784
+ <dl>
785
+ <dd>
786
+
787
+ **sort_by:** `typing.Optional[TracesSearchByEnvRequestSortBy]`
788
+
789
+ </dd>
790
+ </dl>
791
+
792
+ <dl>
793
+ <dd>
794
+
795
+ **sort_order:** `typing.Optional[TracesSearchByEnvRequestSortOrder]`
796
+
797
+ </dd>
798
+ </dl>
799
+
800
+ <dl>
801
+ <dd>
802
+
803
+ **root_spans_only:** `typing.Optional[bool]`
804
+
805
+ </dd>
806
+ </dl>
807
+
808
+ <dl>
809
+ <dd>
810
+
811
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
812
+
813
+ </dd>
814
+ </dl>
815
+ </dd>
816
+ </dl>
817
+
818
+
819
+ </dd>
820
+ </dl>
821
+ </details>
822
+
823
+ <details><summary><code>client.traces.<a href="src/mirascope/traces/client.py">gettracedetailbyenv</a>(...)</code></summary>
824
+ <dl>
825
+ <dd>
826
+
827
+ #### 🔌 Usage
828
+
829
+ <dl>
830
+ <dd>
831
+
832
+ <dl>
833
+ <dd>
834
+
835
+ ```python
836
+ from mirascope.api._generated import Mirascope
837
+
838
+ client = Mirascope()
839
+ client.traces.gettracedetailbyenv(
840
+ organization_id="organizationId",
841
+ project_id="projectId",
842
+ environment_id="environmentId",
843
+ trace_id="traceId",
844
+ )
845
+
846
+ ```
847
+ </dd>
848
+ </dl>
849
+ </dd>
850
+ </dl>
851
+
852
+ #### ⚙️ Parameters
853
+
854
+ <dl>
855
+ <dd>
856
+
857
+ <dl>
858
+ <dd>
859
+
860
+ **organization_id:** `str`
861
+
862
+ </dd>
863
+ </dl>
864
+
865
+ <dl>
866
+ <dd>
867
+
868
+ **project_id:** `str`
869
+
870
+ </dd>
871
+ </dl>
872
+
873
+ <dl>
874
+ <dd>
875
+
876
+ **environment_id:** `str`
877
+
878
+ </dd>
879
+ </dl>
880
+
881
+ <dl>
882
+ <dd>
883
+
884
+ **trace_id:** `str`
885
+
886
+ </dd>
887
+ </dl>
888
+
889
+ <dl>
890
+ <dd>
891
+
892
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
893
+
894
+ </dd>
895
+ </dl>
896
+ </dd>
897
+ </dl>
898
+
899
+
900
+ </dd>
901
+ </dl>
902
+ </details>
903
+
904
+ ## docs
905
+ <details><summary><code>client.docs.<a href="src/mirascope/docs/client.py">openapi</a>()</code></summary>
906
+ <dl>
907
+ <dd>
908
+
909
+ #### 🔌 Usage
910
+
911
+ <dl>
912
+ <dd>
913
+
914
+ <dl>
915
+ <dd>
916
+
917
+ ```python
918
+ from mirascope.api._generated import Mirascope
919
+
920
+ client = Mirascope()
921
+ client.docs.openapi()
922
+
923
+ ```
924
+ </dd>
925
+ </dl>
926
+ </dd>
927
+ </dl>
928
+
929
+ #### ⚙️ Parameters
930
+
931
+ <dl>
932
+ <dd>
933
+
934
+ <dl>
935
+ <dd>
936
+
937
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
938
+
939
+ </dd>
940
+ </dl>
941
+ </dd>
942
+ </dl>
943
+
944
+
945
+ </dd>
946
+ </dl>
947
+ </details>
948
+
949
+ ## organizations
950
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">list</a>()</code></summary>
951
+ <dl>
952
+ <dd>
953
+
954
+ #### 🔌 Usage
955
+
956
+ <dl>
957
+ <dd>
958
+
959
+ <dl>
960
+ <dd>
961
+
962
+ ```python
963
+ from mirascope.api._generated import Mirascope
964
+
965
+ client = Mirascope()
966
+ client.organizations.list()
967
+
968
+ ```
969
+ </dd>
970
+ </dl>
971
+ </dd>
972
+ </dl>
973
+
974
+ #### ⚙️ Parameters
975
+
976
+ <dl>
977
+ <dd>
978
+
979
+ <dl>
980
+ <dd>
981
+
982
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
983
+
984
+ </dd>
985
+ </dl>
986
+ </dd>
987
+ </dl>
988
+
989
+
990
+ </dd>
991
+ </dl>
992
+ </details>
993
+
994
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">create</a>(...)</code></summary>
995
+ <dl>
996
+ <dd>
997
+
998
+ #### 🔌 Usage
999
+
1000
+ <dl>
1001
+ <dd>
1002
+
1003
+ <dl>
1004
+ <dd>
1005
+
1006
+ ```python
1007
+ from mirascope.api._generated import Mirascope
1008
+
1009
+ client = Mirascope()
1010
+ client.organizations.create(
1011
+ name="name",
1012
+ slug="slug",
1013
+ )
1014
+
1015
+ ```
1016
+ </dd>
1017
+ </dl>
1018
+ </dd>
1019
+ </dl>
1020
+
1021
+ #### ⚙️ Parameters
1022
+
1023
+ <dl>
1024
+ <dd>
1025
+
1026
+ <dl>
1027
+ <dd>
1028
+
1029
+ **name:** `str` — a string at most 100 character(s) long
1030
+
1031
+ </dd>
1032
+ </dl>
1033
+
1034
+ <dl>
1035
+ <dd>
1036
+
1037
+ **slug:** `str` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
1038
+
1039
+ </dd>
1040
+ </dl>
1041
+
1042
+ <dl>
1043
+ <dd>
1044
+
1045
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1046
+
1047
+ </dd>
1048
+ </dl>
1049
+ </dd>
1050
+ </dl>
1051
+
1052
+
1053
+ </dd>
1054
+ </dl>
1055
+ </details>
1056
+
1057
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">get</a>(...)</code></summary>
1058
+ <dl>
1059
+ <dd>
1060
+
1061
+ #### 🔌 Usage
1062
+
1063
+ <dl>
1064
+ <dd>
1065
+
1066
+ <dl>
1067
+ <dd>
1068
+
1069
+ ```python
1070
+ from mirascope.api._generated import Mirascope
1071
+
1072
+ client = Mirascope()
1073
+ client.organizations.get(
1074
+ id="id",
1075
+ )
1076
+
1077
+ ```
1078
+ </dd>
1079
+ </dl>
1080
+ </dd>
1081
+ </dl>
1082
+
1083
+ #### ⚙️ Parameters
1084
+
1085
+ <dl>
1086
+ <dd>
1087
+
1088
+ <dl>
1089
+ <dd>
1090
+
1091
+ **id:** `str`
1092
+
1093
+ </dd>
1094
+ </dl>
1095
+
1096
+ <dl>
1097
+ <dd>
1098
+
1099
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1100
+
1101
+ </dd>
1102
+ </dl>
1103
+ </dd>
1104
+ </dl>
1105
+
1106
+
1107
+ </dd>
1108
+ </dl>
1109
+ </details>
1110
+
1111
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">update</a>(...)</code></summary>
1112
+ <dl>
1113
+ <dd>
1114
+
1115
+ #### 🔌 Usage
1116
+
1117
+ <dl>
1118
+ <dd>
1119
+
1120
+ <dl>
1121
+ <dd>
1122
+
1123
+ ```python
1124
+ from mirascope.api._generated import Mirascope
1125
+
1126
+ client = Mirascope()
1127
+ client.organizations.update(
1128
+ id="id",
1129
+ )
1130
+
1131
+ ```
1132
+ </dd>
1133
+ </dl>
1134
+ </dd>
1135
+ </dl>
1136
+
1137
+ #### ⚙️ Parameters
1138
+
1139
+ <dl>
1140
+ <dd>
1141
+
1142
+ <dl>
1143
+ <dd>
1144
+
1145
+ **id:** `str`
1146
+
1147
+ </dd>
1148
+ </dl>
1149
+
1150
+ <dl>
1151
+ <dd>
1152
+
1153
+ **name:** `typing.Optional[str]` — a string at most 100 character(s) long
1154
+
1155
+ </dd>
1156
+ </dl>
1157
+
1158
+ <dl>
1159
+ <dd>
1160
+
1161
+ **slug:** `typing.Optional[str]` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
1162
+
1163
+ </dd>
1164
+ </dl>
1165
+
1166
+ <dl>
1167
+ <dd>
1168
+
1169
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1170
+
1171
+ </dd>
1172
+ </dl>
1173
+ </dd>
1174
+ </dl>
1175
+
1176
+
1177
+ </dd>
1178
+ </dl>
1179
+ </details>
1180
+
1181
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">delete</a>(...)</code></summary>
1182
+ <dl>
1183
+ <dd>
1184
+
1185
+ #### 🔌 Usage
1186
+
1187
+ <dl>
1188
+ <dd>
1189
+
1190
+ <dl>
1191
+ <dd>
1192
+
1193
+ ```python
1194
+ from mirascope.api._generated import Mirascope
1195
+
1196
+ client = Mirascope()
1197
+ client.organizations.delete(
1198
+ id="id",
1199
+ )
1200
+
1201
+ ```
1202
+ </dd>
1203
+ </dl>
1204
+ </dd>
1205
+ </dl>
1206
+
1207
+ #### ⚙️ Parameters
1208
+
1209
+ <dl>
1210
+ <dd>
1211
+
1212
+ <dl>
1213
+ <dd>
1214
+
1215
+ **id:** `str`
1216
+
1217
+ </dd>
1218
+ </dl>
1219
+
1220
+ <dl>
1221
+ <dd>
1222
+
1223
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1224
+
1225
+ </dd>
1226
+ </dl>
1227
+ </dd>
1228
+ </dl>
1229
+
1230
+
1231
+ </dd>
1232
+ </dl>
1233
+ </details>
1234
+
1235
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">routerbalance</a>(...)</code></summary>
1236
+ <dl>
1237
+ <dd>
1238
+
1239
+ #### 🔌 Usage
1240
+
1241
+ <dl>
1242
+ <dd>
1243
+
1244
+ <dl>
1245
+ <dd>
1246
+
1247
+ ```python
1248
+ from mirascope.api._generated import Mirascope
1249
+
1250
+ client = Mirascope()
1251
+ client.organizations.routerbalance(
1252
+ id="id",
1253
+ )
1254
+
1255
+ ```
1256
+ </dd>
1257
+ </dl>
1258
+ </dd>
1259
+ </dl>
1260
+
1261
+ #### ⚙️ Parameters
1262
+
1263
+ <dl>
1264
+ <dd>
1265
+
1266
+ <dl>
1267
+ <dd>
1268
+
1269
+ **id:** `str`
1270
+
1271
+ </dd>
1272
+ </dl>
1273
+
1274
+ <dl>
1275
+ <dd>
1276
+
1277
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1278
+
1279
+ </dd>
1280
+ </dl>
1281
+ </dd>
1282
+ </dl>
1283
+
1284
+
1285
+ </dd>
1286
+ </dl>
1287
+ </details>
1288
+
1289
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">createpaymentintent</a>(...)</code></summary>
1290
+ <dl>
1291
+ <dd>
1292
+
1293
+ #### 🔌 Usage
1294
+
1295
+ <dl>
1296
+ <dd>
1297
+
1298
+ <dl>
1299
+ <dd>
1300
+
1301
+ ```python
1302
+ from mirascope.api._generated import Mirascope
1303
+
1304
+ client = Mirascope()
1305
+ client.organizations.createpaymentintent(
1306
+ id="id",
1307
+ amount=1.1,
1308
+ )
1309
+
1310
+ ```
1311
+ </dd>
1312
+ </dl>
1313
+ </dd>
1314
+ </dl>
1315
+
1316
+ #### ⚙️ Parameters
1317
+
1318
+ <dl>
1319
+ <dd>
1320
+
1321
+ <dl>
1322
+ <dd>
1323
+
1324
+ **id:** `str`
1325
+
1326
+ </dd>
1327
+ </dl>
1328
+
1329
+ <dl>
1330
+ <dd>
1331
+
1332
+ **amount:** `float` — a positive number
1333
+
1334
+ </dd>
1335
+ </dl>
1336
+
1337
+ <dl>
1338
+ <dd>
1339
+
1340
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1341
+
1342
+ </dd>
1343
+ </dl>
1344
+ </dd>
1345
+ </dl>
1346
+
1347
+
1348
+ </dd>
1349
+ </dl>
1350
+ </details>
1351
+
1352
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">subscription</a>(...)</code></summary>
1353
+ <dl>
1354
+ <dd>
1355
+
1356
+ #### 🔌 Usage
1357
+
1358
+ <dl>
1359
+ <dd>
1360
+
1361
+ <dl>
1362
+ <dd>
1363
+
1364
+ ```python
1365
+ from mirascope.api._generated import Mirascope
1366
+
1367
+ client = Mirascope()
1368
+ client.organizations.subscription(
1369
+ id="id",
1370
+ )
1371
+
1372
+ ```
1373
+ </dd>
1374
+ </dl>
1375
+ </dd>
1376
+ </dl>
1377
+
1378
+ #### ⚙️ Parameters
1379
+
1380
+ <dl>
1381
+ <dd>
1382
+
1383
+ <dl>
1384
+ <dd>
1385
+
1386
+ **id:** `str`
1387
+
1388
+ </dd>
1389
+ </dl>
1390
+
1391
+ <dl>
1392
+ <dd>
1393
+
1394
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1395
+
1396
+ </dd>
1397
+ </dl>
1398
+ </dd>
1399
+ </dl>
1400
+
1401
+
1402
+ </dd>
1403
+ </dl>
1404
+ </details>
1405
+
1406
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">previewsubscriptionchange</a>(...)</code></summary>
1407
+ <dl>
1408
+ <dd>
1409
+
1410
+ #### 🔌 Usage
1411
+
1412
+ <dl>
1413
+ <dd>
1414
+
1415
+ <dl>
1416
+ <dd>
1417
+
1418
+ ```python
1419
+ from mirascope.api._generated import Mirascope
1420
+
1421
+ client = Mirascope()
1422
+ client.organizations.previewsubscriptionchange(
1423
+ id="id",
1424
+ target_plan="free",
1425
+ )
1426
+
1427
+ ```
1428
+ </dd>
1429
+ </dl>
1430
+ </dd>
1431
+ </dl>
1432
+
1433
+ #### ⚙️ Parameters
1434
+
1435
+ <dl>
1436
+ <dd>
1437
+
1438
+ <dl>
1439
+ <dd>
1440
+
1441
+ **id:** `str`
1442
+
1443
+ </dd>
1444
+ </dl>
1445
+
1446
+ <dl>
1447
+ <dd>
1448
+
1449
+ **target_plan:** `OrganizationsPreviewSubscriptionChangeRequestTargetPlan`
1450
+
1451
+ </dd>
1452
+ </dl>
1453
+
1454
+ <dl>
1455
+ <dd>
1456
+
1457
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1458
+
1459
+ </dd>
1460
+ </dl>
1461
+ </dd>
1462
+ </dl>
1463
+
1464
+
1465
+ </dd>
1466
+ </dl>
1467
+ </details>
1468
+
1469
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">updatesubscription</a>(...)</code></summary>
1470
+ <dl>
1471
+ <dd>
1472
+
1473
+ #### 🔌 Usage
1474
+
1475
+ <dl>
1476
+ <dd>
1477
+
1478
+ <dl>
1479
+ <dd>
1480
+
1481
+ ```python
1482
+ from mirascope.api._generated import Mirascope
1483
+
1484
+ client = Mirascope()
1485
+ client.organizations.updatesubscription(
1486
+ id="id",
1487
+ target_plan="free",
1488
+ )
1489
+
1490
+ ```
1491
+ </dd>
1492
+ </dl>
1493
+ </dd>
1494
+ </dl>
1495
+
1496
+ #### ⚙️ Parameters
1497
+
1498
+ <dl>
1499
+ <dd>
1500
+
1501
+ <dl>
1502
+ <dd>
1503
+
1504
+ **id:** `str`
1505
+
1506
+ </dd>
1507
+ </dl>
1508
+
1509
+ <dl>
1510
+ <dd>
1511
+
1512
+ **target_plan:** `OrganizationsUpdateSubscriptionRequestTargetPlan`
1513
+
1514
+ </dd>
1515
+ </dl>
1516
+
1517
+ <dl>
1518
+ <dd>
1519
+
1520
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1521
+
1522
+ </dd>
1523
+ </dl>
1524
+ </dd>
1525
+ </dl>
1526
+
1527
+
1528
+ </dd>
1529
+ </dl>
1530
+ </details>
1531
+
1532
+ <details><summary><code>client.organizations.<a href="src/mirascope/organizations/client.py">cancelscheduleddowngrade</a>(...)</code></summary>
1533
+ <dl>
1534
+ <dd>
1535
+
1536
+ #### 🔌 Usage
1537
+
1538
+ <dl>
1539
+ <dd>
1540
+
1541
+ <dl>
1542
+ <dd>
1543
+
1544
+ ```python
1545
+ from mirascope.api._generated import Mirascope
1546
+
1547
+ client = Mirascope()
1548
+ client.organizations.cancelscheduleddowngrade(
1549
+ id="id",
1550
+ )
1551
+
1552
+ ```
1553
+ </dd>
1554
+ </dl>
1555
+ </dd>
1556
+ </dl>
1557
+
1558
+ #### ⚙️ Parameters
1559
+
1560
+ <dl>
1561
+ <dd>
1562
+
1563
+ <dl>
1564
+ <dd>
1565
+
1566
+ **id:** `str`
1567
+
1568
+ </dd>
1569
+ </dl>
1570
+
1571
+ <dl>
1572
+ <dd>
1573
+
1574
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1575
+
1576
+ </dd>
1577
+ </dl>
1578
+ </dd>
1579
+ </dl>
1580
+
1581
+
1582
+ </dd>
1583
+ </dl>
1584
+ </details>
1585
+
1586
+ ## organization-invitations
1587
+ <details><summary><code>client.organization_invitations.<a href="src/mirascope/organization_invitations/client.py">list</a>(...)</code></summary>
1588
+ <dl>
1589
+ <dd>
1590
+
1591
+ #### 🔌 Usage
1592
+
1593
+ <dl>
1594
+ <dd>
1595
+
1596
+ <dl>
1597
+ <dd>
1598
+
1599
+ ```python
1600
+ from mirascope.api._generated import Mirascope
1601
+
1602
+ client = Mirascope()
1603
+ client.organization_invitations.list(
1604
+ organization_id="organizationId",
1605
+ )
1606
+
1607
+ ```
1608
+ </dd>
1609
+ </dl>
1610
+ </dd>
1611
+ </dl>
1612
+
1613
+ #### ⚙️ Parameters
1614
+
1615
+ <dl>
1616
+ <dd>
1617
+
1618
+ <dl>
1619
+ <dd>
1620
+
1621
+ **organization_id:** `str`
1622
+
1623
+ </dd>
1624
+ </dl>
1625
+
1626
+ <dl>
1627
+ <dd>
1628
+
1629
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1630
+
1631
+ </dd>
1632
+ </dl>
1633
+ </dd>
1634
+ </dl>
1635
+
1636
+
1637
+ </dd>
1638
+ </dl>
1639
+ </details>
1640
+
1641
+ <details><summary><code>client.organization_invitations.<a href="src/mirascope/organization_invitations/client.py">create</a>(...)</code></summary>
1642
+ <dl>
1643
+ <dd>
1644
+
1645
+ #### 🔌 Usage
1646
+
1647
+ <dl>
1648
+ <dd>
1649
+
1650
+ <dl>
1651
+ <dd>
1652
+
1653
+ ```python
1654
+ from mirascope.api._generated import Mirascope
1655
+
1656
+ client = Mirascope()
1657
+ client.organization_invitations.create(
1658
+ organization_id="organizationId",
1659
+ recipient_email="recipientEmail",
1660
+ role="ADMIN",
1661
+ )
1662
+
1663
+ ```
1664
+ </dd>
1665
+ </dl>
1666
+ </dd>
1667
+ </dl>
1668
+
1669
+ #### ⚙️ Parameters
1670
+
1671
+ <dl>
1672
+ <dd>
1673
+
1674
+ <dl>
1675
+ <dd>
1676
+
1677
+ **organization_id:** `str`
1678
+
1679
+ </dd>
1680
+ </dl>
1681
+
1682
+ <dl>
1683
+ <dd>
1684
+
1685
+ **recipient_email:** `str` — a string matching the pattern ^[^ \t\n\r\f\v@]+@[^ \t\n\r\f\v@]+[.][^ \t\n\r\f\v@]+$
1686
+
1687
+ </dd>
1688
+ </dl>
1689
+
1690
+ <dl>
1691
+ <dd>
1692
+
1693
+ **role:** `OrganizationInvitationsCreateRequestRole`
1694
+
1695
+ </dd>
1696
+ </dl>
1697
+
1698
+ <dl>
1699
+ <dd>
1700
+
1701
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1702
+
1703
+ </dd>
1704
+ </dl>
1705
+ </dd>
1706
+ </dl>
1707
+
1708
+
1709
+ </dd>
1710
+ </dl>
1711
+ </details>
1712
+
1713
+ <details><summary><code>client.organization_invitations.<a href="src/mirascope/organization_invitations/client.py">get</a>(...)</code></summary>
1714
+ <dl>
1715
+ <dd>
1716
+
1717
+ #### 🔌 Usage
1718
+
1719
+ <dl>
1720
+ <dd>
1721
+
1722
+ <dl>
1723
+ <dd>
1724
+
1725
+ ```python
1726
+ from mirascope.api._generated import Mirascope
1727
+
1728
+ client = Mirascope()
1729
+ client.organization_invitations.get(
1730
+ organization_id="organizationId",
1731
+ invitation_id="invitationId",
1732
+ )
1733
+
1734
+ ```
1735
+ </dd>
1736
+ </dl>
1737
+ </dd>
1738
+ </dl>
1739
+
1740
+ #### ⚙️ Parameters
1741
+
1742
+ <dl>
1743
+ <dd>
1744
+
1745
+ <dl>
1746
+ <dd>
1747
+
1748
+ **organization_id:** `str`
1749
+
1750
+ </dd>
1751
+ </dl>
1752
+
1753
+ <dl>
1754
+ <dd>
1755
+
1756
+ **invitation_id:** `str`
1757
+
1758
+ </dd>
1759
+ </dl>
1760
+
1761
+ <dl>
1762
+ <dd>
1763
+
1764
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1765
+
1766
+ </dd>
1767
+ </dl>
1768
+ </dd>
1769
+ </dl>
1770
+
1771
+
1772
+ </dd>
1773
+ </dl>
1774
+ </details>
1775
+
1776
+ <details><summary><code>client.organization_invitations.<a href="src/mirascope/organization_invitations/client.py">resend</a>(...)</code></summary>
1777
+ <dl>
1778
+ <dd>
1779
+
1780
+ #### 🔌 Usage
1781
+
1782
+ <dl>
1783
+ <dd>
1784
+
1785
+ <dl>
1786
+ <dd>
1787
+
1788
+ ```python
1789
+ from mirascope.api._generated import Mirascope
1790
+
1791
+ client = Mirascope()
1792
+ client.organization_invitations.resend(
1793
+ organization_id="organizationId",
1794
+ invitation_id="invitationId",
1795
+ )
1796
+
1797
+ ```
1798
+ </dd>
1799
+ </dl>
1800
+ </dd>
1801
+ </dl>
1802
+
1803
+ #### ⚙️ Parameters
1804
+
1805
+ <dl>
1806
+ <dd>
1807
+
1808
+ <dl>
1809
+ <dd>
1810
+
1811
+ **organization_id:** `str`
1812
+
1813
+ </dd>
1814
+ </dl>
1815
+
1816
+ <dl>
1817
+ <dd>
1818
+
1819
+ **invitation_id:** `str`
1820
+
1821
+ </dd>
1822
+ </dl>
1823
+
1824
+ <dl>
1825
+ <dd>
1826
+
1827
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1828
+
1829
+ </dd>
1830
+ </dl>
1831
+ </dd>
1832
+ </dl>
1833
+
1834
+
1835
+ </dd>
1836
+ </dl>
1837
+ </details>
1838
+
1839
+ <details><summary><code>client.organization_invitations.<a href="src/mirascope/organization_invitations/client.py">revoke</a>(...)</code></summary>
1840
+ <dl>
1841
+ <dd>
1842
+
1843
+ #### 🔌 Usage
1844
+
1845
+ <dl>
1846
+ <dd>
1847
+
1848
+ <dl>
1849
+ <dd>
1850
+
1851
+ ```python
1852
+ from mirascope.api._generated import Mirascope
1853
+
1854
+ client = Mirascope()
1855
+ client.organization_invitations.revoke(
1856
+ organization_id="organizationId",
1857
+ invitation_id="invitationId",
1858
+ )
1859
+
1860
+ ```
1861
+ </dd>
1862
+ </dl>
1863
+ </dd>
1864
+ </dl>
1865
+
1866
+ #### ⚙️ Parameters
1867
+
1868
+ <dl>
1869
+ <dd>
1870
+
1871
+ <dl>
1872
+ <dd>
1873
+
1874
+ **organization_id:** `str`
1875
+
1876
+ </dd>
1877
+ </dl>
1878
+
1879
+ <dl>
1880
+ <dd>
1881
+
1882
+ **invitation_id:** `str`
1883
+
1884
+ </dd>
1885
+ </dl>
1886
+
1887
+ <dl>
1888
+ <dd>
1889
+
1890
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1891
+
1892
+ </dd>
1893
+ </dl>
1894
+ </dd>
1895
+ </dl>
1896
+
1897
+
1898
+ </dd>
1899
+ </dl>
1900
+ </details>
1901
+
1902
+ <details><summary><code>client.organization_invitations.<a href="src/mirascope/organization_invitations/client.py">accept</a>(...)</code></summary>
1903
+ <dl>
1904
+ <dd>
1905
+
1906
+ #### 🔌 Usage
1907
+
1908
+ <dl>
1909
+ <dd>
1910
+
1911
+ <dl>
1912
+ <dd>
1913
+
1914
+ ```python
1915
+ from mirascope.api._generated import Mirascope
1916
+
1917
+ client = Mirascope()
1918
+ client.organization_invitations.accept(
1919
+ token="token",
1920
+ )
1921
+
1922
+ ```
1923
+ </dd>
1924
+ </dl>
1925
+ </dd>
1926
+ </dl>
1927
+
1928
+ #### ⚙️ Parameters
1929
+
1930
+ <dl>
1931
+ <dd>
1932
+
1933
+ <dl>
1934
+ <dd>
1935
+
1936
+ **token:** `str`
1937
+
1938
+ </dd>
1939
+ </dl>
1940
+
1941
+ <dl>
1942
+ <dd>
1943
+
1944
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
1945
+
1946
+ </dd>
1947
+ </dl>
1948
+ </dd>
1949
+ </dl>
1950
+
1951
+
1952
+ </dd>
1953
+ </dl>
1954
+ </details>
1955
+
1956
+ ## organization-memberships
1957
+ <details><summary><code>client.organization_memberships.<a href="src/mirascope/organization_memberships/client.py">list</a>(...)</code></summary>
1958
+ <dl>
1959
+ <dd>
1960
+
1961
+ #### 🔌 Usage
1962
+
1963
+ <dl>
1964
+ <dd>
1965
+
1966
+ <dl>
1967
+ <dd>
1968
+
1969
+ ```python
1970
+ from mirascope.api._generated import Mirascope
1971
+
1972
+ client = Mirascope()
1973
+ client.organization_memberships.list(
1974
+ organization_id="organizationId",
1975
+ )
1976
+
1977
+ ```
1978
+ </dd>
1979
+ </dl>
1980
+ </dd>
1981
+ </dl>
1982
+
1983
+ #### ⚙️ Parameters
1984
+
1985
+ <dl>
1986
+ <dd>
1987
+
1988
+ <dl>
1989
+ <dd>
1990
+
1991
+ **organization_id:** `str`
1992
+
1993
+ </dd>
1994
+ </dl>
1995
+
1996
+ <dl>
1997
+ <dd>
1998
+
1999
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2000
+
2001
+ </dd>
2002
+ </dl>
2003
+ </dd>
2004
+ </dl>
2005
+
2006
+
2007
+ </dd>
2008
+ </dl>
2009
+ </details>
2010
+
2011
+ <details><summary><code>client.organization_memberships.<a href="src/mirascope/organization_memberships/client.py">delete</a>(...)</code></summary>
2012
+ <dl>
2013
+ <dd>
2014
+
2015
+ #### 🔌 Usage
2016
+
2017
+ <dl>
2018
+ <dd>
2019
+
2020
+ <dl>
2021
+ <dd>
2022
+
2023
+ ```python
2024
+ from mirascope.api._generated import Mirascope
2025
+
2026
+ client = Mirascope()
2027
+ client.organization_memberships.delete(
2028
+ organization_id="organizationId",
2029
+ member_id="memberId",
2030
+ )
2031
+
2032
+ ```
2033
+ </dd>
2034
+ </dl>
2035
+ </dd>
2036
+ </dl>
2037
+
2038
+ #### ⚙️ Parameters
2039
+
2040
+ <dl>
2041
+ <dd>
2042
+
2043
+ <dl>
2044
+ <dd>
2045
+
2046
+ **organization_id:** `str`
2047
+
2048
+ </dd>
2049
+ </dl>
2050
+
2051
+ <dl>
2052
+ <dd>
2053
+
2054
+ **member_id:** `str`
2055
+
2056
+ </dd>
2057
+ </dl>
2058
+
2059
+ <dl>
2060
+ <dd>
2061
+
2062
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2063
+
2064
+ </dd>
2065
+ </dl>
2066
+ </dd>
2067
+ </dl>
2068
+
2069
+
2070
+ </dd>
2071
+ </dl>
2072
+ </details>
2073
+
2074
+ <details><summary><code>client.organization_memberships.<a href="src/mirascope/organization_memberships/client.py">update</a>(...)</code></summary>
2075
+ <dl>
2076
+ <dd>
2077
+
2078
+ #### 🔌 Usage
2079
+
2080
+ <dl>
2081
+ <dd>
2082
+
2083
+ <dl>
2084
+ <dd>
2085
+
2086
+ ```python
2087
+ from mirascope.api._generated import Mirascope
2088
+
2089
+ client = Mirascope()
2090
+ client.organization_memberships.update(
2091
+ organization_id="organizationId",
2092
+ member_id="memberId",
2093
+ role="ADMIN",
2094
+ )
2095
+
2096
+ ```
2097
+ </dd>
2098
+ </dl>
2099
+ </dd>
2100
+ </dl>
2101
+
2102
+ #### ⚙️ Parameters
2103
+
2104
+ <dl>
2105
+ <dd>
2106
+
2107
+ <dl>
2108
+ <dd>
2109
+
2110
+ **organization_id:** `str`
2111
+
2112
+ </dd>
2113
+ </dl>
2114
+
2115
+ <dl>
2116
+ <dd>
2117
+
2118
+ **member_id:** `str`
2119
+
2120
+ </dd>
2121
+ </dl>
2122
+
2123
+ <dl>
2124
+ <dd>
2125
+
2126
+ **role:** `OrganizationMembershipsUpdateRequestRole`
2127
+
2128
+ </dd>
2129
+ </dl>
2130
+
2131
+ <dl>
2132
+ <dd>
2133
+
2134
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2135
+
2136
+ </dd>
2137
+ </dl>
2138
+ </dd>
2139
+ </dl>
2140
+
2141
+
2142
+ </dd>
2143
+ </dl>
2144
+ </details>
2145
+
2146
+ ## projects
2147
+ <details><summary><code>client.projects.<a href="src/mirascope/projects/client.py">list</a>(...)</code></summary>
2148
+ <dl>
2149
+ <dd>
2150
+
2151
+ #### 🔌 Usage
2152
+
2153
+ <dl>
2154
+ <dd>
2155
+
2156
+ <dl>
2157
+ <dd>
2158
+
2159
+ ```python
2160
+ from mirascope.api._generated import Mirascope
2161
+
2162
+ client = Mirascope()
2163
+ client.projects.list(
2164
+ organization_id="organizationId",
2165
+ )
2166
+
2167
+ ```
2168
+ </dd>
2169
+ </dl>
2170
+ </dd>
2171
+ </dl>
2172
+
2173
+ #### ⚙️ Parameters
2174
+
2175
+ <dl>
2176
+ <dd>
2177
+
2178
+ <dl>
2179
+ <dd>
2180
+
2181
+ **organization_id:** `str`
2182
+
2183
+ </dd>
2184
+ </dl>
2185
+
2186
+ <dl>
2187
+ <dd>
2188
+
2189
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2190
+
2191
+ </dd>
2192
+ </dl>
2193
+ </dd>
2194
+ </dl>
2195
+
2196
+
2197
+ </dd>
2198
+ </dl>
2199
+ </details>
2200
+
2201
+ <details><summary><code>client.projects.<a href="src/mirascope/projects/client.py">create</a>(...)</code></summary>
2202
+ <dl>
2203
+ <dd>
2204
+
2205
+ #### 🔌 Usage
2206
+
2207
+ <dl>
2208
+ <dd>
2209
+
2210
+ <dl>
2211
+ <dd>
2212
+
2213
+ ```python
2214
+ from mirascope.api._generated import Mirascope
2215
+
2216
+ client = Mirascope()
2217
+ client.projects.create(
2218
+ organization_id="organizationId",
2219
+ name="name",
2220
+ slug="slug",
2221
+ )
2222
+
2223
+ ```
2224
+ </dd>
2225
+ </dl>
2226
+ </dd>
2227
+ </dl>
2228
+
2229
+ #### ⚙️ Parameters
2230
+
2231
+ <dl>
2232
+ <dd>
2233
+
2234
+ <dl>
2235
+ <dd>
2236
+
2237
+ **organization_id:** `str`
2238
+
2239
+ </dd>
2240
+ </dl>
2241
+
2242
+ <dl>
2243
+ <dd>
2244
+
2245
+ **name:** `str` — a string at most 100 character(s) long
2246
+
2247
+ </dd>
2248
+ </dl>
2249
+
2250
+ <dl>
2251
+ <dd>
2252
+
2253
+ **slug:** `str` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
2254
+
2255
+ </dd>
2256
+ </dl>
2257
+
2258
+ <dl>
2259
+ <dd>
2260
+
2261
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2262
+
2263
+ </dd>
2264
+ </dl>
2265
+ </dd>
2266
+ </dl>
2267
+
2268
+
2269
+ </dd>
2270
+ </dl>
2271
+ </details>
2272
+
2273
+ <details><summary><code>client.projects.<a href="src/mirascope/projects/client.py">get</a>(...)</code></summary>
2274
+ <dl>
2275
+ <dd>
2276
+
2277
+ #### 🔌 Usage
2278
+
2279
+ <dl>
2280
+ <dd>
2281
+
2282
+ <dl>
2283
+ <dd>
2284
+
2285
+ ```python
2286
+ from mirascope.api._generated import Mirascope
2287
+
2288
+ client = Mirascope()
2289
+ client.projects.get(
2290
+ organization_id="organizationId",
2291
+ project_id="projectId",
2292
+ )
2293
+
2294
+ ```
2295
+ </dd>
2296
+ </dl>
2297
+ </dd>
2298
+ </dl>
2299
+
2300
+ #### ⚙️ Parameters
2301
+
2302
+ <dl>
2303
+ <dd>
2304
+
2305
+ <dl>
2306
+ <dd>
2307
+
2308
+ **organization_id:** `str`
2309
+
2310
+ </dd>
2311
+ </dl>
2312
+
2313
+ <dl>
2314
+ <dd>
2315
+
2316
+ **project_id:** `str`
2317
+
2318
+ </dd>
2319
+ </dl>
2320
+
2321
+ <dl>
2322
+ <dd>
2323
+
2324
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2325
+
2326
+ </dd>
2327
+ </dl>
2328
+ </dd>
2329
+ </dl>
2330
+
2331
+
2332
+ </dd>
2333
+ </dl>
2334
+ </details>
2335
+
2336
+ <details><summary><code>client.projects.<a href="src/mirascope/projects/client.py">update</a>(...)</code></summary>
2337
+ <dl>
2338
+ <dd>
2339
+
2340
+ #### 🔌 Usage
2341
+
2342
+ <dl>
2343
+ <dd>
2344
+
2345
+ <dl>
2346
+ <dd>
2347
+
2348
+ ```python
2349
+ from mirascope.api._generated import Mirascope
2350
+
2351
+ client = Mirascope()
2352
+ client.projects.update(
2353
+ organization_id="organizationId",
2354
+ project_id="projectId",
2355
+ )
2356
+
2357
+ ```
2358
+ </dd>
2359
+ </dl>
2360
+ </dd>
2361
+ </dl>
2362
+
2363
+ #### ⚙️ Parameters
2364
+
2365
+ <dl>
2366
+ <dd>
2367
+
2368
+ <dl>
2369
+ <dd>
2370
+
2371
+ **organization_id:** `str`
2372
+
2373
+ </dd>
2374
+ </dl>
2375
+
2376
+ <dl>
2377
+ <dd>
2378
+
2379
+ **project_id:** `str`
2380
+
2381
+ </dd>
2382
+ </dl>
2383
+
2384
+ <dl>
2385
+ <dd>
2386
+
2387
+ **name:** `typing.Optional[str]` — a string at most 100 character(s) long
2388
+
2389
+ </dd>
2390
+ </dl>
2391
+
2392
+ <dl>
2393
+ <dd>
2394
+
2395
+ **slug:** `typing.Optional[str]` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
2396
+
2397
+ </dd>
2398
+ </dl>
2399
+
2400
+ <dl>
2401
+ <dd>
2402
+
2403
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2404
+
2405
+ </dd>
2406
+ </dl>
2407
+ </dd>
2408
+ </dl>
2409
+
2410
+
2411
+ </dd>
2412
+ </dl>
2413
+ </details>
2414
+
2415
+ <details><summary><code>client.projects.<a href="src/mirascope/projects/client.py">delete</a>(...)</code></summary>
2416
+ <dl>
2417
+ <dd>
2418
+
2419
+ #### 🔌 Usage
2420
+
2421
+ <dl>
2422
+ <dd>
2423
+
2424
+ <dl>
2425
+ <dd>
2426
+
2427
+ ```python
2428
+ from mirascope.api._generated import Mirascope
2429
+
2430
+ client = Mirascope()
2431
+ client.projects.delete(
2432
+ organization_id="organizationId",
2433
+ project_id="projectId",
2434
+ )
2435
+
2436
+ ```
2437
+ </dd>
2438
+ </dl>
2439
+ </dd>
2440
+ </dl>
2441
+
2442
+ #### ⚙️ Parameters
2443
+
2444
+ <dl>
2445
+ <dd>
2446
+
2447
+ <dl>
2448
+ <dd>
2449
+
2450
+ **organization_id:** `str`
2451
+
2452
+ </dd>
2453
+ </dl>
2454
+
2455
+ <dl>
2456
+ <dd>
2457
+
2458
+ **project_id:** `str`
2459
+
2460
+ </dd>
2461
+ </dl>
2462
+
2463
+ <dl>
2464
+ <dd>
2465
+
2466
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2467
+
2468
+ </dd>
2469
+ </dl>
2470
+ </dd>
2471
+ </dl>
2472
+
2473
+
2474
+ </dd>
2475
+ </dl>
2476
+ </details>
2477
+
2478
+ ## project-memberships
2479
+ <details><summary><code>client.project_memberships.<a href="src/mirascope/project_memberships/client.py">list</a>(...)</code></summary>
2480
+ <dl>
2481
+ <dd>
2482
+
2483
+ #### 🔌 Usage
2484
+
2485
+ <dl>
2486
+ <dd>
2487
+
2488
+ <dl>
2489
+ <dd>
2490
+
2491
+ ```python
2492
+ from mirascope.api._generated import Mirascope
2493
+
2494
+ client = Mirascope()
2495
+ client.project_memberships.list(
2496
+ organization_id="organizationId",
2497
+ project_id="projectId",
2498
+ )
2499
+
2500
+ ```
2501
+ </dd>
2502
+ </dl>
2503
+ </dd>
2504
+ </dl>
2505
+
2506
+ #### ⚙️ Parameters
2507
+
2508
+ <dl>
2509
+ <dd>
2510
+
2511
+ <dl>
2512
+ <dd>
2513
+
2514
+ **organization_id:** `str`
2515
+
2516
+ </dd>
2517
+ </dl>
2518
+
2519
+ <dl>
2520
+ <dd>
2521
+
2522
+ **project_id:** `str`
2523
+
2524
+ </dd>
2525
+ </dl>
2526
+
2527
+ <dl>
2528
+ <dd>
2529
+
2530
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2531
+
2532
+ </dd>
2533
+ </dl>
2534
+ </dd>
2535
+ </dl>
2536
+
2537
+
2538
+ </dd>
2539
+ </dl>
2540
+ </details>
2541
+
2542
+ <details><summary><code>client.project_memberships.<a href="src/mirascope/project_memberships/client.py">create</a>(...)</code></summary>
2543
+ <dl>
2544
+ <dd>
2545
+
2546
+ #### 🔌 Usage
2547
+
2548
+ <dl>
2549
+ <dd>
2550
+
2551
+ <dl>
2552
+ <dd>
2553
+
2554
+ ```python
2555
+ from mirascope.api._generated import Mirascope
2556
+
2557
+ client = Mirascope()
2558
+ client.project_memberships.create(
2559
+ organization_id="organizationId",
2560
+ project_id="projectId",
2561
+ member_id="memberId",
2562
+ role="ADMIN",
2563
+ )
2564
+
2565
+ ```
2566
+ </dd>
2567
+ </dl>
2568
+ </dd>
2569
+ </dl>
2570
+
2571
+ #### ⚙️ Parameters
2572
+
2573
+ <dl>
2574
+ <dd>
2575
+
2576
+ <dl>
2577
+ <dd>
2578
+
2579
+ **organization_id:** `str`
2580
+
2581
+ </dd>
2582
+ </dl>
2583
+
2584
+ <dl>
2585
+ <dd>
2586
+
2587
+ **project_id:** `str`
2588
+
2589
+ </dd>
2590
+ </dl>
2591
+
2592
+ <dl>
2593
+ <dd>
2594
+
2595
+ **member_id:** `str`
2596
+
2597
+ </dd>
2598
+ </dl>
2599
+
2600
+ <dl>
2601
+ <dd>
2602
+
2603
+ **role:** `ProjectMembershipsCreateRequestRole`
2604
+
2605
+ </dd>
2606
+ </dl>
2607
+
2608
+ <dl>
2609
+ <dd>
2610
+
2611
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2612
+
2613
+ </dd>
2614
+ </dl>
2615
+ </dd>
2616
+ </dl>
2617
+
2618
+
2619
+ </dd>
2620
+ </dl>
2621
+ </details>
2622
+
2623
+ <details><summary><code>client.project_memberships.<a href="src/mirascope/project_memberships/client.py">get</a>(...)</code></summary>
2624
+ <dl>
2625
+ <dd>
2626
+
2627
+ #### 🔌 Usage
2628
+
2629
+ <dl>
2630
+ <dd>
2631
+
2632
+ <dl>
2633
+ <dd>
2634
+
2635
+ ```python
2636
+ from mirascope.api._generated import Mirascope
2637
+
2638
+ client = Mirascope()
2639
+ client.project_memberships.get(
2640
+ organization_id="organizationId",
2641
+ project_id="projectId",
2642
+ member_id="memberId",
2643
+ )
2644
+
2645
+ ```
2646
+ </dd>
2647
+ </dl>
2648
+ </dd>
2649
+ </dl>
2650
+
2651
+ #### ⚙️ Parameters
2652
+
2653
+ <dl>
2654
+ <dd>
2655
+
2656
+ <dl>
2657
+ <dd>
2658
+
2659
+ **organization_id:** `str`
2660
+
2661
+ </dd>
2662
+ </dl>
2663
+
2664
+ <dl>
2665
+ <dd>
2666
+
2667
+ **project_id:** `str`
2668
+
2669
+ </dd>
2670
+ </dl>
2671
+
2672
+ <dl>
2673
+ <dd>
2674
+
2675
+ **member_id:** `str`
2676
+
2677
+ </dd>
2678
+ </dl>
2679
+
2680
+ <dl>
2681
+ <dd>
2682
+
2683
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2684
+
2685
+ </dd>
2686
+ </dl>
2687
+ </dd>
2688
+ </dl>
2689
+
2690
+
2691
+ </dd>
2692
+ </dl>
2693
+ </details>
2694
+
2695
+ <details><summary><code>client.project_memberships.<a href="src/mirascope/project_memberships/client.py">delete</a>(...)</code></summary>
2696
+ <dl>
2697
+ <dd>
2698
+
2699
+ #### 🔌 Usage
2700
+
2701
+ <dl>
2702
+ <dd>
2703
+
2704
+ <dl>
2705
+ <dd>
2706
+
2707
+ ```python
2708
+ from mirascope.api._generated import Mirascope
2709
+
2710
+ client = Mirascope()
2711
+ client.project_memberships.delete(
2712
+ organization_id="organizationId",
2713
+ project_id="projectId",
2714
+ member_id="memberId",
2715
+ )
2716
+
2717
+ ```
2718
+ </dd>
2719
+ </dl>
2720
+ </dd>
2721
+ </dl>
2722
+
2723
+ #### ⚙️ Parameters
2724
+
2725
+ <dl>
2726
+ <dd>
2727
+
2728
+ <dl>
2729
+ <dd>
2730
+
2731
+ **organization_id:** `str`
2732
+
2733
+ </dd>
2734
+ </dl>
2735
+
2736
+ <dl>
2737
+ <dd>
2738
+
2739
+ **project_id:** `str`
2740
+
2741
+ </dd>
2742
+ </dl>
2743
+
2744
+ <dl>
2745
+ <dd>
2746
+
2747
+ **member_id:** `str`
2748
+
2749
+ </dd>
2750
+ </dl>
2751
+
2752
+ <dl>
2753
+ <dd>
2754
+
2755
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2756
+
2757
+ </dd>
2758
+ </dl>
2759
+ </dd>
2760
+ </dl>
2761
+
2762
+
2763
+ </dd>
2764
+ </dl>
2765
+ </details>
2766
+
2767
+ <details><summary><code>client.project_memberships.<a href="src/mirascope/project_memberships/client.py">update</a>(...)</code></summary>
2768
+ <dl>
2769
+ <dd>
2770
+
2771
+ #### 🔌 Usage
2772
+
2773
+ <dl>
2774
+ <dd>
2775
+
2776
+ <dl>
2777
+ <dd>
2778
+
2779
+ ```python
2780
+ from mirascope.api._generated import Mirascope
2781
+
2782
+ client = Mirascope()
2783
+ client.project_memberships.update(
2784
+ organization_id="organizationId",
2785
+ project_id="projectId",
2786
+ member_id="memberId",
2787
+ role="ADMIN",
2788
+ )
2789
+
2790
+ ```
2791
+ </dd>
2792
+ </dl>
2793
+ </dd>
2794
+ </dl>
2795
+
2796
+ #### ⚙️ Parameters
2797
+
2798
+ <dl>
2799
+ <dd>
2800
+
2801
+ <dl>
2802
+ <dd>
2803
+
2804
+ **organization_id:** `str`
2805
+
2806
+ </dd>
2807
+ </dl>
2808
+
2809
+ <dl>
2810
+ <dd>
2811
+
2812
+ **project_id:** `str`
2813
+
2814
+ </dd>
2815
+ </dl>
2816
+
2817
+ <dl>
2818
+ <dd>
2819
+
2820
+ **member_id:** `str`
2821
+
2822
+ </dd>
2823
+ </dl>
2824
+
2825
+ <dl>
2826
+ <dd>
2827
+
2828
+ **role:** `ProjectMembershipsUpdateRequestRole`
2829
+
2830
+ </dd>
2831
+ </dl>
2832
+
2833
+ <dl>
2834
+ <dd>
2835
+
2836
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2837
+
2838
+ </dd>
2839
+ </dl>
2840
+ </dd>
2841
+ </dl>
2842
+
2843
+
2844
+ </dd>
2845
+ </dl>
2846
+ </details>
2847
+
2848
+ ## environments
2849
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">list</a>(...)</code></summary>
2850
+ <dl>
2851
+ <dd>
2852
+
2853
+ #### 🔌 Usage
2854
+
2855
+ <dl>
2856
+ <dd>
2857
+
2858
+ <dl>
2859
+ <dd>
2860
+
2861
+ ```python
2862
+ from mirascope.api._generated import Mirascope
2863
+
2864
+ client = Mirascope()
2865
+ client.environments.list(
2866
+ organization_id="organizationId",
2867
+ project_id="projectId",
2868
+ )
2869
+
2870
+ ```
2871
+ </dd>
2872
+ </dl>
2873
+ </dd>
2874
+ </dl>
2875
+
2876
+ #### ⚙️ Parameters
2877
+
2878
+ <dl>
2879
+ <dd>
2880
+
2881
+ <dl>
2882
+ <dd>
2883
+
2884
+ **organization_id:** `str`
2885
+
2886
+ </dd>
2887
+ </dl>
2888
+
2889
+ <dl>
2890
+ <dd>
2891
+
2892
+ **project_id:** `str`
2893
+
2894
+ </dd>
2895
+ </dl>
2896
+
2897
+ <dl>
2898
+ <dd>
2899
+
2900
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2901
+
2902
+ </dd>
2903
+ </dl>
2904
+ </dd>
2905
+ </dl>
2906
+
2907
+
2908
+ </dd>
2909
+ </dl>
2910
+ </details>
2911
+
2912
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">create</a>(...)</code></summary>
2913
+ <dl>
2914
+ <dd>
2915
+
2916
+ #### 🔌 Usage
2917
+
2918
+ <dl>
2919
+ <dd>
2920
+
2921
+ <dl>
2922
+ <dd>
2923
+
2924
+ ```python
2925
+ from mirascope.api._generated import Mirascope
2926
+
2927
+ client = Mirascope()
2928
+ client.environments.create(
2929
+ organization_id="organizationId",
2930
+ project_id="projectId",
2931
+ name="name",
2932
+ slug="slug",
2933
+ )
2934
+
2935
+ ```
2936
+ </dd>
2937
+ </dl>
2938
+ </dd>
2939
+ </dl>
2940
+
2941
+ #### ⚙️ Parameters
2942
+
2943
+ <dl>
2944
+ <dd>
2945
+
2946
+ <dl>
2947
+ <dd>
2948
+
2949
+ **organization_id:** `str`
2950
+
2951
+ </dd>
2952
+ </dl>
2953
+
2954
+ <dl>
2955
+ <dd>
2956
+
2957
+ **project_id:** `str`
2958
+
2959
+ </dd>
2960
+ </dl>
2961
+
2962
+ <dl>
2963
+ <dd>
2964
+
2965
+ **name:** `str` — a string at most 100 character(s) long
2966
+
2967
+ </dd>
2968
+ </dl>
2969
+
2970
+ <dl>
2971
+ <dd>
2972
+
2973
+ **slug:** `str` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
2974
+
2975
+ </dd>
2976
+ </dl>
2977
+
2978
+ <dl>
2979
+ <dd>
2980
+
2981
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
2982
+
2983
+ </dd>
2984
+ </dl>
2985
+ </dd>
2986
+ </dl>
2987
+
2988
+
2989
+ </dd>
2990
+ </dl>
2991
+ </details>
2992
+
2993
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">get</a>(...)</code></summary>
2994
+ <dl>
2995
+ <dd>
2996
+
2997
+ #### 🔌 Usage
2998
+
2999
+ <dl>
3000
+ <dd>
3001
+
3002
+ <dl>
3003
+ <dd>
3004
+
3005
+ ```python
3006
+ from mirascope.api._generated import Mirascope
3007
+
3008
+ client = Mirascope()
3009
+ client.environments.get(
3010
+ organization_id="organizationId",
3011
+ project_id="projectId",
3012
+ environment_id="environmentId",
3013
+ )
3014
+
3015
+ ```
3016
+ </dd>
3017
+ </dl>
3018
+ </dd>
3019
+ </dl>
3020
+
3021
+ #### ⚙️ Parameters
3022
+
3023
+ <dl>
3024
+ <dd>
3025
+
3026
+ <dl>
3027
+ <dd>
3028
+
3029
+ **organization_id:** `str`
3030
+
3031
+ </dd>
3032
+ </dl>
3033
+
3034
+ <dl>
3035
+ <dd>
3036
+
3037
+ **project_id:** `str`
3038
+
3039
+ </dd>
3040
+ </dl>
3041
+
3042
+ <dl>
3043
+ <dd>
3044
+
3045
+ **environment_id:** `str`
3046
+
3047
+ </dd>
3048
+ </dl>
3049
+
3050
+ <dl>
3051
+ <dd>
3052
+
3053
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3054
+
3055
+ </dd>
3056
+ </dl>
3057
+ </dd>
3058
+ </dl>
3059
+
3060
+
3061
+ </dd>
3062
+ </dl>
3063
+ </details>
3064
+
3065
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">update</a>(...)</code></summary>
3066
+ <dl>
3067
+ <dd>
3068
+
3069
+ #### 🔌 Usage
3070
+
3071
+ <dl>
3072
+ <dd>
3073
+
3074
+ <dl>
3075
+ <dd>
3076
+
3077
+ ```python
3078
+ from mirascope.api._generated import Mirascope
3079
+
3080
+ client = Mirascope()
3081
+ client.environments.update(
3082
+ organization_id="organizationId",
3083
+ project_id="projectId",
3084
+ environment_id="environmentId",
3085
+ )
3086
+
3087
+ ```
3088
+ </dd>
3089
+ </dl>
3090
+ </dd>
3091
+ </dl>
3092
+
3093
+ #### ⚙️ Parameters
3094
+
3095
+ <dl>
3096
+ <dd>
3097
+
3098
+ <dl>
3099
+ <dd>
3100
+
3101
+ **organization_id:** `str`
3102
+
3103
+ </dd>
3104
+ </dl>
3105
+
3106
+ <dl>
3107
+ <dd>
3108
+
3109
+ **project_id:** `str`
3110
+
3111
+ </dd>
3112
+ </dl>
3113
+
3114
+ <dl>
3115
+ <dd>
3116
+
3117
+ **environment_id:** `str`
3118
+
3119
+ </dd>
3120
+ </dl>
3121
+
3122
+ <dl>
3123
+ <dd>
3124
+
3125
+ **name:** `typing.Optional[str]` — a string at most 100 character(s) long
3126
+
3127
+ </dd>
3128
+ </dl>
3129
+
3130
+ <dl>
3131
+ <dd>
3132
+
3133
+ **slug:** `typing.Optional[str]` — a string matching the pattern ^[a-z0-9][a-z0-9_-]*[a-z0-9]$
3134
+
3135
+ </dd>
3136
+ </dl>
3137
+
3138
+ <dl>
3139
+ <dd>
3140
+
3141
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3142
+
3143
+ </dd>
3144
+ </dl>
3145
+ </dd>
3146
+ </dl>
3147
+
3148
+
3149
+ </dd>
3150
+ </dl>
3151
+ </details>
3152
+
3153
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">delete</a>(...)</code></summary>
3154
+ <dl>
3155
+ <dd>
3156
+
3157
+ #### 🔌 Usage
3158
+
3159
+ <dl>
3160
+ <dd>
3161
+
3162
+ <dl>
3163
+ <dd>
3164
+
3165
+ ```python
3166
+ from mirascope.api._generated import Mirascope
3167
+
3168
+ client = Mirascope()
3169
+ client.environments.delete(
3170
+ organization_id="organizationId",
3171
+ project_id="projectId",
3172
+ environment_id="environmentId",
3173
+ )
3174
+
3175
+ ```
3176
+ </dd>
3177
+ </dl>
3178
+ </dd>
3179
+ </dl>
3180
+
3181
+ #### ⚙️ Parameters
3182
+
3183
+ <dl>
3184
+ <dd>
3185
+
3186
+ <dl>
3187
+ <dd>
3188
+
3189
+ **organization_id:** `str`
3190
+
3191
+ </dd>
3192
+ </dl>
3193
+
3194
+ <dl>
3195
+ <dd>
3196
+
3197
+ **project_id:** `str`
3198
+
3199
+ </dd>
3200
+ </dl>
3201
+
3202
+ <dl>
3203
+ <dd>
3204
+
3205
+ **environment_id:** `str`
3206
+
3207
+ </dd>
3208
+ </dl>
3209
+
3210
+ <dl>
3211
+ <dd>
3212
+
3213
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3214
+
3215
+ </dd>
3216
+ </dl>
3217
+ </dd>
3218
+ </dl>
3219
+
3220
+
3221
+ </dd>
3222
+ </dl>
3223
+ </details>
3224
+
3225
+ <details><summary><code>client.environments.<a href="src/mirascope/environments/client.py">getanalytics</a>(...)</code></summary>
3226
+ <dl>
3227
+ <dd>
3228
+
3229
+ #### 🔌 Usage
3230
+
3231
+ <dl>
3232
+ <dd>
3233
+
3234
+ <dl>
3235
+ <dd>
3236
+
3237
+ ```python
3238
+ from mirascope.api._generated import Mirascope
3239
+
3240
+ client = Mirascope()
3241
+ client.environments.getanalytics(
3242
+ organization_id="organizationId",
3243
+ project_id="projectId",
3244
+ environment_id="environmentId",
3245
+ start_time="startTime",
3246
+ end_time="endTime",
3247
+ )
3248
+
3249
+ ```
3250
+ </dd>
3251
+ </dl>
3252
+ </dd>
3253
+ </dl>
3254
+
3255
+ #### ⚙️ Parameters
3256
+
3257
+ <dl>
3258
+ <dd>
3259
+
3260
+ <dl>
3261
+ <dd>
3262
+
3263
+ **organization_id:** `str`
3264
+
3265
+ </dd>
3266
+ </dl>
3267
+
3268
+ <dl>
3269
+ <dd>
3270
+
3271
+ **project_id:** `str`
3272
+
3273
+ </dd>
3274
+ </dl>
3275
+
3276
+ <dl>
3277
+ <dd>
3278
+
3279
+ **environment_id:** `str`
3280
+
3281
+ </dd>
3282
+ </dl>
3283
+
3284
+ <dl>
3285
+ <dd>
3286
+
3287
+ **start_time:** `str`
3288
+
3289
+ </dd>
3290
+ </dl>
3291
+
3292
+ <dl>
3293
+ <dd>
3294
+
3295
+ **end_time:** `str`
3296
+
3297
+ </dd>
3298
+ </dl>
3299
+
3300
+ <dl>
3301
+ <dd>
3302
+
3303
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3304
+
3305
+ </dd>
3306
+ </dl>
3307
+ </dd>
3308
+ </dl>
3309
+
3310
+
3311
+ </dd>
3312
+ </dl>
3313
+ </details>
3314
+
3315
+ ## apiKeys
3316
+ <details><summary><code>client.api_keys.<a href="src/mirascope/api_keys/client.py">api_keys_list_all_for_org</a>(...)</code></summary>
3317
+ <dl>
3318
+ <dd>
3319
+
3320
+ #### 🔌 Usage
3321
+
3322
+ <dl>
3323
+ <dd>
3324
+
3325
+ <dl>
3326
+ <dd>
3327
+
3328
+ ```python
3329
+ from mirascope.api._generated import Mirascope
3330
+
3331
+ client = Mirascope()
3332
+ client.api_keys.api_keys_list_all_for_org(
3333
+ organization_id="organizationId",
3334
+ )
3335
+
3336
+ ```
3337
+ </dd>
3338
+ </dl>
3339
+ </dd>
3340
+ </dl>
3341
+
3342
+ #### ⚙️ Parameters
3343
+
3344
+ <dl>
3345
+ <dd>
3346
+
3347
+ <dl>
3348
+ <dd>
3349
+
3350
+ **organization_id:** `str`
3351
+
3352
+ </dd>
3353
+ </dl>
3354
+
3355
+ <dl>
3356
+ <dd>
3357
+
3358
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3359
+
3360
+ </dd>
3361
+ </dl>
3362
+ </dd>
3363
+ </dl>
3364
+
3365
+
3366
+ </dd>
3367
+ </dl>
3368
+ </details>
3369
+
3370
+ <details><summary><code>client.api_keys.<a href="src/mirascope/api_keys/client.py">api_keys_list</a>(...)</code></summary>
3371
+ <dl>
3372
+ <dd>
3373
+
3374
+ #### 🔌 Usage
3375
+
3376
+ <dl>
3377
+ <dd>
3378
+
3379
+ <dl>
3380
+ <dd>
3381
+
3382
+ ```python
3383
+ from mirascope.api._generated import Mirascope
3384
+
3385
+ client = Mirascope()
3386
+ client.api_keys.api_keys_list(
3387
+ organization_id="organizationId",
3388
+ project_id="projectId",
3389
+ environment_id="environmentId",
3390
+ )
3391
+
3392
+ ```
3393
+ </dd>
3394
+ </dl>
3395
+ </dd>
3396
+ </dl>
3397
+
3398
+ #### ⚙️ Parameters
3399
+
3400
+ <dl>
3401
+ <dd>
3402
+
3403
+ <dl>
3404
+ <dd>
3405
+
3406
+ **organization_id:** `str`
3407
+
3408
+ </dd>
3409
+ </dl>
3410
+
3411
+ <dl>
3412
+ <dd>
3413
+
3414
+ **project_id:** `str`
3415
+
3416
+ </dd>
3417
+ </dl>
3418
+
3419
+ <dl>
3420
+ <dd>
3421
+
3422
+ **environment_id:** `str`
3423
+
3424
+ </dd>
3425
+ </dl>
3426
+
3427
+ <dl>
3428
+ <dd>
3429
+
3430
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3431
+
3432
+ </dd>
3433
+ </dl>
3434
+ </dd>
3435
+ </dl>
3436
+
3437
+
3438
+ </dd>
3439
+ </dl>
3440
+ </details>
3441
+
3442
+ <details><summary><code>client.api_keys.<a href="src/mirascope/api_keys/client.py">api_keys_create</a>(...)</code></summary>
3443
+ <dl>
3444
+ <dd>
3445
+
3446
+ #### 🔌 Usage
3447
+
3448
+ <dl>
3449
+ <dd>
3450
+
3451
+ <dl>
3452
+ <dd>
3453
+
3454
+ ```python
3455
+ from mirascope.api._generated import Mirascope
3456
+
3457
+ client = Mirascope()
3458
+ client.api_keys.api_keys_create(
3459
+ organization_id="organizationId",
3460
+ project_id="projectId",
3461
+ environment_id="environmentId",
3462
+ name="name",
3463
+ )
3464
+
3465
+ ```
3466
+ </dd>
3467
+ </dl>
3468
+ </dd>
3469
+ </dl>
3470
+
3471
+ #### ⚙️ Parameters
3472
+
3473
+ <dl>
3474
+ <dd>
3475
+
3476
+ <dl>
3477
+ <dd>
3478
+
3479
+ **organization_id:** `str`
3480
+
3481
+ </dd>
3482
+ </dl>
3483
+
3484
+ <dl>
3485
+ <dd>
3486
+
3487
+ **project_id:** `str`
3488
+
3489
+ </dd>
3490
+ </dl>
3491
+
3492
+ <dl>
3493
+ <dd>
3494
+
3495
+ **environment_id:** `str`
3496
+
3497
+ </dd>
3498
+ </dl>
3499
+
3500
+ <dl>
3501
+ <dd>
3502
+
3503
+ **name:** `str` — a string at most 100 character(s) long
3504
+
3505
+ </dd>
3506
+ </dl>
3507
+
3508
+ <dl>
3509
+ <dd>
3510
+
3511
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3512
+
3513
+ </dd>
3514
+ </dl>
3515
+ </dd>
3516
+ </dl>
3517
+
3518
+
3519
+ </dd>
3520
+ </dl>
3521
+ </details>
3522
+
3523
+ <details><summary><code>client.api_keys.<a href="src/mirascope/api_keys/client.py">api_keys_get</a>(...)</code></summary>
3524
+ <dl>
3525
+ <dd>
3526
+
3527
+ #### 🔌 Usage
3528
+
3529
+ <dl>
3530
+ <dd>
3531
+
3532
+ <dl>
3533
+ <dd>
3534
+
3535
+ ```python
3536
+ from mirascope.api._generated import Mirascope
3537
+
3538
+ client = Mirascope()
3539
+ client.api_keys.api_keys_get(
3540
+ organization_id="organizationId",
3541
+ project_id="projectId",
3542
+ environment_id="environmentId",
3543
+ api_key_id="apiKeyId",
3544
+ )
3545
+
3546
+ ```
3547
+ </dd>
3548
+ </dl>
3549
+ </dd>
3550
+ </dl>
3551
+
3552
+ #### ⚙️ Parameters
3553
+
3554
+ <dl>
3555
+ <dd>
3556
+
3557
+ <dl>
3558
+ <dd>
3559
+
3560
+ **organization_id:** `str`
3561
+
3562
+ </dd>
3563
+ </dl>
3564
+
3565
+ <dl>
3566
+ <dd>
3567
+
3568
+ **project_id:** `str`
3569
+
3570
+ </dd>
3571
+ </dl>
3572
+
3573
+ <dl>
3574
+ <dd>
3575
+
3576
+ **environment_id:** `str`
3577
+
3578
+ </dd>
3579
+ </dl>
3580
+
3581
+ <dl>
3582
+ <dd>
3583
+
3584
+ **api_key_id:** `str`
3585
+
3586
+ </dd>
3587
+ </dl>
3588
+
3589
+ <dl>
3590
+ <dd>
3591
+
3592
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3593
+
3594
+ </dd>
3595
+ </dl>
3596
+ </dd>
3597
+ </dl>
3598
+
3599
+
3600
+ </dd>
3601
+ </dl>
3602
+ </details>
3603
+
3604
+ <details><summary><code>client.api_keys.<a href="src/mirascope/api_keys/client.py">api_keys_delete</a>(...)</code></summary>
3605
+ <dl>
3606
+ <dd>
3607
+
3608
+ #### 🔌 Usage
3609
+
3610
+ <dl>
3611
+ <dd>
3612
+
3613
+ <dl>
3614
+ <dd>
3615
+
3616
+ ```python
3617
+ from mirascope.api._generated import Mirascope
3618
+
3619
+ client = Mirascope()
3620
+ client.api_keys.api_keys_delete(
3621
+ organization_id="organizationId",
3622
+ project_id="projectId",
3623
+ environment_id="environmentId",
3624
+ api_key_id="apiKeyId",
3625
+ )
3626
+
3627
+ ```
3628
+ </dd>
3629
+ </dl>
3630
+ </dd>
3631
+ </dl>
3632
+
3633
+ #### ⚙️ Parameters
3634
+
3635
+ <dl>
3636
+ <dd>
3637
+
3638
+ <dl>
3639
+ <dd>
3640
+
3641
+ **organization_id:** `str`
3642
+
3643
+ </dd>
3644
+ </dl>
3645
+
3646
+ <dl>
3647
+ <dd>
3648
+
3649
+ **project_id:** `str`
3650
+
3651
+ </dd>
3652
+ </dl>
3653
+
3654
+ <dl>
3655
+ <dd>
3656
+
3657
+ **environment_id:** `str`
3658
+
3659
+ </dd>
3660
+ </dl>
3661
+
3662
+ <dl>
3663
+ <dd>
3664
+
3665
+ **api_key_id:** `str`
3666
+
3667
+ </dd>
3668
+ </dl>
3669
+
3670
+ <dl>
3671
+ <dd>
3672
+
3673
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3674
+
3675
+ </dd>
3676
+ </dl>
3677
+ </dd>
3678
+ </dl>
3679
+
3680
+
3681
+ </dd>
3682
+ </dl>
3683
+ </details>
3684
+
3685
+ ## functions
3686
+ <details><summary><code>client.functions.<a href="src/mirascope/functions/client.py">list</a>()</code></summary>
3687
+ <dl>
3688
+ <dd>
3689
+
3690
+ #### 🔌 Usage
3691
+
3692
+ <dl>
3693
+ <dd>
3694
+
3695
+ <dl>
3696
+ <dd>
3697
+
3698
+ ```python
3699
+ from mirascope.api._generated import Mirascope
3700
+
3701
+ client = Mirascope()
3702
+ client.functions.list()
3703
+
3704
+ ```
3705
+ </dd>
3706
+ </dl>
3707
+ </dd>
3708
+ </dl>
3709
+
3710
+ #### ⚙️ Parameters
3711
+
3712
+ <dl>
3713
+ <dd>
3714
+
3715
+ <dl>
3716
+ <dd>
3717
+
3718
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3719
+
3720
+ </dd>
3721
+ </dl>
3722
+ </dd>
3723
+ </dl>
3724
+
3725
+
3726
+ </dd>
3727
+ </dl>
3728
+ </details>
3729
+
3730
+ <details><summary><code>client.functions.<a href="src/mirascope/functions/client.py">create</a>(...)</code></summary>
3731
+ <dl>
3732
+ <dd>
3733
+
3734
+ #### 🔌 Usage
3735
+
3736
+ <dl>
3737
+ <dd>
3738
+
3739
+ <dl>
3740
+ <dd>
3741
+
3742
+ ```python
3743
+ from mirascope.api._generated import Mirascope
3744
+
3745
+ client = Mirascope()
3746
+ client.functions.create(
3747
+ code="code",
3748
+ hash="hash",
3749
+ signature="signature",
3750
+ signature_hash="signatureHash",
3751
+ name="name",
3752
+ )
3753
+
3754
+ ```
3755
+ </dd>
3756
+ </dl>
3757
+ </dd>
3758
+ </dl>
3759
+
3760
+ #### ⚙️ Parameters
3761
+
3762
+ <dl>
3763
+ <dd>
3764
+
3765
+ <dl>
3766
+ <dd>
3767
+
3768
+ **code:** `str`
3769
+
3770
+ </dd>
3771
+ </dl>
3772
+
3773
+ <dl>
3774
+ <dd>
3775
+
3776
+ **hash:** `str`
3777
+
3778
+ </dd>
3779
+ </dl>
3780
+
3781
+ <dl>
3782
+ <dd>
3783
+
3784
+ **signature:** `str`
3785
+
3786
+ </dd>
3787
+ </dl>
3788
+
3789
+ <dl>
3790
+ <dd>
3791
+
3792
+ **signature_hash:** `str`
3793
+
3794
+ </dd>
3795
+ </dl>
3796
+
3797
+ <dl>
3798
+ <dd>
3799
+
3800
+ **name:** `str`
3801
+
3802
+ </dd>
3803
+ </dl>
3804
+
3805
+ <dl>
3806
+ <dd>
3807
+
3808
+ **description:** `typing.Optional[str]`
3809
+
3810
+ </dd>
3811
+ </dl>
3812
+
3813
+ <dl>
3814
+ <dd>
3815
+
3816
+ **tags:** `typing.Optional[typing.Sequence[str]]`
3817
+
3818
+ </dd>
3819
+ </dl>
3820
+
3821
+ <dl>
3822
+ <dd>
3823
+
3824
+ **metadata:** `typing.Optional[typing.Dict[str, typing.Optional[str]]]`
3825
+
3826
+ </dd>
3827
+ </dl>
3828
+
3829
+ <dl>
3830
+ <dd>
3831
+
3832
+ **dependencies:** `typing.Optional[
3833
+ typing.Dict[str, typing.Optional[FunctionsCreateRequestDependenciesValue]]
3834
+ ]`
3835
+
3836
+ </dd>
3837
+ </dl>
3838
+
3839
+ <dl>
3840
+ <dd>
3841
+
3842
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3843
+
3844
+ </dd>
3845
+ </dl>
3846
+ </dd>
3847
+ </dl>
3848
+
3849
+
3850
+ </dd>
3851
+ </dl>
3852
+ </details>
3853
+
3854
+ <details><summary><code>client.functions.<a href="src/mirascope/functions/client.py">get</a>(...)</code></summary>
3855
+ <dl>
3856
+ <dd>
3857
+
3858
+ #### 🔌 Usage
3859
+
3860
+ <dl>
3861
+ <dd>
3862
+
3863
+ <dl>
3864
+ <dd>
3865
+
3866
+ ```python
3867
+ from mirascope.api._generated import Mirascope
3868
+
3869
+ client = Mirascope()
3870
+ client.functions.get(
3871
+ id="id",
3872
+ )
3873
+
3874
+ ```
3875
+ </dd>
3876
+ </dl>
3877
+ </dd>
3878
+ </dl>
3879
+
3880
+ #### ⚙️ Parameters
3881
+
3882
+ <dl>
3883
+ <dd>
3884
+
3885
+ <dl>
3886
+ <dd>
3887
+
3888
+ **id:** `str`
3889
+
3890
+ </dd>
3891
+ </dl>
3892
+
3893
+ <dl>
3894
+ <dd>
3895
+
3896
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3897
+
3898
+ </dd>
3899
+ </dl>
3900
+ </dd>
3901
+ </dl>
3902
+
3903
+
3904
+ </dd>
3905
+ </dl>
3906
+ </details>
3907
+
3908
+ <details><summary><code>client.functions.<a href="src/mirascope/functions/client.py">delete</a>(...)</code></summary>
3909
+ <dl>
3910
+ <dd>
3911
+
3912
+ #### 🔌 Usage
3913
+
3914
+ <dl>
3915
+ <dd>
3916
+
3917
+ <dl>
3918
+ <dd>
3919
+
3920
+ ```python
3921
+ from mirascope.api._generated import Mirascope
3922
+
3923
+ client = Mirascope()
3924
+ client.functions.delete(
3925
+ id="id",
3926
+ )
3927
+
3928
+ ```
3929
+ </dd>
3930
+ </dl>
3931
+ </dd>
3932
+ </dl>
3933
+
3934
+ #### ⚙️ Parameters
3935
+
3936
+ <dl>
3937
+ <dd>
3938
+
3939
+ <dl>
3940
+ <dd>
3941
+
3942
+ **id:** `str`
3943
+
3944
+ </dd>
3945
+ </dl>
3946
+
3947
+ <dl>
3948
+ <dd>
3949
+
3950
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3951
+
3952
+ </dd>
3953
+ </dl>
3954
+ </dd>
3955
+ </dl>
3956
+
3957
+
3958
+ </dd>
3959
+ </dl>
3960
+ </details>
3961
+
3962
+ <details><summary><code>client.functions.<a href="src/mirascope/functions/client.py">findbyhash</a>(...)</code></summary>
3963
+ <dl>
3964
+ <dd>
3965
+
3966
+ #### 🔌 Usage
3967
+
3968
+ <dl>
3969
+ <dd>
3970
+
3971
+ <dl>
3972
+ <dd>
3973
+
3974
+ ```python
3975
+ from mirascope.api._generated import Mirascope
3976
+
3977
+ client = Mirascope()
3978
+ client.functions.findbyhash(
3979
+ hash="hash",
3980
+ )
3981
+
3982
+ ```
3983
+ </dd>
3984
+ </dl>
3985
+ </dd>
3986
+ </dl>
3987
+
3988
+ #### ⚙️ Parameters
3989
+
3990
+ <dl>
3991
+ <dd>
3992
+
3993
+ <dl>
3994
+ <dd>
3995
+
3996
+ **hash:** `str`
3997
+
3998
+ </dd>
3999
+ </dl>
4000
+
4001
+ <dl>
4002
+ <dd>
4003
+
4004
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4005
+
4006
+ </dd>
4007
+ </dl>
4008
+ </dd>
4009
+ </dl>
4010
+
4011
+
4012
+ </dd>
4013
+ </dl>
4014
+ </details>
4015
+
4016
+ <details><summary><code>client.functions.<a href="src/mirascope/functions/client.py">getbyenv</a>(...)</code></summary>
4017
+ <dl>
4018
+ <dd>
4019
+
4020
+ #### 🔌 Usage
4021
+
4022
+ <dl>
4023
+ <dd>
4024
+
4025
+ <dl>
4026
+ <dd>
4027
+
4028
+ ```python
4029
+ from mirascope.api._generated import Mirascope
4030
+
4031
+ client = Mirascope()
4032
+ client.functions.getbyenv(
4033
+ organization_id="organizationId",
4034
+ project_id="projectId",
4035
+ environment_id="environmentId",
4036
+ function_id="functionId",
4037
+ )
4038
+
4039
+ ```
4040
+ </dd>
4041
+ </dl>
4042
+ </dd>
4043
+ </dl>
4044
+
4045
+ #### ⚙️ Parameters
4046
+
4047
+ <dl>
4048
+ <dd>
4049
+
4050
+ <dl>
4051
+ <dd>
4052
+
4053
+ **organization_id:** `str`
4054
+
4055
+ </dd>
4056
+ </dl>
4057
+
4058
+ <dl>
4059
+ <dd>
4060
+
4061
+ **project_id:** `str`
4062
+
4063
+ </dd>
4064
+ </dl>
4065
+
4066
+ <dl>
4067
+ <dd>
4068
+
4069
+ **environment_id:** `str`
4070
+
4071
+ </dd>
4072
+ </dl>
4073
+
4074
+ <dl>
4075
+ <dd>
4076
+
4077
+ **function_id:** `str`
4078
+
4079
+ </dd>
4080
+ </dl>
4081
+
4082
+ <dl>
4083
+ <dd>
4084
+
4085
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4086
+
4087
+ </dd>
4088
+ </dl>
4089
+ </dd>
4090
+ </dl>
4091
+
4092
+
4093
+ </dd>
4094
+ </dl>
4095
+ </details>
4096
+
4097
+ <details><summary><code>client.functions.<a href="src/mirascope/functions/client.py">listbyenv</a>(...)</code></summary>
4098
+ <dl>
4099
+ <dd>
4100
+
4101
+ #### 🔌 Usage
4102
+
4103
+ <dl>
4104
+ <dd>
4105
+
4106
+ <dl>
4107
+ <dd>
4108
+
4109
+ ```python
4110
+ from mirascope.api._generated import Mirascope
4111
+
4112
+ client = Mirascope()
4113
+ client.functions.listbyenv(
4114
+ organization_id="organizationId",
4115
+ project_id="projectId",
4116
+ environment_id="environmentId",
4117
+ )
4118
+
4119
+ ```
4120
+ </dd>
4121
+ </dl>
4122
+ </dd>
4123
+ </dl>
4124
+
4125
+ #### ⚙️ Parameters
4126
+
4127
+ <dl>
4128
+ <dd>
4129
+
4130
+ <dl>
4131
+ <dd>
4132
+
4133
+ **organization_id:** `str`
4134
+
4135
+ </dd>
4136
+ </dl>
4137
+
4138
+ <dl>
4139
+ <dd>
4140
+
4141
+ **project_id:** `str`
4142
+
4143
+ </dd>
4144
+ </dl>
4145
+
4146
+ <dl>
4147
+ <dd>
4148
+
4149
+ **environment_id:** `str`
4150
+
4151
+ </dd>
4152
+ </dl>
4153
+
4154
+ <dl>
4155
+ <dd>
4156
+
4157
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4158
+
4159
+ </dd>
4160
+ </dl>
4161
+ </dd>
4162
+ </dl>
4163
+
4164
+
4165
+ </dd>
4166
+ </dl>
4167
+ </details>
4168
+
4169
+ ## annotations
4170
+ <details><summary><code>client.annotations.<a href="src/mirascope/annotations/client.py">list</a>(...)</code></summary>
4171
+ <dl>
4172
+ <dd>
4173
+
4174
+ #### 🔌 Usage
4175
+
4176
+ <dl>
4177
+ <dd>
4178
+
4179
+ <dl>
4180
+ <dd>
4181
+
4182
+ ```python
4183
+ from mirascope.api._generated import Mirascope
4184
+
4185
+ client = Mirascope()
4186
+ client.annotations.list()
4187
+
4188
+ ```
4189
+ </dd>
4190
+ </dl>
4191
+ </dd>
4192
+ </dl>
4193
+
4194
+ #### ⚙️ Parameters
4195
+
4196
+ <dl>
4197
+ <dd>
4198
+
4199
+ <dl>
4200
+ <dd>
4201
+
4202
+ **otel_trace_id:** `typing.Optional[str]`
4203
+
4204
+ </dd>
4205
+ </dl>
4206
+
4207
+ <dl>
4208
+ <dd>
4209
+
4210
+ **otel_span_id:** `typing.Optional[str]`
4211
+
4212
+ </dd>
4213
+ </dl>
4214
+
4215
+ <dl>
4216
+ <dd>
4217
+
4218
+ **label:** `typing.Optional[AnnotationsListRequestLabel]`
4219
+
4220
+ </dd>
4221
+ </dl>
4222
+
4223
+ <dl>
4224
+ <dd>
4225
+
4226
+ **limit:** `typing.Optional[NumberFromString]`
4227
+
4228
+ </dd>
4229
+ </dl>
4230
+
4231
+ <dl>
4232
+ <dd>
4233
+
4234
+ **offset:** `typing.Optional[NumberFromString]`
4235
+
4236
+ </dd>
4237
+ </dl>
4238
+
4239
+ <dl>
4240
+ <dd>
4241
+
4242
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4243
+
4244
+ </dd>
4245
+ </dl>
4246
+ </dd>
4247
+ </dl>
4248
+
4249
+
4250
+ </dd>
4251
+ </dl>
4252
+ </details>
4253
+
4254
+ <details><summary><code>client.annotations.<a href="src/mirascope/annotations/client.py">create</a>(...)</code></summary>
4255
+ <dl>
4256
+ <dd>
4257
+
4258
+ #### 🔌 Usage
4259
+
4260
+ <dl>
4261
+ <dd>
4262
+
4263
+ <dl>
4264
+ <dd>
4265
+
4266
+ ```python
4267
+ from mirascope.api._generated import Mirascope
4268
+
4269
+ client = Mirascope()
4270
+ client.annotations.create(
4271
+ otel_span_id="otelSpanId",
4272
+ otel_trace_id="otelTraceId",
4273
+ )
4274
+
4275
+ ```
4276
+ </dd>
4277
+ </dl>
4278
+ </dd>
4279
+ </dl>
4280
+
4281
+ #### ⚙️ Parameters
4282
+
4283
+ <dl>
4284
+ <dd>
4285
+
4286
+ <dl>
4287
+ <dd>
4288
+
4289
+ **otel_span_id:** `str`
4290
+
4291
+ </dd>
4292
+ </dl>
4293
+
4294
+ <dl>
4295
+ <dd>
4296
+
4297
+ **otel_trace_id:** `str`
4298
+
4299
+ </dd>
4300
+ </dl>
4301
+
4302
+ <dl>
4303
+ <dd>
4304
+
4305
+ **label:** `typing.Optional[AnnotationsCreateRequestLabel]`
4306
+
4307
+ </dd>
4308
+ </dl>
4309
+
4310
+ <dl>
4311
+ <dd>
4312
+
4313
+ **reasoning:** `typing.Optional[str]`
4314
+
4315
+ </dd>
4316
+ </dl>
4317
+
4318
+ <dl>
4319
+ <dd>
4320
+
4321
+ **metadata:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]`
4322
+
4323
+ </dd>
4324
+ </dl>
4325
+
4326
+ <dl>
4327
+ <dd>
4328
+
4329
+ **tags:** `typing.Optional[typing.Sequence[str]]`
4330
+
4331
+ </dd>
4332
+ </dl>
4333
+
4334
+ <dl>
4335
+ <dd>
4336
+
4337
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4338
+
4339
+ </dd>
4340
+ </dl>
4341
+ </dd>
4342
+ </dl>
4343
+
4344
+
4345
+ </dd>
4346
+ </dl>
4347
+ </details>
4348
+
4349
+ <details><summary><code>client.annotations.<a href="src/mirascope/annotations/client.py">get</a>(...)</code></summary>
4350
+ <dl>
4351
+ <dd>
4352
+
4353
+ #### 🔌 Usage
4354
+
4355
+ <dl>
4356
+ <dd>
4357
+
4358
+ <dl>
4359
+ <dd>
4360
+
4361
+ ```python
4362
+ from mirascope.api._generated import Mirascope
4363
+
4364
+ client = Mirascope()
4365
+ client.annotations.get(
4366
+ id="id",
4367
+ )
4368
+
4369
+ ```
4370
+ </dd>
4371
+ </dl>
4372
+ </dd>
4373
+ </dl>
4374
+
4375
+ #### ⚙️ Parameters
4376
+
4377
+ <dl>
4378
+ <dd>
4379
+
4380
+ <dl>
4381
+ <dd>
4382
+
4383
+ **id:** `str`
4384
+
4385
+ </dd>
4386
+ </dl>
4387
+
4388
+ <dl>
4389
+ <dd>
4390
+
4391
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4392
+
4393
+ </dd>
4394
+ </dl>
4395
+ </dd>
4396
+ </dl>
4397
+
4398
+
4399
+ </dd>
4400
+ </dl>
4401
+ </details>
4402
+
4403
+ <details><summary><code>client.annotations.<a href="src/mirascope/annotations/client.py">update</a>(...)</code></summary>
4404
+ <dl>
4405
+ <dd>
4406
+
4407
+ #### 🔌 Usage
4408
+
4409
+ <dl>
4410
+ <dd>
4411
+
4412
+ <dl>
4413
+ <dd>
4414
+
4415
+ ```python
4416
+ from mirascope.api._generated import Mirascope
4417
+
4418
+ client = Mirascope()
4419
+ client.annotations.update(
4420
+ id="id",
4421
+ )
4422
+
4423
+ ```
4424
+ </dd>
4425
+ </dl>
4426
+ </dd>
4427
+ </dl>
4428
+
4429
+ #### ⚙️ Parameters
4430
+
4431
+ <dl>
4432
+ <dd>
4433
+
4434
+ <dl>
4435
+ <dd>
4436
+
4437
+ **id:** `str`
4438
+
4439
+ </dd>
4440
+ </dl>
4441
+
4442
+ <dl>
4443
+ <dd>
4444
+
4445
+ **label:** `typing.Optional[AnnotationsUpdateRequestLabel]`
4446
+
4447
+ </dd>
4448
+ </dl>
4449
+
4450
+ <dl>
4451
+ <dd>
4452
+
4453
+ **reasoning:** `typing.Optional[str]`
4454
+
4455
+ </dd>
4456
+ </dl>
4457
+
4458
+ <dl>
4459
+ <dd>
4460
+
4461
+ **metadata:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]`
4462
+
4463
+ </dd>
4464
+ </dl>
4465
+
4466
+ <dl>
4467
+ <dd>
4468
+
4469
+ **tags:** `typing.Optional[typing.Sequence[str]]`
4470
+
4471
+ </dd>
4472
+ </dl>
4473
+
4474
+ <dl>
4475
+ <dd>
4476
+
4477
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4478
+
4479
+ </dd>
4480
+ </dl>
4481
+ </dd>
4482
+ </dl>
4483
+
4484
+
4485
+ </dd>
4486
+ </dl>
4487
+ </details>
4488
+
4489
+ <details><summary><code>client.annotations.<a href="src/mirascope/annotations/client.py">delete</a>(...)</code></summary>
4490
+ <dl>
4491
+ <dd>
4492
+
4493
+ #### 🔌 Usage
4494
+
4495
+ <dl>
4496
+ <dd>
4497
+
4498
+ <dl>
4499
+ <dd>
4500
+
4501
+ ```python
4502
+ from mirascope.api._generated import Mirascope
4503
+
4504
+ client = Mirascope()
4505
+ client.annotations.delete(
4506
+ id="id",
4507
+ )
4508
+
4509
+ ```
4510
+ </dd>
4511
+ </dl>
4512
+ </dd>
4513
+ </dl>
4514
+
4515
+ #### ⚙️ Parameters
4516
+
4517
+ <dl>
4518
+ <dd>
4519
+
4520
+ <dl>
4521
+ <dd>
4522
+
4523
+ **id:** `str`
4524
+
4525
+ </dd>
4526
+ </dl>
4527
+
4528
+ <dl>
4529
+ <dd>
4530
+
4531
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4532
+
4533
+ </dd>
4534
+ </dl>
4535
+ </dd>
4536
+ </dl>
4537
+
4538
+
4539
+ </dd>
4540
+ </dl>
4541
+ </details>
4542
+
4543
+ ## tags
4544
+ <details><summary><code>client.tags.<a href="src/mirascope/tags/client.py">list</a>(...)</code></summary>
4545
+ <dl>
4546
+ <dd>
4547
+
4548
+ #### 🔌 Usage
4549
+
4550
+ <dl>
4551
+ <dd>
4552
+
4553
+ <dl>
4554
+ <dd>
4555
+
4556
+ ```python
4557
+ from mirascope.api._generated import Mirascope
4558
+
4559
+ client = Mirascope()
4560
+ client.tags.list(
4561
+ organization_id="organizationId",
4562
+ project_id="projectId",
4563
+ )
4564
+
4565
+ ```
4566
+ </dd>
4567
+ </dl>
4568
+ </dd>
4569
+ </dl>
4570
+
4571
+ #### ⚙️ Parameters
4572
+
4573
+ <dl>
4574
+ <dd>
4575
+
4576
+ <dl>
4577
+ <dd>
4578
+
4579
+ **organization_id:** `str`
4580
+
4581
+ </dd>
4582
+ </dl>
4583
+
4584
+ <dl>
4585
+ <dd>
4586
+
4587
+ **project_id:** `str`
4588
+
4589
+ </dd>
4590
+ </dl>
4591
+
4592
+ <dl>
4593
+ <dd>
4594
+
4595
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4596
+
4597
+ </dd>
4598
+ </dl>
4599
+ </dd>
4600
+ </dl>
4601
+
4602
+
4603
+ </dd>
4604
+ </dl>
4605
+ </details>
4606
+
4607
+ <details><summary><code>client.tags.<a href="src/mirascope/tags/client.py">create</a>(...)</code></summary>
4608
+ <dl>
4609
+ <dd>
4610
+
4611
+ #### 🔌 Usage
4612
+
4613
+ <dl>
4614
+ <dd>
4615
+
4616
+ <dl>
4617
+ <dd>
4618
+
4619
+ ```python
4620
+ from mirascope.api._generated import Mirascope
4621
+
4622
+ client = Mirascope()
4623
+ client.tags.create(
4624
+ organization_id="organizationId",
4625
+ project_id="projectId",
4626
+ name="name",
4627
+ )
4628
+
4629
+ ```
4630
+ </dd>
4631
+ </dl>
4632
+ </dd>
4633
+ </dl>
4634
+
4635
+ #### ⚙️ Parameters
4636
+
4637
+ <dl>
4638
+ <dd>
4639
+
4640
+ <dl>
4641
+ <dd>
4642
+
4643
+ **organization_id:** `str`
4644
+
4645
+ </dd>
4646
+ </dl>
4647
+
4648
+ <dl>
4649
+ <dd>
4650
+
4651
+ **project_id:** `str`
4652
+
4653
+ </dd>
4654
+ </dl>
4655
+
4656
+ <dl>
4657
+ <dd>
4658
+
4659
+ **name:** `str` — a string at most 100 character(s) long
4660
+
4661
+ </dd>
4662
+ </dl>
4663
+
4664
+ <dl>
4665
+ <dd>
4666
+
4667
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4668
+
4669
+ </dd>
4670
+ </dl>
4671
+ </dd>
4672
+ </dl>
4673
+
4674
+
4675
+ </dd>
4676
+ </dl>
4677
+ </details>
4678
+
4679
+ <details><summary><code>client.tags.<a href="src/mirascope/tags/client.py">get</a>(...)</code></summary>
4680
+ <dl>
4681
+ <dd>
4682
+
4683
+ #### 🔌 Usage
4684
+
4685
+ <dl>
4686
+ <dd>
4687
+
4688
+ <dl>
4689
+ <dd>
4690
+
4691
+ ```python
4692
+ from mirascope.api._generated import Mirascope
4693
+
4694
+ client = Mirascope()
4695
+ client.tags.get(
4696
+ organization_id="organizationId",
4697
+ project_id="projectId",
4698
+ tag_id="tagId",
4699
+ )
4700
+
4701
+ ```
4702
+ </dd>
4703
+ </dl>
4704
+ </dd>
4705
+ </dl>
4706
+
4707
+ #### ⚙️ Parameters
4708
+
4709
+ <dl>
4710
+ <dd>
4711
+
4712
+ <dl>
4713
+ <dd>
4714
+
4715
+ **organization_id:** `str`
4716
+
4717
+ </dd>
4718
+ </dl>
4719
+
4720
+ <dl>
4721
+ <dd>
4722
+
4723
+ **project_id:** `str`
4724
+
4725
+ </dd>
4726
+ </dl>
4727
+
4728
+ <dl>
4729
+ <dd>
4730
+
4731
+ **tag_id:** `str`
4732
+
4733
+ </dd>
4734
+ </dl>
4735
+
4736
+ <dl>
4737
+ <dd>
4738
+
4739
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4740
+
4741
+ </dd>
4742
+ </dl>
4743
+ </dd>
4744
+ </dl>
4745
+
4746
+
4747
+ </dd>
4748
+ </dl>
4749
+ </details>
4750
+
4751
+ <details><summary><code>client.tags.<a href="src/mirascope/tags/client.py">update</a>(...)</code></summary>
4752
+ <dl>
4753
+ <dd>
4754
+
4755
+ #### 🔌 Usage
4756
+
4757
+ <dl>
4758
+ <dd>
4759
+
4760
+ <dl>
4761
+ <dd>
4762
+
4763
+ ```python
4764
+ from mirascope.api._generated import Mirascope
4765
+
4766
+ client = Mirascope()
4767
+ client.tags.update(
4768
+ organization_id="organizationId",
4769
+ project_id="projectId",
4770
+ tag_id="tagId",
4771
+ )
4772
+
4773
+ ```
4774
+ </dd>
4775
+ </dl>
4776
+ </dd>
4777
+ </dl>
4778
+
4779
+ #### ⚙️ Parameters
4780
+
4781
+ <dl>
4782
+ <dd>
4783
+
4784
+ <dl>
4785
+ <dd>
4786
+
4787
+ **organization_id:** `str`
4788
+
4789
+ </dd>
4790
+ </dl>
4791
+
4792
+ <dl>
4793
+ <dd>
4794
+
4795
+ **project_id:** `str`
4796
+
4797
+ </dd>
4798
+ </dl>
4799
+
4800
+ <dl>
4801
+ <dd>
4802
+
4803
+ **tag_id:** `str`
4804
+
4805
+ </dd>
4806
+ </dl>
4807
+
4808
+ <dl>
4809
+ <dd>
4810
+
4811
+ **name:** `typing.Optional[str]` — a string at most 100 character(s) long
4812
+
4813
+ </dd>
4814
+ </dl>
4815
+
4816
+ <dl>
4817
+ <dd>
4818
+
4819
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4820
+
4821
+ </dd>
4822
+ </dl>
4823
+ </dd>
4824
+ </dl>
4825
+
4826
+
4827
+ </dd>
4828
+ </dl>
4829
+ </details>
4830
+
4831
+ <details><summary><code>client.tags.<a href="src/mirascope/tags/client.py">delete</a>(...)</code></summary>
4832
+ <dl>
4833
+ <dd>
4834
+
4835
+ #### 🔌 Usage
4836
+
4837
+ <dl>
4838
+ <dd>
4839
+
4840
+ <dl>
4841
+ <dd>
4842
+
4843
+ ```python
4844
+ from mirascope.api._generated import Mirascope
4845
+
4846
+ client = Mirascope()
4847
+ client.tags.delete(
4848
+ organization_id="organizationId",
4849
+ project_id="projectId",
4850
+ tag_id="tagId",
4851
+ )
4852
+
4853
+ ```
4854
+ </dd>
4855
+ </dl>
4856
+ </dd>
4857
+ </dl>
4858
+
4859
+ #### ⚙️ Parameters
4860
+
4861
+ <dl>
4862
+ <dd>
4863
+
4864
+ <dl>
4865
+ <dd>
4866
+
4867
+ **organization_id:** `str`
4868
+
4869
+ </dd>
4870
+ </dl>
4871
+
4872
+ <dl>
4873
+ <dd>
4874
+
4875
+ **project_id:** `str`
4876
+
4877
+ </dd>
4878
+ </dl>
4879
+
4880
+ <dl>
4881
+ <dd>
4882
+
4883
+ **tag_id:** `str`
4884
+
4885
+ </dd>
4886
+ </dl>
4887
+
4888
+ <dl>
4889
+ <dd>
4890
+
4891
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4892
+
4893
+ </dd>
4894
+ </dl>
4895
+ </dd>
4896
+ </dl>
4897
+
4898
+
4899
+ </dd>
4900
+ </dl>
4901
+ </details>
4902
+
4903
+ ## token-cost
4904
+ <details><summary><code>client.token_cost.<a href="src/mirascope/token_cost/client.py">calculate</a>(...)</code></summary>
4905
+ <dl>
4906
+ <dd>
4907
+
4908
+ #### 🔌 Usage
4909
+
4910
+ <dl>
4911
+ <dd>
4912
+
4913
+ <dl>
4914
+ <dd>
4915
+
4916
+ ```python
4917
+ from mirascope.api._generated import Mirascope
4918
+ from mirascope.api._generated.token_cost import TokenCostCalculateRequestUsage
4919
+
4920
+ client = Mirascope()
4921
+ client.token_cost.calculate(
4922
+ provider="provider",
4923
+ model="model",
4924
+ usage=TokenCostCalculateRequestUsage(
4925
+ input_tokens=1.1,
4926
+ output_tokens=1.1,
4927
+ ),
4928
+ )
4929
+
4930
+ ```
4931
+ </dd>
4932
+ </dl>
4933
+ </dd>
4934
+ </dl>
4935
+
4936
+ #### ⚙️ Parameters
4937
+
4938
+ <dl>
4939
+ <dd>
4940
+
4941
+ <dl>
4942
+ <dd>
4943
+
4944
+ **provider:** `str` — a non empty string
4945
+
4946
+ </dd>
4947
+ </dl>
4948
+
4949
+ <dl>
4950
+ <dd>
4951
+
4952
+ **model:** `str` — a non empty string
4953
+
4954
+ </dd>
4955
+ </dl>
4956
+
4957
+ <dl>
4958
+ <dd>
4959
+
4960
+ **usage:** `TokenCostCalculateRequestUsage`
4961
+
4962
+ </dd>
4963
+ </dl>
4964
+
4965
+ <dl>
4966
+ <dd>
4967
+
4968
+ **via_router:** `typing.Optional[bool]`
4969
+
4970
+ </dd>
4971
+ </dl>
4972
+
4973
+ <dl>
4974
+ <dd>
4975
+
4976
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
4977
+
4978
+ </dd>
4979
+ </dl>
4980
+ </dd>
4981
+ </dl>
4982
+
4983
+
4984
+ </dd>
4985
+ </dl>
4986
+ </details>
4987
+