From 5c87723ad3f257df31e5fb2a302cbd660fe179a1 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 11 Aug 2026 07:09:44 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.763.6 --- .speakeasy/gen.lock | 356 ++++++++++-------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 12 +- RELEASES.md | 12 +- docs/models/activitytaskcompletedresponse.md | 25 +- docs/models/activitytaskfailedresponse.md | 25 +- docs/models/activitytaskretryingresponse.md | 25 +- docs/models/activitytaskstartedresponse.md | 25 +- docs/models/agentscompletionrequest.md | 1 + docs/models/agentscompletionstreamrequest.md | 1 + docs/models/authdirection.md | 14 + ...thenticationmethodcreateorupdaterequest.md | 12 + docs/models/chatcompletionrequest.md | 1 + docs/models/chatcompletionstreamrequest.md | 1 + docs/models/createconnectorrequest.md | 1 + docs/models/customtaskcanceledresponse.md | 25 +- docs/models/customtaskcompletedresponse.md | 25 +- docs/models/customtaskfailedresponse.md | 25 +- docs/models/customtaskinprogressresponse.md | 25 +- docs/models/customtaskstartedresponse.md | 25 +- docs/models/customtasktimedoutresponse.md | 25 +- docs/models/deploymentworkerspecresponse.md | 19 +- docs/models/extendedoauthservermetadata.md | 3 +- docs/models/gitcommitauthor.md | 10 + docs/models/gitcommitmetadata.md | 11 + docs/models/inboundauthenticationtype.md | 13 + docs/models/methodtype.md | 19 + docs/models/oauth2metadatasecrets.md | 17 + docs/models/observabilityerrorcode.md | 1 + docs/models/requestedservicetier.md | 14 + docs/models/updateconnectorrequest.md | 21 +- docs/models/usageinfo.md | 15 +- .../workflowexecutioncanceledattributes.md | 9 +- .../workflowexecutioncanceledresponse.md | 25 +- ...lowexecutioncompletedattributesresponse.md | 3 +- .../workflowexecutioncompletedresponse.md | 25 +- ...workflowexecutioncontinuedasnewresponse.md | 25 +- .../workflowexecutionfailedattributes.md | 9 +- .../models/workflowexecutionfailedresponse.md | 25 +- ...kflowexecutionstartedattributesresponse.md | 3 +- .../workflowexecutionstartedresponse.md | 25 +- docs/models/workflowtaskfailedresponse.md | 25 +- docs/models/workflowtasktimedoutresponse.md | 25 +- docs/sdks/agents/README.md | 2 + docs/sdks/chat/README.md | 2 + docs/sdks/connectors/README.md | 23 +- src/mistralai/client/_version.py | 4 +- src/mistralai/client/agents.py | 12 + src/mistralai/client/chat.py | 12 + src/mistralai/client/connectors.py | 38 +- src/mistralai/client/models/__init__.py | 41 ++ .../models/activitytaskcompletedresponse.py | 24 +- .../models/activitytaskfailedresponse.py | 24 +- .../models/activitytaskretryingresponse.py | 24 +- .../models/activitytaskstartedresponse.py | 24 +- .../client/models/agentscompletionrequest.py | 8 + .../models/agentscompletionstreamrequest.py | 8 + src/mistralai/client/models/authdirection.py | 11 + ...thenticationmethodcreateorupdaterequest.py | 100 +++++ .../client/models/chatcompletionrequest.py | 8 + .../models/chatcompletionstreamrequest.py | 8 + .../client/models/createconnectorrequest.py | 22 +- .../models/customtaskcanceledresponse.py | 24 +- .../models/customtaskcompletedresponse.py | 24 +- .../client/models/customtaskfailedresponse.py | 24 +- .../models/customtaskinprogressresponse.py | 24 +- .../models/customtaskstartedresponse.py | 24 +- .../models/customtasktimedoutresponse.py | 24 +- .../models/deploymentworkerspecresponse.py | 24 +- .../models/extendedoauthservermetadata.py | 5 + .../client/models/gitcommitauthor.py | 52 +++ .../client/models/gitcommitmetadata.py | 56 +++ .../models/inboundauthenticationtype.py | 8 + .../client/models/oauth2metadatasecrets.py | 83 ++++ .../client/models/observabilityerrorcode.py | 1 + .../client/models/requestedservicetier.py | 11 + .../client/models/updateconnectorrequest.py | 30 +- src/mistralai/client/models/usageinfo.py | 8 +- .../workflowexecutioncanceledattributes.py | 8 +- .../workflowexecutioncanceledresponse.py | 24 +- ...lowexecutioncompletedattributesresponse.py | 27 +- .../workflowexecutioncompletedresponse.py | 24 +- ...workflowexecutioncontinuedasnewresponse.py | 24 +- .../workflowexecutionfailedattributes.py | 27 +- .../models/workflowexecutionfailedresponse.py | 24 +- ...kflowexecutionstartedattributesresponse.py | 8 +- .../workflowexecutionstartedresponse.py | 24 +- .../models/workflowtaskfailedresponse.py | 24 +- .../models/workflowtasktimedoutresponse.py | 24 +- 89 files changed, 1605 insertions(+), 455 deletions(-) create mode 100644 docs/models/authdirection.md create mode 100644 docs/models/authenticationmethodcreateorupdaterequest.md create mode 100644 docs/models/gitcommitauthor.md create mode 100644 docs/models/gitcommitmetadata.md create mode 100644 docs/models/inboundauthenticationtype.md create mode 100644 docs/models/methodtype.md create mode 100644 docs/models/oauth2metadatasecrets.md create mode 100644 docs/models/requestedservicetier.md create mode 100644 src/mistralai/client/models/authdirection.py create mode 100644 src/mistralai/client/models/authenticationmethodcreateorupdaterequest.py create mode 100644 src/mistralai/client/models/gitcommitauthor.py create mode 100644 src/mistralai/client/models/gitcommitmetadata.py create mode 100644 src/mistralai/client/models/inboundauthenticationtype.py create mode 100644 src/mistralai/client/models/oauth2metadatasecrets.py create mode 100644 src/mistralai/client/models/requestedservicetier.py diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index e3b8a6607..f20f7a0e1 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 2d045ec7-2ebb-4f4d-ad25-40953b132161 management: - docChecksum: 46b232e8ede7735f4d349983b2035154 + docChecksum: 16908c882034b7a030c353316cab5a14 docVersion: 1.0.0 speakeasyVersion: 1.763.6 generationVersion: 2.884.13 - releaseVersion: 2.9.1 - configChecksum: 2a10235cc17e6d4dd26029491aa75b96 + releaseVersion: 2.9.2 + configChecksum: 8402d417235190f47a95e1096497e1cc repoURL: https://github.com/mistralai/client-python.git installationURL: https://github.com/mistralai/client-python.git published: true persistentEdits: - generation_id: 9a9e2eeb-eaec-4ceb-89d4-785d54360ff4 - pristine_commit_hash: f3b9d9c543e5d7b399f1ae65bceae210a7f9a6fb - pristine_tree_hash: 7c237abb87203a2c9fd6d941c01b86176b8e6f9b + generation_id: a998fd63-4a22-4bcb-85a7-ef83676b4529 + pristine_commit_hash: eb58db4d51328f793773a14230234dbb2943be4a + pristine_tree_hash: 630c3d7082c107a6a3a819f0ab684cf7a0559516 features: python: acceptHeaders: 3.0.0 @@ -82,32 +82,32 @@ trackedFiles: pristine_git_object: 43c92fe262f8e8657d337420526959424889d5dd docs/models/activitytaskcompletedresponse.md: id: 6aade3f8c26c - last_write_checksum: sha1:944b923aa932452372abebfe6d61ab739555109f - pristine_git_object: 56a646311c1f9f7bb9dcd8187c9e4f937f19e6cb + last_write_checksum: sha1:14f4d21bfdfe44f1645a71c188d239f21fa7bfa6 + pristine_git_object: f228c8651bef8c6221d36a68c374dda793c756ea docs/models/activitytaskfailedattributes.md: id: a69d5f4b0b99 last_write_checksum: sha1:e5371dae85ec79f485b5e3afc1ac8c29a2424163 pristine_git_object: 5cb9cafe9ce235ff996c3f1529babedfc6ebe239 docs/models/activitytaskfailedresponse.md: id: 325e821a4d2f - last_write_checksum: sha1:165eb54c023c8d29fa1093542cf62b69cbc4657b - pristine_git_object: 0853f68d3413dead9b67b3183b287a08f9339faa + last_write_checksum: sha1:66eb2ebfd8cf24679091374d5c2abf1dd6429615 + pristine_git_object: 3eea5f598059cc59497a8510aed3565271f972ba docs/models/activitytaskretryingattributes.md: id: 4d2e278266f7 last_write_checksum: sha1:a79f27b4272efab1378a0f2d7de12939dfb7a933 pristine_git_object: 9216607678cc149d446bf30ba92a6cf9b3d4d3d2 docs/models/activitytaskretryingresponse.md: id: ca0fb7b72379 - last_write_checksum: sha1:0ede54e73f1c5c77e585e8c9f3892c626bede7cf - pristine_git_object: 8b7bdd42e45eb8b3c5ad33a2de5ac2d15d8b3453 + last_write_checksum: sha1:d42e19865057a89031307d832b66d5eaa57c5f22 + pristine_git_object: 77ac704bab05aa9422134ef57094331af1eaa498 docs/models/activitytaskstartedattributesresponse.md: id: b0d2e886ad19 last_write_checksum: sha1:89068691379007eb892b4d81bfaeeb8f889771fd pristine_git_object: dd97ff85fb14f03afb8e3b390d7000cd3c308e64 docs/models/activitytaskstartedresponse.md: id: c25113506e99 - last_write_checksum: sha1:3cd53ec4c3c8bdc389c55cf527c960b3b8a91c30 - pristine_git_object: 1aee1533fc92116e79a13b338dd6e6e74fcab800 + last_write_checksum: sha1:610696d492c358f48d9149c6e4c3c52456c3b02d + pristine_git_object: cafdca16f8c57137f43b9032ba273c3e8151e599 docs/models/agent.md: id: ffdbb4c53c87 last_write_checksum: sha1:a4438b1b0db1d00df3aacfc432acc523a3ca57da @@ -234,8 +234,8 @@ trackedFiles: pristine_git_object: 7548286af5d1db51fbfd29c893eb8afdc3c97c4d docs/models/agentscompletionrequest.md: id: 906b82c214dc - last_write_checksum: sha1:972940e9ba4133d7956167a071733751e2120bbd - pristine_git_object: 3253fee1b9cb5608cdd7c261e1b65895d3d3f7f9 + last_write_checksum: sha1:b0ac3cce9a7c05b5072f84bb889e74b9320d660f + pristine_git_object: e011ee0a6e04124f628612e78a9ec38c733104ab docs/models/agentscompletionrequestmessage.md: id: 5337f0644b40 last_write_checksum: sha1:ecf7b7cdf0d24a5e97b520366cf816b8731734bb @@ -254,8 +254,8 @@ trackedFiles: pristine_git_object: 63b9dca9fbb8d829f93d8327a77fbc385a846c76 docs/models/agentscompletionstreamrequest.md: id: 21d09756447b - last_write_checksum: sha1:286562c88d085a713d100aaaaec82254fc44d96c - pristine_git_object: 29659238932a07f23da8a3a0d469927e4451af07 + last_write_checksum: sha1:87a7fca2728b6fc6eb0aac4eb7d0776fb5562c79 + pristine_git_object: a67d25e364f3d7a696bc9004d452fe4a287f2367 docs/models/agentscompletionstreamrequestmessage.md: id: b309ade92081 last_write_checksum: sha1:98744c9646969250242cbbfbdf428dbd7030e4bb @@ -380,10 +380,18 @@ trackedFiles: id: e510ac107a56 last_write_checksum: sha1:37a2135ea310afd440dd66c8ca49737e618550b1 pristine_git_object: 66b945d41ec04cf9667876acb78928aa40f09d2b + docs/models/authdirection.md: + id: ca10166120de + last_write_checksum: sha1:83c67886c8768b357c58470e17450c8b0e621e80 + pristine_git_object: c3f547fca9932b775739cb2229cb512f14c564a3 docs/models/authenticationconfiguration.md: id: b470496ac0ad last_write_checksum: sha1:941bad08fa250054a877582aca65dee970f51292 pristine_git_object: d52b558f299a57878ef1102dd99890cbf32c711c + docs/models/authenticationmethodcreateorupdaterequest.md: + id: b64367bcb5e8 + last_write_checksum: sha1:58dd78fcb9dd88892210780619d27c761de8564e + pristine_git_object: 727f7fa59de36d7320c2ad6b1d2371488120fb79 docs/models/authorization.md: id: dec4d9809e25 last_write_checksum: sha1:6bf766a7b49ca2b706bb4eb88ba2d56406e06e1e @@ -494,8 +502,8 @@ trackedFiles: pristine_git_object: 5bcec6a085b8fe921efb44ab5f040faf99cff7a3 docs/models/chatcompletionrequest.md: id: adffe90369d0 - last_write_checksum: sha1:09207e72df2645b7923b375778ddc7273e44af07 - pristine_git_object: ad1b3d3912f04750172ebb0c5776215b716b96f9 + last_write_checksum: sha1:616393d4f60c5af5acd59a1b0d75a5bb104bf5aa + pristine_git_object: f2635c41c7223cf91ef92aac6f889a057e89b6cd docs/models/chatcompletionrequestmessage.md: id: 3f5e170d418c last_write_checksum: sha1:7921c5a508a9f88adc01caab34e26182b8035607 @@ -518,8 +526,8 @@ trackedFiles: pristine_git_object: a0465ffbfc5558628953e03fbc53b80bbdc8649b docs/models/chatcompletionstreamrequest.md: id: cf8f29558a68 - last_write_checksum: sha1:c93c7401cedf4030f38002cef2c89515a6441d64 - pristine_git_object: 7288c818d03f0c672d99a2c61ea19cce4fd39654 + last_write_checksum: sha1:6d5a43f03b3a1df2f61517d7f0a43a10ecf03ee9 + pristine_git_object: 49acc50011a19b108fe63dbd000889424e3fff28 docs/models/chatcompletionstreamrequestmessage.md: id: 053a98476cd2 last_write_checksum: sha1:8270692463fab1243d9de4bbef7162daa64e52c5 @@ -926,8 +934,8 @@ trackedFiles: pristine_git_object: 2e81d26d19950ef6c1bc7186b8497e1f739e8f0b docs/models/createconnectorrequest.md: id: 7a0ef9d82658 - last_write_checksum: sha1:1d5ba5a79ac7fd28ba6e5f1edf6da32ef1c959c4 - pristine_git_object: 50f25f26b597118445af6c6f88d38965eb0a8d5e + last_write_checksum: sha1:327db73561ba59c09ecce8d9b9d06d1b30953eea + pristine_git_object: 9be7f2f5e9260f7470b96266534ff8131c744ce6 docs/models/createdatasetrecordrequest.md: id: e2c8a858a8e6 last_write_checksum: sha1:9b93d8087fca92dfa4bf1e681ecd2fbb61520e86 @@ -1014,48 +1022,48 @@ trackedFiles: pristine_git_object: 3a5facdd3be90098f0f22bcf05215472cf2d4ec9 docs/models/customtaskcanceledresponse.md: id: 79e4f2bbf720 - last_write_checksum: sha1:c65ddfa80c6bd5ce96fcd0de194f1dbb68423dea - pristine_git_object: 0bcee2279755656a624d626acea0a157fa3b381c + last_write_checksum: sha1:0e27dd0382f6c5bab049cea696897ea2c6be646d + pristine_git_object: 8cd824feb58436b2016abb07257f410cea051755 docs/models/customtaskcompletedattributesresponse.md: id: c12961b43e1c last_write_checksum: sha1:e549b58f4d1a544e3c453a9ec454930d342f5adf pristine_git_object: 4c7cbfa21dcdcf91ceac8f1ca5d84413eefc4bbb docs/models/customtaskcompletedresponse.md: id: 81d843216312 - last_write_checksum: sha1:0439d35a428e5d8d321da8b710ce72c188802085 - pristine_git_object: 6871184f3d850a628ed71cbef9c98ec3e742dbfe + last_write_checksum: sha1:0718b2a0c6dec743f4c7906f45af79ddf8ef3b55 + pristine_git_object: b31f4e22ac96b7b89c2dbbe424d4fa858df4b392 docs/models/customtaskfailedattributes.md: id: cd0cdf6bd8d8 last_write_checksum: sha1:71cf249d1b1bd2df1cf3ec4426da9b8c9bb82c37 pristine_git_object: f4e3ab2d57ec9d447c3570e6832f911c93c94f96 docs/models/customtaskfailedresponse.md: id: 16c047b0f70f - last_write_checksum: sha1:639353633a2fd6f383896673750338235a1c442e - pristine_git_object: e14e4afa4b1fe76d10a2f8505ce88e9a828d845e + last_write_checksum: sha1:e9d4a5cbb677c2c55181e2b8d27a87873d8efc6c + pristine_git_object: 09385f063d158a00419024eb8988cbfd78eca7ae docs/models/customtaskinprogressattributesresponse.md: id: 8482e22b58c4 last_write_checksum: sha1:0681737168dc45c08b085a4cf084903fedc127e3 pristine_git_object: d55b81379969289edd586c03cfc8eda46a615fb2 docs/models/customtaskinprogressresponse.md: id: a181c7602b7f - last_write_checksum: sha1:43caaf16e8ef772ab4a4b1f2cd926a59c87b627f - pristine_git_object: 72afa91fb2baadd7dd8cf32aad2b2812316a6953 + last_write_checksum: sha1:f89344b7024132bc9a1c2b5fd653ccbf3d8bbe5a + pristine_git_object: c3ee34185ab6f324cfe6d4b37effdd5dcd525788 docs/models/customtaskstartedattributesresponse.md: id: 272cf75ac5d3 last_write_checksum: sha1:bc09d8da2636e28821260a08235fcf69d577758a pristine_git_object: 41cd66a9e59dbfdb9c0574001a4a12f2ac499f93 docs/models/customtaskstartedresponse.md: id: 6ccd9fe137bc - last_write_checksum: sha1:031eac9a01bc24b36a9cf2eb4ea864c89ba709e5 - pristine_git_object: 80b1b08b02b219ef714e44d0853df4c992db84eb + last_write_checksum: sha1:2fb5b763d0b165bc866cea572ed605869f08affc + pristine_git_object: 48acab463772562aa8290c69616a2b70c1629346 docs/models/customtasktimedoutattributes.md: id: b941e1c031db last_write_checksum: sha1:db82046ed2aa47a5c206a9e5cea7f7ab066a3329 pristine_git_object: b302b07666ad0b807990d42d6ef67a3c9c213bc8 docs/models/customtasktimedoutresponse.md: id: b4f8e7f006e7 - last_write_checksum: sha1:9b167994685d056179122eeed0df39c6b52c9cf4 - pristine_git_object: 75d497434c80a29a3010c451fb6b94d32d213863 + last_write_checksum: sha1:ef9c65c1c3030a4b156e90136cd2dd9f8739241b + pristine_git_object: 02bb0581f404910eb42c5a628bfe014734623f10 docs/models/dataset.md: id: 31af4d237e19 last_write_checksum: sha1:073fa9a0b7891ccd9b6ae64ba960d74eeb5c9007 @@ -1194,8 +1202,8 @@ trackedFiles: pristine_git_object: 11e7008549e350b980259df38179b8ff603c3cef docs/models/deploymentworkerspecresponse.md: id: cad5b4a16cab - last_write_checksum: sha1:ae08adad3f2ef65723285cd729eca2b368582871 - pristine_git_object: 8c9114c6c9413be7ac7d4dd61def65dfdc8a845c + last_write_checksum: sha1:da00c44e9df09c32420dd3c04c2cce7ebbcce81b + pristine_git_object: 7a6bca9e695a39324361734f7b8849d6ee5d6be2 docs/models/direction.md: id: 5c2dbb7995cb last_write_checksum: sha1:2dfedff8ff7b59bf8b7a72c78400152970362e1d @@ -1326,8 +1334,8 @@ trackedFiles: pristine_git_object: d7de83a9d4fad318d2e30f7718bf9b529a367158 docs/models/extendedoauthservermetadata.md: id: f204f1d46efe - last_write_checksum: sha1:637d6587a1804503cb01654bb2ebf635700a2f38 - pristine_git_object: 17a430ea8c00bc7b817781aca4bd8b10a43140ce + last_write_checksum: sha1:36e6cefde0958cc831b0426541c0fd01c3045e7e + pristine_git_object: 601d9df6b27d9a63e9e1a2e786cab3afc3ee6370 docs/models/failure.md: id: 3f79c7d64eac last_write_checksum: sha1:344f1cea9b786a399a0dd974d4df010714031b2a @@ -1836,6 +1844,14 @@ trackedFiles: id: ddc86b6b1bf9 last_write_checksum: sha1:63f5d6e78e90572125d1b366ccc0c75a897210e7 pristine_git_object: 2f5c2b4dc84095a1b00bac6c728c86dd1f80c2b2 + docs/models/gitcommitauthor.md: + id: 1c24c9c0d83f + last_write_checksum: sha1:2fd3ac99aa4eae4c06dc756c1c824b5c376278e6 + pristine_git_object: d7120b8553938ba236d9804de7a841a6a29af760 + docs/models/gitcommitmetadata.md: + id: 285e970f4e99 + last_write_checksum: sha1:f8567f25ee0db35a31d8a9de7ad953917ceee53e + pristine_git_object: 1daf512a523516e03021d668c000733fa9e732c4 docs/models/granularity.md: id: 3cee51c03dea last_write_checksum: sha1:7ac3b029b14105672460c3fab1b8ae56637fb979 @@ -1892,6 +1908,10 @@ trackedFiles: id: 74bd521abc26 last_write_checksum: sha1:a4efe4ff8c52137af47d6ab750d1d2f7cba77e7c pristine_git_object: 72a586bc65f6219abed50105d9df9cb8b6ec8d02 + docs/models/inboundauthenticationtype.md: + id: 31c15e812eb0 + last_write_checksum: sha1:341c47f514e556a8fd8a602920fb6a29beffa305 + pristine_git_object: ea04329c04cbe001e4a29880fc2fd463ba5cbe03 docs/models/ingestionpipelineconfiguration.md: id: 95a1d6bf413b last_write_checksum: sha1:ba9e052c6ab8b13b4108ff395ac0e20181326f0b @@ -2368,6 +2388,10 @@ trackedFiles: id: c348c2448aaa last_write_checksum: sha1:5f99a25a3f689030756a63e925113030121c5d7e pristine_git_object: 427e09b524964c521a6b63962e5f71ae0ca1b485 + docs/models/methodtype.md: + id: 7c7e0f30b36b + last_write_checksum: sha1:1d3d6335473dc65c4964ebfd578ee955403dde7d + pristine_git_object: 7628bbdd47c63d6109b175157f6ba8f9e907c5d0 docs/models/metricaggregation.md: id: 0f926158669d last_write_checksum: sha1:20df8cfe3aa53bce14350d5d0dfa00b8a5a0e930 @@ -2444,6 +2468,10 @@ trackedFiles: id: 44842604e405 last_write_checksum: sha1:50e09dfa5ed838df4a760358c6bf81c04da4910b pristine_git_object: 71e38615fada1e4f3b10e669eb3d8a6b768aa268 + docs/models/oauth2metadatasecrets.md: + id: fb2ca31e174f + last_write_checksum: sha1:e8edc859b7bcfe27eb58b6afc53b3da447128017 + pristine_git_object: a5ac81b806734333ac25cd112a2b831045d4fce3 docs/models/oauth2token.md: id: 409bc5ff306f last_write_checksum: sha1:cfa4eca0c2a099adf3d365d2bda4fe026d6dc36d @@ -2454,8 +2482,8 @@ trackedFiles: pristine_git_object: 89f80436474e3c2293bb4fcafce11e626e2cdf79 docs/models/observabilityerrorcode.md: id: 61d16ff95b87 - last_write_checksum: sha1:85c6434d77e360db5cee547725b62a81fe794422 - pristine_git_object: ba9749c60deff54d56c8c2d05cbd1735a7bb290b + last_write_checksum: sha1:1f31417a16dc83c9a1ddcd467f592e12d9cd9331 + pristine_git_object: 43d2020f6e585fdbb7e5557f6b8d186c82fdc42b docs/models/observabilityerrordetail.md: id: 38061447dfbb last_write_checksum: sha1:1da7bf6e72c2f972b0e22f0201a1cb9b76f53ccd @@ -2892,6 +2920,10 @@ trackedFiles: id: 55561a8bda82 last_write_checksum: sha1:79714f86526320aa853f975151b75fdb084c7ef6 pristine_git_object: 641868616e587dfecf853f1a110c2843b12747c3 + docs/models/requestedservicetier.md: + id: 9c9f9ecaef75 + last_write_checksum: sha1:8d68ae246b681aa10466663c7d41417b46543913 + pristine_git_object: a0516540d8a43a6180ba162254dcd4eade948849 docs/models/requestsource.md: id: 8857ab6025c4 last_write_checksum: sha1:5634447d01c483713dad3d6d39df182007e6181b @@ -3678,8 +3710,8 @@ trackedFiles: pristine_git_object: cf590a2fc7f58707855eb0bda2d4b8460bfea800 docs/models/updateconnectorrequest.md: id: 40e38d9c7c2a - last_write_checksum: sha1:6a8880c541a16375ad67b3bdb64bd020c6bbc799 - pristine_git_object: 3e715e5617b0888229a1f25b82f12c55c7cfb98c + last_write_checksum: sha1:96f9ce299021d2fafc5d96dd4a9ef1d18e538347 + pristine_git_object: 4bb9f2388280866e453e3f5ae6e3dbdcd6411283 docs/models/updatedatasetrecordpayloadrequest.md: id: ada11a6c544f last_write_checksum: sha1:57f0b53f5c30a9a0ed850109e57b6cb62e14c6a5 @@ -3810,8 +3842,8 @@ trackedFiles: pristine_git_object: 51877da9157009f81857f115a84101cc5142c2fa docs/models/usageinfo.md: id: ec6fe65028a9 - last_write_checksum: sha1:cf71fb9676d870eba7c4d10a69636e1db4054adc - pristine_git_object: f5204ac94a4d6191839031c66c5a9bc0124a1f35 + last_write_checksum: sha1:19977a2bb11140ff61aaf762e5ebf8a60c8a050f + pristine_git_object: fb460774fe5e9affe5d1c0e6795ed6255cf06587 docs/models/usageinfodollardefs.md: id: db2412f29163 last_write_checksum: sha1:22376657c6afb47bd1d3c6629bca91f7c956fc64 @@ -3926,36 +3958,36 @@ trackedFiles: pristine_git_object: ebfe2d86bb5c460219eb9fe9902002817c0f914a docs/models/workflowexecutioncanceledattributes.md: id: 2eb975976d1a - last_write_checksum: sha1:63f7d6bbbbca074ebc2988988477d95d2f147c11 - pristine_git_object: 8c2929eb3de33ac39ebf3b243af978957c6a43f5 + last_write_checksum: sha1:43b4b996a6ae39b6c76b129ab5360fa0793229a7 + pristine_git_object: fcd2f19de6c0b3149283436a39dca1bc8d02b913 docs/models/workflowexecutioncanceledresponse.md: id: c56b39b95831 - last_write_checksum: sha1:3fc990c9fd4b7b3b0368b80840d737cf355a8759 - pristine_git_object: f9f4c01d263fb222de033128cd43f86c56f2b8cd + last_write_checksum: sha1:f55f3ef0b0218fe72e0ac25148a85c50c5fb89ba + pristine_git_object: b31c1772b69934240fc962aae4237319b82c795d docs/models/workflowexecutioncompletedattributesresponse.md: id: ee786dd87f88 - last_write_checksum: sha1:0d6121ea184c00cb362a345113fcb1f84cff3b13 - pristine_git_object: 53596a91525e00e58cdf548c2b17deeecba8b567 + last_write_checksum: sha1:d9725e0eb29b0713e74dcf32b1881d0fcb841350 + pristine_git_object: 6693aad346acc4c3f9a5c5a94ca661c912ae558d docs/models/workflowexecutioncompletedresponse.md: id: c1888ba90ec6 - last_write_checksum: sha1:491656749133e6b0d7714d2a9cbc8de8aa9c92d7 - pristine_git_object: a4d40dc52ead7c8a525cfd838fc0aa336570fb3b + last_write_checksum: sha1:78ca611c4ce1813beb6d936df03e6ab2305e601e + pristine_git_object: 2cdb78974c2851e0d543c948fbc1c23f3a0dd5ad docs/models/workflowexecutioncontinuedasnewattributesresponse.md: id: 30eef6da0d67 last_write_checksum: sha1:5419f5ccfb9b13fbef8aef96a97a34a32ea136c6 pristine_git_object: 13e21499434f9bdef975a6d6902e2b85d8c7a04f docs/models/workflowexecutioncontinuedasnewresponse.md: id: 1ea81bc536b4 - last_write_checksum: sha1:e65c01b128029322249b28e4152cd60af2443b18 - pristine_git_object: e6a7212a856f0b89b18c16e7b9f6e93ddbb2e527 + last_write_checksum: sha1:50d67e5c05b61b446e9c3ad6b79d26fb2cba1a35 + pristine_git_object: 1dd8faa5c3c64a30bcaa5499ba6ed527ad32590c docs/models/workflowexecutionfailedattributes.md: id: b5ddf561c50e - last_write_checksum: sha1:097719213eeb253420f6bc7167f96c58d00bb5b4 - pristine_git_object: 9fa14fa42e0d11148df4ceb227e35d808b3b7909 + last_write_checksum: sha1:751ab6aef6dd3ecf045a4d71d272304666cf6ab2 + pristine_git_object: d862605f17c357f6b24d26da60235f992878b4ff docs/models/workflowexecutionfailedresponse.md: id: 1c88150815b1 - last_write_checksum: sha1:92a46ae195053013887496ae827cfd8853e864c5 - pristine_git_object: 222fbfd75c79bf9868b04affab9d2708f5942f64 + last_write_checksum: sha1:52963a93a633e75d48cc8b0a6a7fcff6e1ee8a31 + pristine_git_object: d34b50288e3a7d1b45320aabf097d1774ff7f799 docs/models/workflowexecutionlistresponse.md: id: a66878b279ba last_write_checksum: sha1:9fafefc730d10ae17baf0c77462f658f9f15fdcb @@ -3974,12 +4006,12 @@ trackedFiles: pristine_git_object: ffdb5ee8b1232c905176f7665ebb7c87d538057d docs/models/workflowexecutionstartedattributesresponse.md: id: 384d48b3e104 - last_write_checksum: sha1:54ce029d9db1b0f5dee6a42019995a58ef196268 - pristine_git_object: 63c20eb12a9d285cf448057f156820f98e282c43 + last_write_checksum: sha1:6526c350dae49e6da924cf43fbb852f35f6414d2 + pristine_git_object: e548b02234b04cf49b13ed312ad57dc7a3ca2a56 docs/models/workflowexecutionstartedresponse.md: id: 64174669ff20 - last_write_checksum: sha1:8eee734d26442d9c6e6693386c78eb204a932847 - pristine_git_object: 7c370d468250ef29319f365957f8eca504f40d19 + last_write_checksum: sha1:6de168c052a11d14928e8ff5c02830a85db3b34a + pristine_git_object: 16de8e5886e39e4a7786cd1970991eb289b83afd docs/models/workflowexecutionstatus.md: id: 1e988cdad165 last_write_checksum: sha1:9478f494d16651522d373f36d0537c0fca703038 @@ -4090,16 +4122,16 @@ trackedFiles: pristine_git_object: c6515f84fb66f59e6b35a4524dbd1f3edc73a7ad docs/models/workflowtaskfailedresponse.md: id: 9e6bdbc8ec6d - last_write_checksum: sha1:3c83e4760483063bed3f48ec1babddd0b53e9a22 - pristine_git_object: 731ed219c64f5024884887bbdbd67857b3658707 + last_write_checksum: sha1:dffbaa9c407644c36aecf772e92f997d573608aa + pristine_git_object: 31b2d47a800f268d094737afdd0f6587d20dcef6 docs/models/workflowtasktimedoutattributes.md: id: e9ab5a25e976 last_write_checksum: sha1:52fb7ed9cfce65338b381616afac1dfc1e676d16 pristine_git_object: 7f298ea251febc1a35510655d14a84c37172c899 docs/models/workflowtasktimedoutresponse.md: id: f53d1e6e4141 - last_write_checksum: sha1:8c3355239dce116da33ebc288363b20ddbf3a335 - pristine_git_object: ea3edade3558a0d95faa58c6d7c592928aae0fd9 + last_write_checksum: sha1:a9a72eb2eddbc433231c393fffdc6008422c9936 + pristine_git_object: ecaf631ab5edf757d624967020521d59734561d3 docs/models/workflowtype.md: id: fdb669e25dee last_write_checksum: sha1:1cb6c274e8bd8942a7064a46a183f402935b0526 @@ -4126,8 +4158,8 @@ trackedFiles: pristine_git_object: a3b9532316559ac9d244cae4b623884d60b1fe62 docs/sdks/agents/README.md: id: 5965d8232fd8 - last_write_checksum: sha1:2081b3728e940846431a2cc28b6090d87a786e87 - pristine_git_object: f02ea6cd7f7405763edb09dcece22e65028e8fbb + last_write_checksum: sha1:6096cc2c1831b7f446faab15caebe383576f6c80 + pristine_git_object: 449d90ad7b730a9819ac6a896cf11eab17076ddc docs/sdks/betaagents/README.md: id: 5df79b1612d8 last_write_checksum: sha1:8dd037a30ac3854f99ec63882a7efef70cd92eab @@ -4142,8 +4174,8 @@ trackedFiles: pristine_git_object: d5d7e4d4681811419874f58c294cb59688e595aa docs/sdks/chat/README.md: id: 393193527c2c - last_write_checksum: sha1:428f1bd7d271cd6b7edd6251295a5f240e648c5b - pristine_git_object: 54b9f02913409dd73b0a0f36f7eab4f7fbcf5791 + last_write_checksum: sha1:aef6275a4ceb45e1f53ff478e7f34fe22d23b2b3 + pristine_git_object: e9bbc68dd66930a45f909a37aa5b1848d169e847 docs/sdks/chatcompletionevents/README.md: id: 6965539e0525 last_write_checksum: sha1:ae7c0a0e7576a1114a85b9e607cb91c2ac1181a2 @@ -4154,8 +4186,8 @@ trackedFiles: pristine_git_object: dc0f4984380b5b137266421e87a1505af5260e89 docs/sdks/connectors/README.md: id: 7633a87d946d - last_write_checksum: sha1:5dda84b84bd329a82a2f48c61abb0afa144c3a4c - pristine_git_object: b0d55909b4ebdddb425fb61ea4c49f2af556765c + last_write_checksum: sha1:e9a2602ff5ba916c70a6c8aeffb77a13093e1185 + pristine_git_object: 1aca6ef31d813d660e9eb385ca4a3f98764b4533 docs/sdks/conversations/README.md: id: e22a9d2c5424 last_write_checksum: sha1:68ede193fd35a89ab226aa92a92edaecf1eebb1a @@ -4306,16 +4338,16 @@ trackedFiles: pristine_git_object: 036d44b8cfc51599873bd5c401a6aed30450536c src/mistralai/client/_version.py: id: cc807b30de19 - last_write_checksum: sha1:0e7d49cdc0a34471641d77df6075c48bef4122f6 - pristine_git_object: 8f0c8d6ece1305f718186e3f45305d56a928dea8 + last_write_checksum: sha1:95b70f4ebe56fab844e6b827d2819195da1d7d63 + pristine_git_object: 67f6c3f0adc5acb784357f9783687dff6a2ecc23 src/mistralai/client/accesses.py: id: 76fc53bfcf59 last_write_checksum: sha1:33d8a0663a647b7a7e1946064d05c3b40e538816 pristine_git_object: 57b94c9694dd07d4cf87ba0dd0688307ed76806a src/mistralai/client/agents.py: id: e946546e3eaa - last_write_checksum: sha1:754fadbd16187157978c2d0cb114e1d1c29c8331 - pristine_git_object: 12e7f483bf23721897065fa8b4fa9e2a6eafb16e + last_write_checksum: sha1:1077f72efc19c3d5c596813848b26dd478c5635a + pristine_git_object: 74b037bed30653c8d1ca20848aa063d79cdd0b5f src/mistralai/client/audio.py: id: 7a8ed2e90d61 last_write_checksum: sha1:b9dc19b4b6070baf7d8937907b8665e9f0e36afd @@ -4346,8 +4378,8 @@ trackedFiles: pristine_git_object: 48371f96a19934fca218576260a65892bd65560a src/mistralai/client/chat.py: id: 7eba0f088d47 - last_write_checksum: sha1:cfb01ec57f857208600ce9fc556f0f177321031f - pristine_git_object: c7ff5704f157024df5718aaae98601014c16a070 + last_write_checksum: sha1:cfa340a74313a5058605ce35b2ed4dd6f047d740 + pristine_git_object: 8394a903dcc49564c9afdab989d6f264d7de4574 src/mistralai/client/chat_completion_events.py: id: 1813f339625b last_write_checksum: sha1:f45741e965e737cbd12a93834a77484c1eb1a66a @@ -4358,8 +4390,8 @@ trackedFiles: pristine_git_object: a19206185ab23809971b395c522a34da4e399eea src/mistralai/client/connectors.py: id: 39da03126050 - last_write_checksum: sha1:3b777ac00b08bf1071c450e921657f8b408582af - pristine_git_object: e14f046993837e8a02048406dcecffbc3e056a42 + last_write_checksum: sha1:089028395699263b3a7940e0797c1b1e63bbba2c + pristine_git_object: 63e74079bd83987f825dc8f19a4cc4237af5d9a9 src/mistralai/client/conversations.py: id: 40692a878064 last_write_checksum: sha1:b56c051f97ec84539028d736409289579b8df48d @@ -4458,40 +4490,40 @@ trackedFiles: pristine_git_object: d0b6b4fc091393e6e8a75f158363baa8e2ea21d4 src/mistralai/client/models/__init__.py: id: e0e8dad92725 - last_write_checksum: sha1:aa3dbbec29e4aedf723a1e3ff24a68db9d674d9c - pristine_git_object: 6dc0220b75afaf493fdf9dc954d41dc77aaa9bd6 + last_write_checksum: sha1:9302958dc9e6bdbadadcba5b289dd653036b9d89 + pristine_git_object: 341e9723affb668d05c9f7244b2ee8e8ac7caa6a src/mistralai/client/models/activitytaskcompletedattributesresponse.py: id: 8174941767cc last_write_checksum: sha1:b5246e203765ba0532a6a65d391bdd237ab2c891 pristine_git_object: 8e355d48421982b9480d0ea50ce07de0aaba6e3b src/mistralai/client/models/activitytaskcompletedresponse.py: id: 28373f0a2c9e - last_write_checksum: sha1:93e29f246bdade11ed0bcd55e5781fe86d352f89 - pristine_git_object: b324066b94687faa020c9019721eedb2a1aa6998 + last_write_checksum: sha1:aec5788c08f7a7f0dd498bbf6be49ab0c61bd046 + pristine_git_object: c6ec719aaf164da8ce1f249b89bb36e852ee4247 src/mistralai/client/models/activitytaskfailedattributes.py: id: 12635cd17417 last_write_checksum: sha1:d9f8dbbc30720e66e0d3da8046dbdc3a6a350198 pristine_git_object: 37749d4a7fe8f6c3dfa007a2a6db3cf480761663 src/mistralai/client/models/activitytaskfailedresponse.py: id: b739e8fc9b44 - last_write_checksum: sha1:a4624cf0d6177e940004e180e1ed372d43cb3534 - pristine_git_object: 3410ea840d9c740ef8dd74cdee6abd9f2d6c9a6f + last_write_checksum: sha1:906972149387d83aab64502a755746dd7287d8e2 + pristine_git_object: 1bc09d0a5cc035652e1c251cccc96c7b8f84745a src/mistralai/client/models/activitytaskretryingattributes.py: id: 9aaa9eecac09 last_write_checksum: sha1:811a7631992abea7dbcabc4a33d43b135ca1c4ce pristine_git_object: b0ee11d8ae7005e3c1fb7cb403602841632ad1c6 src/mistralai/client/models/activitytaskretryingresponse.py: id: 3a4ff1e01fa1 - last_write_checksum: sha1:770c9b60721c8ba1f60f193ec1c4f8ac10a4e075 - pristine_git_object: cf054a27d05dc1683275094a40336cc6f4164eb5 + last_write_checksum: sha1:92421df3f4a36ff309ab204877a8d8b74892084c + pristine_git_object: bf553309410566fdb8646e8dca3dbc75cefc779e src/mistralai/client/models/activitytaskstartedattributesresponse.py: id: 3a365e2c2942 last_write_checksum: sha1:e932c7960e78f8b31008efef29df7cc8ce3c4ce4 pristine_git_object: 9a049150e26cf8fd89f5f85195cab961629c5402 src/mistralai/client/models/activitytaskstartedresponse.py: id: d01ef9cb3955 - last_write_checksum: sha1:1f1dda76127bdb08549b0dd94f68dafd1d6a71fc - pristine_git_object: 75186e027475280fefb1750beb1933bdac4d76cb + last_write_checksum: sha1:a1f5f4663cd7c280be4b9bb103831083e432ea3a + pristine_git_object: 1032615770d24e5c6d30d8b91f11d15e84fecc1d src/mistralai/client/models/agent.py: id: 1336849c84fb last_write_checksum: sha1:c650f57616b5455de2a6ff33c51f91b174586aee @@ -4602,12 +4634,12 @@ trackedFiles: pristine_git_object: 3186d5df9000d4a62c0fbc64a601e6b709803deb src/mistralai/client/models/agentscompletionrequest.py: id: 3960bc4c545f - last_write_checksum: sha1:39836b814e3fe00ad6fe79d54cc3db0fb9ca8820 - pristine_git_object: d6b430999648398aa4555bd851bbd91c29c5c06e + last_write_checksum: sha1:01f9ef314b90175c6ef138e735735ea956bfc9c6 + pristine_git_object: 6327daf4c745cf6a2d907f5e7e9aeddbdc34a060 src/mistralai/client/models/agentscompletionstreamrequest.py: id: 1b73f90befc2 - last_write_checksum: sha1:c9657a7501bc6ca9f9990c78814ecb43aebb5ef3 - pristine_git_object: bb53879d7b590e19de74e183cb9658d7de6ba271 + last_write_checksum: sha1:f742410c1503bb5056f195ffaabae316d3262eec + pristine_git_object: 8f8f163eb9f3e659b8be35e07965f784e44cca44 src/mistralai/client/models/aggregate_spans_v1_observability_spans_aggregate_postop.py: id: 402703d63097 last_write_checksum: sha1:7bacd9cf0a5aba6604fdda000e2454978c57a758 @@ -4688,10 +4720,18 @@ trackedFiles: id: b4d3fb07196e last_write_checksum: sha1:ad8b878b1a3eeba8ad1b8fa15783d4da7bca6fad pristine_git_object: 9e608b1fe66d3048368e92dc8b5ed2bb75ad59da + src/mistralai/client/models/authdirection.py: + id: ad8790fb5fab + last_write_checksum: sha1:51d523a9ef24216d4f06883022dd7cefc5e30613 + pristine_git_object: 9220e6dcbc799c7569e5ad36e08e0b73efb356fb src/mistralai/client/models/authenticationconfiguration.py: id: 97b5056c29fb last_write_checksum: sha1:99966e22f8afb4ebddf2609799d57bac6ee05965 pristine_git_object: bbb7a7a1378adae39e1ba7543d3363f8ebcab2ca + src/mistralai/client/models/authenticationmethodcreateorupdaterequest.py: + id: 240c643113bb + last_write_checksum: sha1:51361d72df48d4c719bdde24f36c067502405ce2 + pristine_git_object: de0c3f82d4654f759e74ae654867738e682c5592 src/mistralai/client/models/authstatus.py: id: 0f25b817bca6 last_write_checksum: sha1:2be578532e4a239c298d4d534f59023b40f2d86b @@ -4774,16 +4814,16 @@ trackedFiles: pristine_git_object: 40985f844c72814bc23d3ed1f6869fcf33fb19c2 src/mistralai/client/models/chatcompletionrequest.py: id: 9979805d8c38 - last_write_checksum: sha1:11747a6d0b92fb94e89b8d9bba4207f885222982 - pristine_git_object: dafd0073273505b12ced421d80f81d8bab6195c5 + last_write_checksum: sha1:17f4ba20e320f54a6c94b4c2c82aed42bf17c4da + pristine_git_object: 846e2fa14b78d460b2a12142f3fc71fafd672038 src/mistralai/client/models/chatcompletionresponse.py: id: 669d996b8e82 last_write_checksum: sha1:97f164fea881127ac82303e637b6a270e200ac5b pristine_git_object: 7092bbc18425091d111ec998b33edc009ff0931b src/mistralai/client/models/chatcompletionstreamrequest.py: id: 18cb2b2415d4 - last_write_checksum: sha1:36a3c5b9a91d0ff5401c6242fa2c1350e9a74d34 - pristine_git_object: 9597cafbc63a6858e8eb0467393160253fa37b90 + last_write_checksum: sha1:8214308788910355c784ba53e5f1c490ee7ebd4c + pristine_git_object: 7b2dc5c96145bd3b16db7f7cb7802705a49f0400 src/mistralai/client/models/chatmoderationrequest.py: id: 057aecb07275 last_write_checksum: sha1:7677494c0e36ccbc201384cb587abeb852a1a924 @@ -5074,8 +5114,8 @@ trackedFiles: pristine_git_object: b3957df9ef369ecc1746ee3efd1b463bc10b4be7 src/mistralai/client/models/createconnectorrequest.py: id: 3da192d6491a - last_write_checksum: sha1:53d0f0ed3768626dda7798788d2f2e44d797046a - pristine_git_object: 1a403ce31c15d1a63303c4f3e061deda0176565e + last_write_checksum: sha1:bc4f8a032d0b03b5747e329f45bf24e346fc3653 + pristine_git_object: fb79e2a00ca4fc6a8966441bd72547d18913fd9a src/mistralai/client/models/createdatasetrecordrequest.py: id: 9455e38a8c31 last_write_checksum: sha1:dbd1103182457884a9208109e8547728265e7ee6 @@ -5146,48 +5186,48 @@ trackedFiles: pristine_git_object: cea2137e5356e636b44a3b1107aa9e29a69fd504 src/mistralai/client/models/customtaskcanceledresponse.py: id: 0eeb9d6cf409 - last_write_checksum: sha1:99a1b1ce86f1636abd7f00e746d183cbe8e5c665 - pristine_git_object: 7873b3ca5fdb61c6c4d1205894727cd09e8d939d + last_write_checksum: sha1:6b67bb211dab0cf2674048249eed1b5e519a2c3f + pristine_git_object: 628f13e1d10f35a379851febbfa7352df804c47c src/mistralai/client/models/customtaskcompletedattributesresponse.py: id: 0b9fb891f354 last_write_checksum: sha1:f5053cec4e78eaa7b83df2c7e6d7f9f66cd35933 pristine_git_object: afd48d7660446f5daa52b7358934227bb3761e87 src/mistralai/client/models/customtaskcompletedresponse.py: id: 719b68571f4c - last_write_checksum: sha1:4d8b84868e4d94be8ca9190e29dc8dbf37c442fe - pristine_git_object: 5d2a8686342100c46426bc1212868129e54835bd + last_write_checksum: sha1:7befb34322296b0f35723bf79706c68da93779b3 + pristine_git_object: 96e5b5354d979d98120755f6599b8a3b1f6df7be src/mistralai/client/models/customtaskfailedattributes.py: id: ff33698df363 last_write_checksum: sha1:dbbd423357a0d653ba20e94737126e9919bf2ff9 pristine_git_object: b66d7d3c973307e23a73f45a1e654e375f55140c src/mistralai/client/models/customtaskfailedresponse.py: id: 1cde7920833f - last_write_checksum: sha1:faa16c185064c28a2c58a4ac9ece342fdf4e1d52 - pristine_git_object: 1f9835ec2cd05a55d2f545b23a223b0039609805 + last_write_checksum: sha1:3171dcccebb0366fe7388e6ee73eeb540c247bd0 + pristine_git_object: b331d61484d3dfd8782dabc114a4f620abe3d5ee src/mistralai/client/models/customtaskinprogressattributesresponse.py: id: 895147a1a6a8 last_write_checksum: sha1:67a5a511f40f83c678f591a2f6e9be632e5c622b pristine_git_object: 45ee5e4244bd011c0a271f4429abb72f41fe92b3 src/mistralai/client/models/customtaskinprogressresponse.py: id: 9d012ecb7626 - last_write_checksum: sha1:ed0824ea2641df6e5284030f0906ee4d14ce7bde - pristine_git_object: 33c126f716d9b63fef593498a2442bfa1637d5dc + last_write_checksum: sha1:6271b44e467e5d648f00b854ccb1714d65168c0a + pristine_git_object: eb8794dd5e3fe399be102b9d35bdfd80ff1f1a9d src/mistralai/client/models/customtaskstartedattributesresponse.py: id: 6b8946c77018 last_write_checksum: sha1:5902afbf5696150caae710ef55a4c5b5f8b2ed1a pristine_git_object: 4f53ae8a35f590ab4bd2fd5e5ab63e44ea449cc1 src/mistralai/client/models/customtaskstartedresponse.py: id: 02b330a5292e - last_write_checksum: sha1:676b985755499c4691c1ac615d04fb35481d9a0f - pristine_git_object: 59d11fa8319c601ad80482944e6e3aef55257a66 + last_write_checksum: sha1:d37c0fe01e8f13a2aac6969f11dd13a8edf0f325 + pristine_git_object: 74b8d7fcf535d14949506bf238ce8fe69b68a3c2 src/mistralai/client/models/customtasktimedoutattributes.py: id: 9cc865098add last_write_checksum: sha1:229037a374553cf8523d2c0e0f0aa017adb8790b pristine_git_object: 47517ab1924cfce787805e9a528b04b1d4766a19 src/mistralai/client/models/customtasktimedoutresponse.py: id: 2dbbc78b85d1 - last_write_checksum: sha1:da1f0487cccc52c38a8132124efe085d3eeb334f - pristine_git_object: 7f274a535271c9e62974eedde427e3df577d6e2e + last_write_checksum: sha1:711fe3d91ce5e33de5924d73754f4512d981e659 + pristine_git_object: 01cf2f25e32c4229ee619e8104847de5d29c9cda src/mistralai/client/models/dataset.py: id: cbf14670ee00 last_write_checksum: sha1:012f85ebfbdb286436621efc3b5b1adb150871f3 @@ -5318,8 +5358,8 @@ trackedFiles: pristine_git_object: cdf8d222c6a512c5d8c96e32134f9516e557391b src/mistralai/client/models/deploymentworkerspecresponse.py: id: e56d154527fd - last_write_checksum: sha1:7bf6ef988cf9c7161ec21eddc98729a64bd887d6 - pristine_git_object: 0d3b5335c0f468d76e9a31149ccd4b103075f490 + last_write_checksum: sha1:23edaa1e9eda2e4f235a9ed569d87511e503c95d + pristine_git_object: 83ddaa4bbc5bfb1b22401dca4d232ecd183afb82 src/mistralai/client/models/document.py: id: fbbf7428328c last_write_checksum: sha1:3cdd40229b126132d3eb60505cd1d635325a8372 @@ -5426,8 +5466,8 @@ trackedFiles: pristine_git_object: f1600cac74e1d50979277d3eb6830ea5e84b69ec src/mistralai/client/models/extendedoauthservermetadata.py: id: 967e2e08f18c - last_write_checksum: sha1:f0e07e94a601d564cf981c8ab6e947f6a7cc0e99 - pristine_git_object: e45827d5693e352a5a46c5c831ecbcb197e30992 + last_write_checksum: sha1:e2f79f2591669eb0f4d7542cd6a0b97dd1e7bd8d + pristine_git_object: 91033c6a6dd76744f917ff8eb093ca8d4f0b4ffa src/mistralai/client/models/failure.py: id: 596e38493eaa last_write_checksum: sha1:5077e5660c7192e2123fc26059f1786f9d75e273 @@ -5860,6 +5900,14 @@ trackedFiles: id: d94016253ab3 last_write_checksum: sha1:bd40e57299f57d33cc8c0dbf566e3ec631ebbe9d pristine_git_object: 86d87ddd14d38aa488ae205fa3f8224a064b9ced + src/mistralai/client/models/gitcommitauthor.py: + id: d400cc33a7a2 + last_write_checksum: sha1:8054c4d4d1c8f79500380fcf914ff166b62c0184 + pristine_git_object: da0a0b76079ab59b828e2ae34d2ecfa28b9c5bbc + src/mistralai/client/models/gitcommitmetadata.py: + id: 74d6a74eca43 + last_write_checksum: sha1:3529a243753f0136b314fb525c78dc48a57ea9a7 + pristine_git_object: da5a5ead73d00d737b7b81c3d50750ae76947577 src/mistralai/client/models/granularity.py: id: 5230c577800b last_write_checksum: sha1:1cad36e5e3a6cd71a3e761bf22ecdcc80f1179a8 @@ -5912,6 +5960,10 @@ trackedFiles: id: 8d809b14b144 last_write_checksum: sha1:3c858d0475e826d072c96a84d868e97593a399a3 pristine_git_object: f5bd720db16c37504e1993cc6e651712551d2612 + src/mistralai/client/models/inboundauthenticationtype.py: + id: 0c9f48e0518f + last_write_checksum: sha1:d7ac3ef0ee83cc499506f0ef30bd39b1c91d8977 + pristine_git_object: 9e78a4995c5acdb63606577c10696ace66271b9b src/mistralai/client/models/ingestionpipelineconfiguration.py: id: b4746c0f2c1c last_write_checksum: sha1:f256b78196bde2b5bf39f15ed65b1daba784680a @@ -6372,6 +6424,10 @@ trackedFiles: id: 6dc5321dbe77 last_write_checksum: sha1:5a99ca47003b7bcfee48753dd4683a94eeee1fe1 pristine_git_object: 70d9241431ae75d58435965be03089ab8419d32f + src/mistralai/client/models/oauth2metadatasecrets.py: + id: 20d0c8c24a9d + last_write_checksum: sha1:7af4b4e21406d00d988d11e703d5c2b1a63afb89 + pristine_git_object: d624d9e22e1d4d60b3fd7f521364bd68f05597a5 src/mistralai/client/models/oauth2token.py: id: 6153dd0f41bc last_write_checksum: sha1:01476e43abf5a755d7d8a3f42a7b662cbb37a949 @@ -6382,8 +6438,8 @@ trackedFiles: pristine_git_object: 76ebfd0de6c7457bcecb1aee026ea16ffa8a7cbd src/mistralai/client/models/observabilityerrorcode.py: id: ae572b470a30 - last_write_checksum: sha1:39091cd31cbf769fb401de3d67ac2f13994f3d0c - pristine_git_object: f2a63b130dd93f1fd067ac7b42f3601c696ef1d5 + last_write_checksum: sha1:d6aa26a0792aed34f4171516599194edd4a5b867 + pristine_git_object: 310f3444a88aa6e1d9275237e60442d95fb757fb src/mistralai/client/models/observabilityerrordetail.py: id: cb6e8a484a38 last_write_checksum: sha1:3a7991f57573edee24780bc4b3907c8426aa3fa6 @@ -6748,6 +6804,10 @@ trackedFiles: id: c1151df8930f last_write_checksum: sha1:0bd5788e8cf7eb0b78bacfc37266be5c55cdf8e5 pristine_git_object: f384bc59a0bd6c0a93df66594597e30e720457e3 + src/mistralai/client/models/requestedservicetier.py: + id: 662ec7931b9e + last_write_checksum: sha1:dbc9059830f7ec1ca538860451093aa53521abba + pristine_git_object: 50bb94a6c53dc24dfddce884ea09609c3c3f7771 src/mistralai/client/models/requestsource.py: id: 3f2774d9e609 last_write_checksum: sha1:1ce68530a46793968f1122d29df722f0a5c9d267 @@ -7394,8 +7454,8 @@ trackedFiles: pristine_git_object: 7bb9686b9b542c47ac25fb6780017b5739829b1e src/mistralai/client/models/updateconnectorrequest.py: id: a761cd154109 - last_write_checksum: sha1:97ef4e155923655d7eba815c51aaaba7c5effcc4 - pristine_git_object: 8af8c8b44cde04e3e3a44039b89708e943d99f54 + last_write_checksum: sha1:230af9e657059200749c9adeaf4359294abc31a0 + pristine_git_object: 1417e7f099bf42efe3757cdbf76bb55cf9c527a0 src/mistralai/client/models/updatedatasetrecordpayloadrequest.py: id: bd45f357a538 last_write_checksum: sha1:7f72103f1260ad87527f664f8de70ca2b3da3a6a @@ -7458,8 +7518,8 @@ trackedFiles: pristine_git_object: 699bef98d0eddd6d7b4e776c3aaa2896174bc223 src/mistralai/client/models/usageinfo.py: id: 54adb9a3af16 - last_write_checksum: sha1:108b7cd220312ff96d298981e7ada5bc05921cc9 - pristine_git_object: f23699d0223579e3477a1a010063f3a7a985b07c + last_write_checksum: sha1:e38396ca2f63eb783cce6d2ce9af7ab90fd87f8c + pristine_git_object: 5b09dafad3cde3da2fd96b8dbece0386641f8a44 src/mistralai/client/models/usageinfo_dollar_defs.py: id: d543506af998 last_write_checksum: sha1:dafbaf51ce3997baf25141bdef8b34a92b48ed31 @@ -7558,36 +7618,36 @@ trackedFiles: pristine_git_object: 8c386b01b02e61266dd43f53c003571d5f3adcc8 src/mistralai/client/models/workflowexecutioncanceledattributes.py: id: c0802a5de5e5 - last_write_checksum: sha1:954a39fa24c0f24e603d66532fb18f31f9b06eec - pristine_git_object: 6c06bfa93bd601b4c2b6f5358d24045dc6fc3d5b + last_write_checksum: sha1:84c630c5b90e4033aed700cd704222bc7da22175 + pristine_git_object: 69327cdc76953afa23a072280799794d1f28b550 src/mistralai/client/models/workflowexecutioncanceledresponse.py: id: bcc392d67222 - last_write_checksum: sha1:6fcd8350bcc05ff4eb87a3587bb8d2eefa11d227 - pristine_git_object: ee1c4e71acecff7f4a94078aae1560ca43c36e31 + last_write_checksum: sha1:9d1edf5918e2f5ce64d2005f0d9c42557469ef95 + pristine_git_object: 05b261a2513d65807cdfe1d6dd2aa80f3d26863e src/mistralai/client/models/workflowexecutioncompletedattributesresponse.py: id: f831331b0eb1 - last_write_checksum: sha1:dbb84007cd94e2d0ed45aec7da846e1375588396 - pristine_git_object: 1fe0c24872cdeac5a53ad8469d01deb6d2053183 + last_write_checksum: sha1:fe75a5bf7025aec3bdc5b3058646161a9e2269b6 + pristine_git_object: f35e3007ced8ba34d5d1ce6a169c4d7eb7b0705b src/mistralai/client/models/workflowexecutioncompletedresponse.py: id: a1bec20dfb0e - last_write_checksum: sha1:c6c891ed6fdae6204c47d425e0391e2163f20a2e - pristine_git_object: 17716668a30d68aad23a98d312e965171ca71306 + last_write_checksum: sha1:5f428eddfc8c8b7ed53ed146883795b8de84d73b + pristine_git_object: c58745b18ef00a25ac5a90e383a0b314d1025784 src/mistralai/client/models/workflowexecutioncontinuedasnewattributesresponse.py: id: 2dd61dcd7b48 last_write_checksum: sha1:05d7ec612f2674ee265f54c5233e1b79de8ebdae pristine_git_object: 2ddbf0af4a9b8584f7c1efb6c883a1f9b524295e src/mistralai/client/models/workflowexecutioncontinuedasnewresponse.py: id: be26cd87dcb3 - last_write_checksum: sha1:4947f8cbfa73eae9607e252e85236894a34123d5 - pristine_git_object: 0f60a5be6324f370319e05b4a573e5cd157c0450 + last_write_checksum: sha1:cc9129d7ba7a84b17db0f8852c6d4c3ab44ae3d0 + pristine_git_object: aadb8a3477ab8c0a0e670ba649bc8ab3de63bd9d src/mistralai/client/models/workflowexecutionfailedattributes.py: id: dbb7fb36a4fd - last_write_checksum: sha1:d2922a566ccc93b7979cb9411ef46882606b76c7 - pristine_git_object: 1e61f3444594307656141cc999cf19f4d66763fa + last_write_checksum: sha1:1953870e1392465773d2be2e9477c7c66f8e997c + pristine_git_object: 440b6c7a3b75555e5f267341ed00ab8743462457 src/mistralai/client/models/workflowexecutionfailedresponse.py: id: a0836009f9de - last_write_checksum: sha1:07ea35829fb0411f39c019b42d17807d0aec02c2 - pristine_git_object: 687d33a9199612bbb8b5db5f6d2be2421469aeb5 + last_write_checksum: sha1:a356fe5d9a8231dea090bb6692f88ca0d0ced994 + pristine_git_object: 736f7e7b7f9d21ce28122867c352e4fbf1524a8f src/mistralai/client/models/workflowexecutionlistresponse.py: id: c2b2e1ab4821 last_write_checksum: sha1:0993e22cc42af96754b46ce7e880b4beb28988dc @@ -7606,12 +7666,12 @@ trackedFiles: pristine_git_object: e387a57a095c0e8539e0cdcb43729ba427e58725 src/mistralai/client/models/workflowexecutionstartedattributesresponse.py: id: d2276919a895 - last_write_checksum: sha1:53312110c8c2902f32c72a88ee68cea048833fca - pristine_git_object: 59746a615c07e0aeb10d315240b600145d7b45d2 + last_write_checksum: sha1:0e8495b532aeb8da0bd013adcdf4a3666851f566 + pristine_git_object: 728cc954416424abe989ee8027d66333ad2c4798 src/mistralai/client/models/workflowexecutionstartedresponse.py: id: e1a597c911ea - last_write_checksum: sha1:9c761698883844061bf5cae76e3bc6444941124e - pristine_git_object: fa1e46a07b931f35b46324d9b2e5c111b359889d + last_write_checksum: sha1:d1ad202dcf504542f96dfe34cafb770c97d578a3 + pristine_git_object: 8da33ba6372c33126cb80a83d0b315ec7cd512c6 src/mistralai/client/models/workflowexecutionstatus.py: id: 56a16810d5de last_write_checksum: sha1:71560f9e7a0222734e176a362d3188e703dfbbe2 @@ -7718,16 +7778,16 @@ trackedFiles: pristine_git_object: 49444347a46acf8f24c17a0f2b87c961c79efaca src/mistralai/client/models/workflowtaskfailedresponse.py: id: a02b01867b7f - last_write_checksum: sha1:47813f0c9b611079c346d5d11a80fbf4a51a3164 - pristine_git_object: 154145e3604b09a202f51b60101ef166ed69a3ce + last_write_checksum: sha1:4a372cc0560ff6edd91165c0822e59e4b8fd955c + pristine_git_object: cda419763e31c8764e72172c54b6b25c0489f0ac src/mistralai/client/models/workflowtasktimedoutattributes.py: id: 43369570cb96 last_write_checksum: sha1:dd30ece2ca4bd84318494f4f49ca63446677f6d4 pristine_git_object: 1824990e1e9bf911e0dc422743268a97091576a7 src/mistralai/client/models/workflowtasktimedoutresponse.py: id: 8b7540c47083 - last_write_checksum: sha1:6ecfe5907b5cdb05054b8e107977527a584e1b08 - pristine_git_object: 2c3350e09b75f1ebb212909f252cc48124a9997f + last_write_checksum: sha1:894b2c8656f027741bb4e59af3052f17c68fcd5f + pristine_git_object: 457a8737b8a792e3b39e7ffcfb2c253d757dbff0 src/mistralai/client/models/workflowtype.py: id: 01f37d193b17 last_write_checksum: sha1:ec2cf5f7adb51eca3b7bbfc7cef89d4da473b11f @@ -9763,7 +9823,7 @@ examples: connector_create_v1: speakeasy-default-connector-create-v1: requestBody: - application/json: {"name": "", "description": "unibody usually despite slushy wherever reward stingy from", "server": "https://royal-majority.net/"} + application/json: {"protocol": "mcp", "name": "", "description": "unibody usually despite slushy wherever reward stingy from", "server": "https://royal-majority.net/"} responses: "201": application/json: {"id": "3633ef72-f5c6-4354-b510-7167244672aa", "name": "", "description": "why yahoo zany potentially", "created_at": "2024-05-03T05:17:01.129Z", "modified_at": "2025-09-26T20:42:01.861Z", "owner_type": "workspace", "visibility": "private", "private_tool_execution": true, "mistral": false} @@ -10307,7 +10367,7 @@ examples: limit: 100 responses: "200": - application/json: {"events": [{"event_id": "", "event_timestamp": 93683, "root_workflow_exec_id": "", "parent_workflow_exec_id": "", "workflow_exec_id": "", "workflow_run_id": "", "workflow_name": "", "event_type": "CUSTOM_TASK_STARTED", "attributes": {"custom_task_id": "", "custom_task_type": "", "payload": {"type": "json", "value": [{"path": "/sys", "value": "", "op": "remove"}]}}}]} + application/json: {"events": [{"event_id": "", "event_timestamp": 481686, "root_workflow_exec_id": "", "parent_workflow_exec_id": null, "continued_run_id": "", "first_execution_run_id": "", "schedule_id": "", "workflow_exec_id": "", "workflow_run_id": "", "workflow_name": "", "event_type": "ACTIVITY_TASK_COMPLETED", "attributes": {"task_id": "", "activity_name": "", "result": {"type": "json", "value": ""}}}]} "422": application/json: {} list_deployments_v1_workflows_deployments_get: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 658094121..516542935 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -32,7 +32,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false python: - version: 2.9.1 + version: 2.9.2 additionalDependencies: dev: pytest: ^8.2.2 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2047f8f17..e0ef16b70 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -16,11 +16,11 @@ sources: - speakeasy-mistralai-gcp-sdk-26292830187-1 mistral-openapi: sourceNamespace: mistral-openapi - sourceRevisionDigest: sha256:9574dbeb71d1223769d4dab8c3742fc239b1e3b7183275d95f5d3681ac8e47fe - sourceBlobDigest: sha256:27089861b75a4918f4077aaf9e1a15b76e9cfcae70138dc3b4943485536ad805 + sourceRevisionDigest: sha256:5d604f8bee46f59eae32165470d5fa10143ecdd76da683b5a2f1df148f31b19e + sourceBlobDigest: sha256:7697ea237b99d8b459a7f3853b08046e1f94f07d1478196486c259f17697d135 tags: - latest - - speakeasy-mistralai-sdk-30920901473-1 + - speakeasy-mistralai-sdk-31439429658-1 targets: mistralai-azure-sdk: source: mistral-azure-source @@ -39,10 +39,10 @@ targets: mistralai-sdk: source: mistral-openapi sourceNamespace: mistral-openapi - sourceRevisionDigest: sha256:9574dbeb71d1223769d4dab8c3742fc239b1e3b7183275d95f5d3681ac8e47fe - sourceBlobDigest: sha256:27089861b75a4918f4077aaf9e1a15b76e9cfcae70138dc3b4943485536ad805 + sourceRevisionDigest: sha256:5d604f8bee46f59eae32165470d5fa10143ecdd76da683b5a2f1df148f31b19e + sourceBlobDigest: sha256:7697ea237b99d8b459a7f3853b08046e1f94f07d1478196486c259f17697d135 codeSamplesNamespace: mistral-openapi-code-samples - codeSamplesRevisionDigest: sha256:b2e32e2795b23fcfc9df76bbb68a8a0c801701ab176f99214307b168e80ef7be + codeSamplesRevisionDigest: sha256:a59cce64a521156ff070c23b436edcf77ffd6354b2e74b07f3194918dab44007 workflow: workflowVersion: 1.0.0 speakeasyVersion: 1.763.6 diff --git a/RELEASES.md b/RELEASES.md index 88d29902e..eb22ed53b 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -818,4 +818,14 @@ Based on: ### Generated - [python v2.9.1] . ### Releases -- [PyPI v2.9.1] https://pypi.org/project/mistralai/2.9.1 - . \ No newline at end of file +- [PyPI v2.9.1] https://pypi.org/project/mistralai/2.9.1 - . + +## 2026-08-11 07:09:09 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.763.6 (2.884.13) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v2.9.2] . +### Releases +- [PyPI v2.9.2] https://pypi.org/project/mistralai/2.9.2 - . \ No newline at end of file diff --git a/docs/models/activitytaskcompletedresponse.md b/docs/models/activitytaskcompletedresponse.md index 56a646311..f228c8651 100644 --- a/docs/models/activitytaskcompletedresponse.md +++ b/docs/models/activitytaskcompletedresponse.md @@ -7,14 +7,17 @@ Contains timing information about the successful execution. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["ACTIVITY_TASK_COMPLETED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.ActivityTaskCompletedAttributesResponse](../models/activitytaskcompletedattributesresponse.md) | :heavy_check_mark: | Attributes for activity task completed events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["ACTIVITY_TASK_COMPLETED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.ActivityTaskCompletedAttributesResponse](../models/activitytaskcompletedattributesresponse.md) | :heavy_check_mark: | Attributes for activity task completed events. | \ No newline at end of file diff --git a/docs/models/activitytaskfailedresponse.md b/docs/models/activitytaskfailedresponse.md index 0853f68d3..3eea5f598 100644 --- a/docs/models/activitytaskfailedresponse.md +++ b/docs/models/activitytaskfailedresponse.md @@ -7,14 +7,17 @@ This is a terminal event indicating the activity could not complete successfully ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["ACTIVITY_TASK_FAILED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.ActivityTaskFailedAttributes](../models/activitytaskfailedattributes.md) | :heavy_check_mark: | Attributes for activity task failed events (final failure after all retries). | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["ACTIVITY_TASK_FAILED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.ActivityTaskFailedAttributes](../models/activitytaskfailedattributes.md) | :heavy_check_mark: | Attributes for activity task failed events (final failure after all retries). | \ No newline at end of file diff --git a/docs/models/activitytaskretryingresponse.md b/docs/models/activitytaskretryingresponse.md index 8b7bdd42e..77ac704ba 100644 --- a/docs/models/activitytaskretryingresponse.md +++ b/docs/models/activitytaskretryingresponse.md @@ -7,14 +7,17 @@ Contains information about the failed attempt and the error that occurred. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["ACTIVITY_TASK_RETRYING"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.ActivityTaskRetryingAttributes](../models/activitytaskretryingattributes.md) | :heavy_check_mark: | Attributes for activity task retrying events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["ACTIVITY_TASK_RETRYING"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.ActivityTaskRetryingAttributes](../models/activitytaskretryingattributes.md) | :heavy_check_mark: | Attributes for activity task retrying events. | \ No newline at end of file diff --git a/docs/models/activitytaskstartedresponse.md b/docs/models/activitytaskstartedresponse.md index 1aee1533f..cafdca16f 100644 --- a/docs/models/activitytaskstartedresponse.md +++ b/docs/models/activitytaskstartedresponse.md @@ -8,14 +8,17 @@ Subsequent retry attempts emit ACTIVITY_TASK_RETRYING instead. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["ACTIVITY_TASK_STARTED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.ActivityTaskStartedAttributesResponse](../models/activitytaskstartedattributesresponse.md) | :heavy_check_mark: | Attributes for activity task started events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["ACTIVITY_TASK_STARTED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.ActivityTaskStartedAttributesResponse](../models/activitytaskstartedattributesresponse.md) | :heavy_check_mark: | Attributes for activity task started events. | \ No newline at end of file diff --git a/docs/models/agentscompletionrequest.md b/docs/models/agentscompletionrequest.md index 3253fee1b..e011ee0a6 100644 --- a/docs/models/agentscompletionrequest.md +++ b/docs/models/agentscompletionrequest.md @@ -23,4 +23,5 @@ | `prompt_mode` | [OptionalNullable[models.MistralPromptMode]](../models/mistralpromptmode.md) | :heavy_minus_sign: | Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. | | | `guardrails` | List[[models.GuardrailConfig](../models/guardrailconfig.md)] | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `service_tier` | [OptionalNullable[models.RequestedServiceTier]](../models/requestedservicetier.md) | :heavy_minus_sign: | Determines whether to serve the request using priority or standard capacity. | | | `agent_id` | *str* | :heavy_check_mark: | The ID of the agent to use for this completion. | | \ No newline at end of file diff --git a/docs/models/agentscompletionstreamrequest.md b/docs/models/agentscompletionstreamrequest.md index 296592389..a67d25e36 100644 --- a/docs/models/agentscompletionstreamrequest.md +++ b/docs/models/agentscompletionstreamrequest.md @@ -23,4 +23,5 @@ | `prompt_mode` | [OptionalNullable[models.MistralPromptMode]](../models/mistralpromptmode.md) | :heavy_minus_sign: | Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. | | | `guardrails` | List[[models.GuardrailConfig](../models/guardrailconfig.md)] | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `service_tier` | [OptionalNullable[models.RequestedServiceTier]](../models/requestedservicetier.md) | :heavy_minus_sign: | Determines whether to serve the request using priority or standard capacity. | | | `agent_id` | *str* | :heavy_check_mark: | The ID of the agent to use for this completion. | | \ No newline at end of file diff --git a/docs/models/authdirection.md b/docs/models/authdirection.md new file mode 100644 index 000000000..c3f547fca --- /dev/null +++ b/docs/models/authdirection.md @@ -0,0 +1,14 @@ +# AuthDirection + +## Example Usage + +```python +from mistralai.client.models import AuthDirection +value: AuthDirection = "inbound" +``` + + +## Values + +- `"inbound"` +- `"outbound"` diff --git a/docs/models/authenticationmethodcreateorupdaterequest.md b/docs/models/authenticationmethodcreateorupdaterequest.md new file mode 100644 index 000000000..727f7fa59 --- /dev/null +++ b/docs/models/authenticationmethodcreateorupdaterequest.md @@ -0,0 +1,12 @@ +# AuthenticationMethodCreateOrUpdateRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `method_type` | [models.MethodType](../models/methodtype.md) | :heavy_check_mark: | The type of authentication method (e.g. oauth2, bearer, none). | +| `auth_direction` | [Optional[models.AuthDirection]](../models/authdirection.md) | :heavy_minus_sign: | N/A | +| `headers` | List[[models.ConnectorAuthenticationHeader](../models/connectorauthenticationheader.md)] | :heavy_minus_sign: | Set of headers to connect to the connector | +| `oauth2_metadata_secrets` | [OptionalNullable[models.Oauth2MetadataSecrets]](../models/oauth2metadatasecrets.md) | :heavy_minus_sign: | New OAuth2 client credentials (client_id and client_secret). | +| `oauth2_server_metadata` | [OptionalNullable[models.ExtendedOAuthServerMetadata]](../models/extendedoauthservermetadata.md) | :heavy_minus_sign: | New OAuth2 authorization server metadata. | \ No newline at end of file diff --git a/docs/models/chatcompletionrequest.md b/docs/models/chatcompletionrequest.md index 4f98ef966..e61ade721 100644 --- a/docs/models/chatcompletionrequest.md +++ b/docs/models/chatcompletionrequest.md @@ -26,4 +26,5 @@ | `prompt_mode` | [OptionalNullable[models.MistralPromptMode]](../models/mistralpromptmode.md) | :heavy_minus_sign: | Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. | | | `guardrails` | List[[models.GuardrailConfig](../models/guardrailconfig.md)] | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `service_tier` | [OptionalNullable[models.RequestedServiceTier]](../models/requestedservicetier.md) | :heavy_minus_sign: | Determines whether to serve the request using priority or standard capacity. | | | `safe_prompt` | *Optional[bool]* | :heavy_minus_sign: | Whether to inject a safety prompt before all conversations. | | \ No newline at end of file diff --git a/docs/models/chatcompletionstreamrequest.md b/docs/models/chatcompletionstreamrequest.md index 6409f474a..76866aca6 100644 --- a/docs/models/chatcompletionstreamrequest.md +++ b/docs/models/chatcompletionstreamrequest.md @@ -26,4 +26,5 @@ | `prompt_mode` | [OptionalNullable[models.MistralPromptMode]](../models/mistralpromptmode.md) | :heavy_minus_sign: | Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. | | | `guardrails` | List[[models.GuardrailConfig](../models/guardrailconfig.md)] | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `service_tier` | [OptionalNullable[models.RequestedServiceTier]](../models/requestedservicetier.md) | :heavy_minus_sign: | Determines whether to serve the request using priority or standard capacity. | | | `safe_prompt` | *Optional[bool]* | :heavy_minus_sign: | Whether to inject a safety prompt before all conversations. | | \ No newline at end of file diff --git a/docs/models/createconnectorrequest.md b/docs/models/createconnectorrequest.md index 50f25f26b..9be7f2f5e 100644 --- a/docs/models/createconnectorrequest.md +++ b/docs/models/createconnectorrequest.md @@ -12,6 +12,7 @@ Standalone model that excludes internal-only fields (``hosted_internally``, | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `protocol` | *Optional[Literal["mcp"]]* | :heavy_minus_sign: | Protocol of the connector. Only 'mcp' is supported on the public endpoint; creating HTTP connectors here is explicitly refused. | | `name` | *str* | :heavy_check_mark: | The name of the connector. Should be 64 char length maximum, alphanumeric, only underscores/dashes. | | `title` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional human-readable title for the connector. | | `description` | *str* | :heavy_check_mark: | The description of the connector. | diff --git a/docs/models/customtaskcanceledresponse.md b/docs/models/customtaskcanceledresponse.md index 0bcee2279..8cd824feb 100644 --- a/docs/models/customtaskcanceledresponse.md +++ b/docs/models/customtaskcanceledresponse.md @@ -7,14 +7,17 @@ Indicates the task was explicitly stopped before completion. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["CUSTOM_TASK_CANCELED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.CustomTaskCanceledAttributes](../models/customtaskcanceledattributes.md) | :heavy_check_mark: | Attributes for custom task canceled events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["CUSTOM_TASK_CANCELED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.CustomTaskCanceledAttributes](../models/customtaskcanceledattributes.md) | :heavy_check_mark: | Attributes for custom task canceled events. | \ No newline at end of file diff --git a/docs/models/customtaskcompletedresponse.md b/docs/models/customtaskcompletedresponse.md index 6871184f3..b31f4e22a 100644 --- a/docs/models/customtaskcompletedresponse.md +++ b/docs/models/customtaskcompletedresponse.md @@ -7,14 +7,17 @@ Contains the final result of the task execution. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["CUSTOM_TASK_COMPLETED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.CustomTaskCompletedAttributesResponse](../models/customtaskcompletedattributesresponse.md) | :heavy_check_mark: | Attributes for custom task completed events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["CUSTOM_TASK_COMPLETED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.CustomTaskCompletedAttributesResponse](../models/customtaskcompletedattributesresponse.md) | :heavy_check_mark: | Attributes for custom task completed events. | \ No newline at end of file diff --git a/docs/models/customtaskfailedresponse.md b/docs/models/customtaskfailedresponse.md index e14e4afa4..09385f063 100644 --- a/docs/models/customtaskfailedresponse.md +++ b/docs/models/customtaskfailedresponse.md @@ -7,14 +7,17 @@ Contains details about the failure for debugging and error handling. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["CUSTOM_TASK_FAILED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.CustomTaskFailedAttributes](../models/customtaskfailedattributes.md) | :heavy_check_mark: | Attributes for custom task failed events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["CUSTOM_TASK_FAILED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.CustomTaskFailedAttributes](../models/customtaskfailedattributes.md) | :heavy_check_mark: | Attributes for custom task failed events. | \ No newline at end of file diff --git a/docs/models/customtaskinprogressresponse.md b/docs/models/customtaskinprogressresponse.md index 72afa91fb..c3ee34185 100644 --- a/docs/models/customtaskinprogressresponse.md +++ b/docs/models/customtaskinprogressresponse.md @@ -8,14 +8,17 @@ enabling real-time progress tracking for long-running tasks. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["CUSTOM_TASK_IN_PROGRESS"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.CustomTaskInProgressAttributesResponse](../models/customtaskinprogressattributesresponse.md) | :heavy_check_mark: | Attributes for custom task in-progress events with streaming updates. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["CUSTOM_TASK_IN_PROGRESS"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.CustomTaskInProgressAttributesResponse](../models/customtaskinprogressattributesresponse.md) | :heavy_check_mark: | Attributes for custom task in-progress events with streaming updates. | \ No newline at end of file diff --git a/docs/models/customtaskstartedresponse.md b/docs/models/customtaskstartedresponse.md index 80b1b08b0..48acab463 100644 --- a/docs/models/customtaskstartedresponse.md +++ b/docs/models/customtaskstartedresponse.md @@ -8,14 +8,17 @@ such as LLM calls, API requests, or data processing steps. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["CUSTOM_TASK_STARTED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.CustomTaskStartedAttributesResponse](../models/customtaskstartedattributesresponse.md) | :heavy_check_mark: | Attributes for custom task started events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["CUSTOM_TASK_STARTED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.CustomTaskStartedAttributesResponse](../models/customtaskstartedattributesresponse.md) | :heavy_check_mark: | Attributes for custom task started events. | \ No newline at end of file diff --git a/docs/models/customtasktimedoutresponse.md b/docs/models/customtasktimedoutresponse.md index 75d497434..02bb0581f 100644 --- a/docs/models/customtasktimedoutresponse.md +++ b/docs/models/customtasktimedoutresponse.md @@ -7,14 +7,17 @@ Indicates the task did not complete within its configured time limit. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["CUSTOM_TASK_TIMED_OUT"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.CustomTaskTimedOutAttributes](../models/customtasktimedoutattributes.md) | :heavy_check_mark: | Attributes for custom task timed out events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["CUSTOM_TASK_TIMED_OUT"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.CustomTaskTimedOutAttributes](../models/customtasktimedoutattributes.md) | :heavy_check_mark: | Attributes for custom task timed out events. | \ No newline at end of file diff --git a/docs/models/deploymentworkerspecresponse.md b/docs/models/deploymentworkerspecresponse.md index 8c9114c6c..7a6bca9e6 100644 --- a/docs/models/deploymentworkerspecresponse.md +++ b/docs/models/deploymentworkerspecresponse.md @@ -3,12 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `github_url` | *str* | :heavy_check_mark: | N/A | -| `type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `revision` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `entrypoint` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `working_dir` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `restarted_at` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `commit_sha` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `github_url` | *str* | :heavy_check_mark: | N/A | +| `type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `revision` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `entrypoint` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `working_dir` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `restarted_at` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| ~~`commit_sha`~~ | *OptionalNullable[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | +| `commit` | [OptionalNullable[models.GitCommitMetadata]](../models/gitcommitmetadata.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/extendedoauthservermetadata.md b/docs/models/extendedoauthservermetadata.md index 17a430ea8..601d9df6b 100644 --- a/docs/models/extendedoauthservermetadata.md +++ b/docs/models/extendedoauthservermetadata.md @@ -32,4 +32,5 @@ Mirrors the shape of .well-known/oauth-authorization-server responses. | `introspection_endpoint_auth_signing_alg_values_supported` | List[*str*] | :heavy_minus_sign: | N/A | | `code_challenge_methods_supported` | List[*str*] | :heavy_minus_sign: | N/A | | `client_id_metadata_document_supported` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `x_resource_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `x_resource_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `x_scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/gitcommitauthor.md b/docs/models/gitcommitauthor.md new file mode 100644 index 000000000..d7120b855 --- /dev/null +++ b/docs/models/gitcommitauthor.md @@ -0,0 +1,10 @@ +# GitCommitAuthor + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `username` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `html_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/gitcommitmetadata.md b/docs/models/gitcommitmetadata.md new file mode 100644 index 000000000..1daf512a5 --- /dev/null +++ b/docs/models/gitcommitmetadata.md @@ -0,0 +1,11 @@ +# GitCommitMetadata + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `sha` | *str* | :heavy_check_mark: | N/A | +| `message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `author` | [OptionalNullable[models.GitCommitAuthor]](../models/gitcommitauthor.md) | :heavy_minus_sign: | N/A | +| `html_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/inboundauthenticationtype.md b/docs/models/inboundauthenticationtype.md new file mode 100644 index 000000000..ea04329c0 --- /dev/null +++ b/docs/models/inboundauthenticationtype.md @@ -0,0 +1,13 @@ +# InboundAuthenticationType + +## Example Usage + +```python +from mistralai.client.models import InboundAuthenticationType +value: InboundAuthenticationType = "webhook" +``` + + +## Values + +- `"webhook"` diff --git a/docs/models/methodtype.md b/docs/models/methodtype.md new file mode 100644 index 000000000..7628bbdd4 --- /dev/null +++ b/docs/models/methodtype.md @@ -0,0 +1,19 @@ +# MethodType + +The type of authentication method (e.g. oauth2, bearer, none). + + +## Supported Types + +### `models.OutboundAuthenticationType` + +```python +value: models.OutboundAuthenticationType = /* values here */ +``` + +### `models.InboundAuthenticationType` + +```python +value: models.InboundAuthenticationType = /* values here */ +``` + diff --git a/docs/models/oauth2metadatasecrets.md b/docs/models/oauth2metadatasecrets.md new file mode 100644 index 000000000..a5ac81b80 --- /dev/null +++ b/docs/models/oauth2metadatasecrets.md @@ -0,0 +1,17 @@ +# Oauth2MetadataSecrets + +OAuth2 client credentials stored alongside a connector's authentication method. + +Used by OAuth2 and Slack App auth types for token exchange and refresh flows. +Contains the client credentials obtained during OAuth2 Dynamic Client Registration +or provided at connector creation time. + + +## Fields + +| Field | Type | Required | Description | +| -------------------------- | -------------------------- | -------------------------- | -------------------------- | +| `client_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `client_secret` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `client_id_issued_at` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `client_secret_expires_at` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/observabilityerrorcode.md b/docs/models/observabilityerrorcode.md index ba9749c60..43d2020f6 100644 --- a/docs/models/observabilityerrorcode.md +++ b/docs/models/observabilityerrorcode.md @@ -59,6 +59,7 @@ This is an open enum. Unrecognized values will not fail type checks. - `"TEMPLATE_SYNTAX_ERROR"` - `"PROJECT_NAME_ALREADY_EXISTS"` - `"EVALUATION_NAME_ALREADY_EXISTS"` +- `"OPTIMIZATION_TRIAL_KEY_ALREADY_EXISTS"` - `"TRACES_FILTER_QUERY_PARSE_ERROR"` - `"TRACE_NOT_FOUND"` - `"SPAN_NOT_FOUND"` diff --git a/docs/models/requestedservicetier.md b/docs/models/requestedservicetier.md new file mode 100644 index 000000000..a0516540d --- /dev/null +++ b/docs/models/requestedservicetier.md @@ -0,0 +1,14 @@ +# RequestedServiceTier + +## Example Usage + +```python +from mistralai.client.models import RequestedServiceTier +value: RequestedServiceTier = "auto" +``` + + +## Values + +- `"auto"` +- `"standard_only"` diff --git a/docs/models/updateconnectorrequest.md b/docs/models/updateconnectorrequest.md index 3e715e561..4bb9f2388 100644 --- a/docs/models/updateconnectorrequest.md +++ b/docs/models/updateconnectorrequest.md @@ -3,14 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `title` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional human-readable title for the connector. | -| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | The name of the connector. | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | The description of the connector. | -| `icon_url` | *OptionalNullable[str]* | :heavy_minus_sign: | The optional url of the icon you want to associate to the connector. | -| `system_prompt` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional system prompt for the connector. | -| `protocol` | *Optional[Literal["mcp"]]* | :heavy_minus_sign: | N/A | -| `server` | *OptionalNullable[str]* | :heavy_minus_sign: | New server url for your mcp connector. | -| `headers` | Dict[str, *Any*] | :heavy_minus_sign: | New headers for your mcp connector. | -| `auth_data` | [OptionalNullable[models.AuthData]](../models/authdata.md) | :heavy_minus_sign: | New authentication data for your mcp connector. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `title` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional human-readable title for the connector. | +| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | The name of the connector. | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | The description of the connector. | +| `icon_url` | *OptionalNullable[str]* | :heavy_minus_sign: | The optional url of the icon you want to associate to the connector. | +| `system_prompt` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional system prompt for the connector. | +| `protocol` | *Optional[Literal["mcp"]]* | :heavy_minus_sign: | N/A | +| `server` | *OptionalNullable[str]* | :heavy_minus_sign: | New server url for your mcp connector. | +| `auth_methods` | List[[models.AuthenticationMethodCreateOrUpdateRequest](../models/authenticationmethodcreateorupdaterequest.md)] | :heavy_minus_sign: | list of authentication methods to add to the connector or to update | \ No newline at end of file diff --git a/docs/models/usageinfo.md b/docs/models/usageinfo.md index f5204ac94..fb460774f 100644 --- a/docs/models/usageinfo.md +++ b/docs/models/usageinfo.md @@ -3,10 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `prompt_tokens` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `completion_tokens` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `total_tokens` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `prompt_audio_seconds` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `__pydantic_extra__` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `prompt_tokens` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `completion_tokens` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `total_tokens` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `prompt_audio_seconds` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `service_tier` | *OptionalNullable[str]* | :heavy_minus_sign: | The service tier at which the request was processed: standard or priority. | +| `__pydantic_extra__` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/workflowexecutioncanceledattributes.md b/docs/models/workflowexecutioncanceledattributes.md index 8c2929eb3..fcd2f19de 100644 --- a/docs/models/workflowexecutioncanceledattributes.md +++ b/docs/models/workflowexecutioncanceledattributes.md @@ -5,7 +5,8 @@ Attributes for workflow execution canceled events. ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | -| `task_id` | *str* | :heavy_check_mark: | Unique identifier for the task within the workflow execution. | -| `reason` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional reason provided for the cancellation. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `task_id` | *str* | :heavy_check_mark: | Unique identifier for the task within the workflow execution. | +| `reason` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional reason provided for the cancellation. | +| `attempt` | *Optional[int]* | :heavy_minus_sign: | Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries. | \ No newline at end of file diff --git a/docs/models/workflowexecutioncanceledresponse.md b/docs/models/workflowexecutioncanceledresponse.md index f9f4c01d2..b31c1772b 100644 --- a/docs/models/workflowexecutioncanceledresponse.md +++ b/docs/models/workflowexecutioncanceledresponse.md @@ -7,14 +7,17 @@ This is a terminal event indicating the workflow was explicitly canceled. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["WORKFLOW_EXECUTION_CANCELED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.WorkflowExecutionCanceledAttributes](../models/workflowexecutioncanceledattributes.md) | :heavy_check_mark: | Attributes for workflow execution canceled events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["WORKFLOW_EXECUTION_CANCELED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.WorkflowExecutionCanceledAttributes](../models/workflowexecutioncanceledattributes.md) | :heavy_check_mark: | Attributes for workflow execution canceled events. | \ No newline at end of file diff --git a/docs/models/workflowexecutioncompletedattributesresponse.md b/docs/models/workflowexecutioncompletedattributesresponse.md index 53596a915..6693aad34 100644 --- a/docs/models/workflowexecutioncompletedattributesresponse.md +++ b/docs/models/workflowexecutioncompletedattributesresponse.md @@ -8,4 +8,5 @@ Attributes for workflow execution completed events. | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `task_id` | *str* | :heavy_check_mark: | Unique identifier for the task within the workflow execution. | -| `result` | [models.JSONPayloadResponse](../models/jsonpayloadresponse.md) | :heavy_check_mark: | A payload containing arbitrary JSON data.

Used for complete state snapshots or final results.
When encrypted, the value field contains base64-encoded encrypted data
and encoding_options indicates the type of encryption applied. | \ No newline at end of file +| `result` | [models.JSONPayloadResponse](../models/jsonpayloadresponse.md) | :heavy_check_mark: | A payload containing arbitrary JSON data.

Used for complete state snapshots or final results.
When encrypted, the value field contains base64-encoded encrypted data
and encoding_options indicates the type of encryption applied. | +| `attempt` | *Optional[int]* | :heavy_minus_sign: | Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries. | \ No newline at end of file diff --git a/docs/models/workflowexecutioncompletedresponse.md b/docs/models/workflowexecutioncompletedresponse.md index a4d40dc52..2cdb78974 100644 --- a/docs/models/workflowexecutioncompletedresponse.md +++ b/docs/models/workflowexecutioncompletedresponse.md @@ -7,14 +7,17 @@ This is a terminal event indicating the workflow finished without errors. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["WORKFLOW_EXECUTION_COMPLETED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.WorkflowExecutionCompletedAttributesResponse](../models/workflowexecutioncompletedattributesresponse.md) | :heavy_check_mark: | Attributes for workflow execution completed events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["WORKFLOW_EXECUTION_COMPLETED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.WorkflowExecutionCompletedAttributesResponse](../models/workflowexecutioncompletedattributesresponse.md) | :heavy_check_mark: | Attributes for workflow execution completed events. | \ No newline at end of file diff --git a/docs/models/workflowexecutioncontinuedasnewresponse.md b/docs/models/workflowexecutioncontinuedasnewresponse.md index e6a7212a8..1dd8faa5c 100644 --- a/docs/models/workflowexecutioncontinuedasnewresponse.md +++ b/docs/models/workflowexecutioncontinuedasnewresponse.md @@ -8,14 +8,17 @@ while maintaining logical continuity. ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["WORKFLOW_EXECUTION_CONTINUED_AS_NEW"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.WorkflowExecutionContinuedAsNewAttributesResponse](../models/workflowexecutioncontinuedasnewattributesresponse.md) | :heavy_check_mark: | Attributes for workflow execution continued-as-new events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["WORKFLOW_EXECUTION_CONTINUED_AS_NEW"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.WorkflowExecutionContinuedAsNewAttributesResponse](../models/workflowexecutioncontinuedasnewattributesresponse.md) | :heavy_check_mark: | Attributes for workflow execution continued-as-new events. | \ No newline at end of file diff --git a/docs/models/workflowexecutionfailedattributes.md b/docs/models/workflowexecutionfailedattributes.md index 9fa14fa42..d862605f1 100644 --- a/docs/models/workflowexecutionfailedattributes.md +++ b/docs/models/workflowexecutionfailedattributes.md @@ -5,7 +5,8 @@ Attributes for workflow execution failed events. ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `task_id` | *str* | :heavy_check_mark: | Unique identifier for the task within the workflow execution. | -| `failure` | [models.Failure](../models/failure.md) | :heavy_check_mark: | Represents an error or exception that occurred during execution. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `task_id` | *str* | :heavy_check_mark: | Unique identifier for the task within the workflow execution. | +| `failure` | [models.Failure](../models/failure.md) | :heavy_check_mark: | Represents an error or exception that occurred during execution. | +| `attempt` | *Optional[int]* | :heavy_minus_sign: | Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries. | \ No newline at end of file diff --git a/docs/models/workflowexecutionfailedresponse.md b/docs/models/workflowexecutionfailedresponse.md index 222fbfd75..d34b50288 100644 --- a/docs/models/workflowexecutionfailedresponse.md +++ b/docs/models/workflowexecutionfailedresponse.md @@ -7,14 +7,17 @@ This is a terminal event indicating the workflow ended with an error. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["WORKFLOW_EXECUTION_FAILED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.WorkflowExecutionFailedAttributes](../models/workflowexecutionfailedattributes.md) | :heavy_check_mark: | Attributes for workflow execution failed events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["WORKFLOW_EXECUTION_FAILED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.WorkflowExecutionFailedAttributes](../models/workflowexecutionfailedattributes.md) | :heavy_check_mark: | Attributes for workflow execution failed events. | \ No newline at end of file diff --git a/docs/models/workflowexecutionstartedattributesresponse.md b/docs/models/workflowexecutionstartedattributesresponse.md index 63c20eb12..e548b0223 100644 --- a/docs/models/workflowexecutionstartedattributesresponse.md +++ b/docs/models/workflowexecutionstartedattributesresponse.md @@ -10,4 +10,5 @@ Attributes for workflow execution started events. | `task_id` | *str* | :heavy_check_mark: | Unique identifier for the task within the workflow execution. | | `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow being executed. | | `display_name` | *OptionalNullable[str]* | :heavy_minus_sign: | The user-friendly display name of the workflow, if available. | -| `input` | [models.JSONPayloadResponse](../models/jsonpayloadresponse.md) | :heavy_check_mark: | A payload containing arbitrary JSON data.

Used for complete state snapshots or final results.
When encrypted, the value field contains base64-encoded encrypted data
and encoding_options indicates the type of encryption applied. | \ No newline at end of file +| `input` | [models.JSONPayloadResponse](../models/jsonpayloadresponse.md) | :heavy_check_mark: | A payload containing arbitrary JSON data.

Used for complete state snapshots or final results.
When encrypted, the value field contains base64-encoded encrypted data
and encoding_options indicates the type of encryption applied. | +| `attempt` | *Optional[int]* | :heavy_minus_sign: | Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries. | \ No newline at end of file diff --git a/docs/models/workflowexecutionstartedresponse.md b/docs/models/workflowexecutionstartedresponse.md index 7c370d468..16de8e588 100644 --- a/docs/models/workflowexecutionstartedresponse.md +++ b/docs/models/workflowexecutionstartedresponse.md @@ -7,14 +7,17 @@ This is the first event in any workflow execution lifecycle. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["WORKFLOW_EXECUTION_STARTED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.WorkflowExecutionStartedAttributesResponse](../models/workflowexecutionstartedattributesresponse.md) | :heavy_check_mark: | Attributes for workflow execution started events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["WORKFLOW_EXECUTION_STARTED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.WorkflowExecutionStartedAttributesResponse](../models/workflowexecutionstartedattributesresponse.md) | :heavy_check_mark: | Attributes for workflow execution started events. | \ No newline at end of file diff --git a/docs/models/workflowtaskfailedresponse.md b/docs/models/workflowtaskfailedresponse.md index 731ed219c..31b2d47a8 100644 --- a/docs/models/workflowtaskfailedresponse.md +++ b/docs/models/workflowtaskfailedresponse.md @@ -8,14 +8,17 @@ which may trigger a retry depending on configuration. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["WORKFLOW_TASK_FAILED"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.WorkflowTaskFailedAttributes](../models/workflowtaskfailedattributes.md) | :heavy_check_mark: | Attributes for workflow task failed events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["WORKFLOW_TASK_FAILED"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.WorkflowTaskFailedAttributes](../models/workflowtaskfailedattributes.md) | :heavy_check_mark: | Attributes for workflow task failed events. | \ No newline at end of file diff --git a/docs/models/workflowtasktimedoutresponse.md b/docs/models/workflowtasktimedoutresponse.md index ea3edade3..ecaf631ab 100644 --- a/docs/models/workflowtasktimedoutresponse.md +++ b/docs/models/workflowtasktimedoutresponse.md @@ -8,14 +8,17 @@ its configured timeout. ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | -| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | -| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | -| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | -| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | -| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | -| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | -| `event_type` | *Optional[Literal["WORKFLOW_TASK_TIMED_OUT"]]* | :heavy_minus_sign: | Event type discriminator. | -| `attributes` | [models.WorkflowTaskTimedOutAttributes](../models/workflowtasktimedoutattributes.md) | :heavy_check_mark: | Attributes for workflow task timed out events. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `event_id` | *str* | :heavy_check_mark: | Unique identifier for this event instance. | +| `event_timestamp` | *int* | :heavy_check_mark: | Unix timestamp in nanoseconds when the event was created. | +| `root_workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the root workflow that initiated this execution chain. | +| `parent_workflow_exec_id` | *Nullable[str]* | :heavy_check_mark: | Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set. | +| `continued_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the execution this run continued from. Non-null for continue-as-new runs. | +| `first_execution_run_id` | *Nullable[str]* | :heavy_check_mark: | Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run. | +| `schedule_id` | *Nullable[str]* | :heavy_check_mark: | Temporal schedule ID that triggered this execution, if any. | +| `workflow_exec_id` | *str* | :heavy_check_mark: | Execution ID of the workflow that emitted this event. | +| `workflow_run_id` | *str* | :heavy_check_mark: | Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same. | +| `workflow_name` | *str* | :heavy_check_mark: | The registered name of the workflow that emitted this event. | +| `event_type` | *Optional[Literal["WORKFLOW_TASK_TIMED_OUT"]]* | :heavy_minus_sign: | Event type discriminator. | +| `attributes` | [models.WorkflowTaskTimedOutAttributes](../models/workflowtasktimedoutattributes.md) | :heavy_check_mark: | Attributes for workflow task timed out events. | \ No newline at end of file diff --git a/docs/sdks/agents/README.md b/docs/sdks/agents/README.md index 03917165f..9ecb2fef8 100644 --- a/docs/sdks/agents/README.md +++ b/docs/sdks/agents/README.md @@ -62,6 +62,7 @@ with Mistral( | `prompt_mode` | [OptionalNullable[models.MistralPromptMode]](../../models/mistralpromptmode.md) | :heavy_minus_sign: | Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. | | | `guardrails` | List[[models.GuardrailConfig](../../models/guardrailconfig.md)] | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `service_tier` | [OptionalNullable[models.RequestedServiceTier]](../../models/requestedservicetier.md) | :heavy_minus_sign: | Determines whether to serve the request using priority or standard capacity. | | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | ### Response @@ -130,6 +131,7 @@ with Mistral( | `prompt_mode` | [OptionalNullable[models.MistralPromptMode]](../../models/mistralpromptmode.md) | :heavy_minus_sign: | Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. | | | `guardrails` | List[[models.GuardrailConfig](../../models/guardrailconfig.md)] | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `service_tier` | [OptionalNullable[models.RequestedServiceTier]](../../models/requestedservicetier.md) | :heavy_minus_sign: | Determines whether to serve the request using priority or standard capacity. | | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | ### Response diff --git a/docs/sdks/chat/README.md b/docs/sdks/chat/README.md index 96a1e204a..78ac004a4 100644 --- a/docs/sdks/chat/README.md +++ b/docs/sdks/chat/README.md @@ -64,6 +64,7 @@ with Mistral( | `prompt_mode` | [OptionalNullable[models.MistralPromptMode]](../../models/mistralpromptmode.md) | :heavy_minus_sign: | Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. | | | `guardrails` | List[[models.GuardrailConfig](../../models/guardrailconfig.md)] | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `service_tier` | [OptionalNullable[models.RequestedServiceTier]](../../models/requestedservicetier.md) | :heavy_minus_sign: | Determines whether to serve the request using priority or standard capacity. | | | `safe_prompt` | *Optional[bool]* | :heavy_minus_sign: | Whether to inject a safety prompt before all conversations. | | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | @@ -135,6 +136,7 @@ with Mistral( | `prompt_mode` | [OptionalNullable[models.MistralPromptMode]](../../models/mistralpromptmode.md) | :heavy_minus_sign: | Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. | | | `guardrails` | List[[models.GuardrailConfig](../../models/guardrailconfig.md)] | :heavy_minus_sign: | N/A | | | `prompt_cache_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `service_tier` | [OptionalNullable[models.RequestedServiceTier]](../../models/requestedservicetier.md) | :heavy_minus_sign: | Determines whether to serve the request using priority or standard capacity. | | | `safe_prompt` | *Optional[bool]* | :heavy_minus_sign: | Whether to inject a safety prompt before all conversations. | | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | diff --git a/docs/sdks/connectors/README.md b/docs/sdks/connectors/README.md index b0d55909b..1aca6ef31 100644 --- a/docs/sdks/connectors/README.md +++ b/docs/sdks/connectors/README.md @@ -966,18 +966,17 @@ with Mistral( ### Parameters -| Parameter | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `connector_id` | *str* | :heavy_check_mark: | N/A | -| `title` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional human-readable title for the connector. | -| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | The name of the connector. | -| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | The description of the connector. | -| `icon_url` | *OptionalNullable[str]* | :heavy_minus_sign: | The optional url of the icon you want to associate to the connector. | -| `system_prompt` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional system prompt for the connector. | -| `server` | *OptionalNullable[str]* | :heavy_minus_sign: | New server url for your mcp connector. | -| `headers` | Dict[str, *Any*] | :heavy_minus_sign: | New headers for your mcp connector. | -| `auth_data` | [OptionalNullable[models.AuthData]](../../models/authdata.md) | :heavy_minus_sign: | New authentication data for your mcp connector. | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `connector_id` | *str* | :heavy_check_mark: | N/A | +| `title` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional human-readable title for the connector. | +| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | The name of the connector. | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | The description of the connector. | +| `icon_url` | *OptionalNullable[str]* | :heavy_minus_sign: | The optional url of the icon you want to associate to the connector. | +| `system_prompt` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional system prompt for the connector. | +| `server` | *OptionalNullable[str]* | :heavy_minus_sign: | New server url for your mcp connector. | +| `auth_methods` | List[[models.AuthenticationMethodCreateOrUpdateRequest](../../models/authenticationmethodcreateorupdaterequest.md)] | :heavy_minus_sign: | list of authentication methods to add to the connector or to update | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response diff --git a/src/mistralai/client/_version.py b/src/mistralai/client/_version.py index 8f0c8d6ec..67f6c3f0a 100644 --- a/src/mistralai/client/_version.py +++ b/src/mistralai/client/_version.py @@ -4,10 +4,10 @@ import importlib.metadata __title__: str = "mistralai" -__version__: str = "2.9.1" +__version__: str = "2.9.2" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.884.13" -__user_agent__: str = "speakeasy-sdk/python 2.9.1 2.884.13 1.0.0 mistralai" +__user_agent__: str = "speakeasy-sdk/python 2.9.2 2.884.13 1.0.0 mistralai" try: if __package__ is not None: diff --git a/src/mistralai/client/agents.py b/src/mistralai/client/agents.py index 12e7f483b..74b037bed 100644 --- a/src/mistralai/client/agents.py +++ b/src/mistralai/client/agents.py @@ -59,6 +59,7 @@ def complete( Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] ] = UNSET, prompt_cache_key: OptionalNullable[str] = UNSET, + service_tier: OptionalNullable[models.RequestedServiceTier] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -85,6 +86,7 @@ def complete( :param prompt_mode: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. :param guardrails: :param prompt_cache_key: + :param service_tier: Determines whether to serve the request using priority or standard capacity. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -134,6 +136,7 @@ def complete( guardrails, OptionalNullable[List[models.GuardrailConfig]] ), prompt_cache_key=prompt_cache_key, + service_tier=service_tier, agent_id=agent_id, ) @@ -243,6 +246,7 @@ async def complete_async( Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] ] = UNSET, prompt_cache_key: OptionalNullable[str] = UNSET, + service_tier: OptionalNullable[models.RequestedServiceTier] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -269,6 +273,7 @@ async def complete_async( :param prompt_mode: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. :param guardrails: :param prompt_cache_key: + :param service_tier: Determines whether to serve the request using priority or standard capacity. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -318,6 +323,7 @@ async def complete_async( guardrails, OptionalNullable[List[models.GuardrailConfig]] ), prompt_cache_key=prompt_cache_key, + service_tier=service_tier, agent_id=agent_id, ) @@ -427,6 +433,7 @@ def stream( Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] ] = UNSET, prompt_cache_key: OptionalNullable[str] = UNSET, + service_tier: OptionalNullable[models.RequestedServiceTier] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -455,6 +462,7 @@ def stream( :param prompt_mode: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. :param guardrails: :param prompt_cache_key: + :param service_tier: Determines whether to serve the request using priority or standard capacity. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -504,6 +512,7 @@ def stream( guardrails, OptionalNullable[List[models.GuardrailConfig]] ), prompt_cache_key=prompt_cache_key, + service_tier=service_tier, agent_id=agent_id, ) @@ -621,6 +630,7 @@ async def stream_async( Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] ] = UNSET, prompt_cache_key: OptionalNullable[str] = UNSET, + service_tier: OptionalNullable[models.RequestedServiceTier] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -649,6 +659,7 @@ async def stream_async( :param prompt_mode: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. :param guardrails: :param prompt_cache_key: + :param service_tier: Determines whether to serve the request using priority or standard capacity. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -698,6 +709,7 @@ async def stream_async( guardrails, OptionalNullable[List[models.GuardrailConfig]] ), prompt_cache_key=prompt_cache_key, + service_tier=service_tier, agent_id=agent_id, ) diff --git a/src/mistralai/client/chat.py b/src/mistralai/client/chat.py index c7ff5704f..8394a903d 100644 --- a/src/mistralai/client/chat.py +++ b/src/mistralai/client/chat.py @@ -146,6 +146,7 @@ def complete( Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] ] = UNSET, prompt_cache_key: OptionalNullable[str] = UNSET, + service_tier: OptionalNullable[models.RequestedServiceTier] = UNSET, safe_prompt: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, @@ -175,6 +176,7 @@ def complete( :param prompt_mode: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. :param guardrails: :param prompt_cache_key: + :param service_tier: Determines whether to serve the request using priority or standard capacity. :param safe_prompt: Whether to inject a safety prompt before all conversations. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method @@ -228,6 +230,7 @@ def complete( guardrails, OptionalNullable[List[models.GuardrailConfig]] ), prompt_cache_key=prompt_cache_key, + service_tier=service_tier, safe_prompt=safe_prompt, ) @@ -339,6 +342,7 @@ async def complete_async( Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] ] = UNSET, prompt_cache_key: OptionalNullable[str] = UNSET, + service_tier: OptionalNullable[models.RequestedServiceTier] = UNSET, safe_prompt: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, @@ -368,6 +372,7 @@ async def complete_async( :param prompt_mode: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. :param guardrails: :param prompt_cache_key: + :param service_tier: Determines whether to serve the request using priority or standard capacity. :param safe_prompt: Whether to inject a safety prompt before all conversations. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method @@ -421,6 +426,7 @@ async def complete_async( guardrails, OptionalNullable[List[models.GuardrailConfig]] ), prompt_cache_key=prompt_cache_key, + service_tier=service_tier, safe_prompt=safe_prompt, ) @@ -532,6 +538,7 @@ def stream( Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] ] = UNSET, prompt_cache_key: OptionalNullable[str] = UNSET, + service_tier: OptionalNullable[models.RequestedServiceTier] = UNSET, safe_prompt: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, @@ -563,6 +570,7 @@ def stream( :param prompt_mode: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. :param guardrails: :param prompt_cache_key: + :param service_tier: Determines whether to serve the request using priority or standard capacity. :param safe_prompt: Whether to inject a safety prompt before all conversations. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method @@ -616,6 +624,7 @@ def stream( guardrails, OptionalNullable[List[models.GuardrailConfig]] ), prompt_cache_key=prompt_cache_key, + service_tier=service_tier, safe_prompt=safe_prompt, ) @@ -735,6 +744,7 @@ async def stream_async( Union[List[models.GuardrailConfig], List[models.GuardrailConfigTypedDict]] ] = UNSET, prompt_cache_key: OptionalNullable[str] = UNSET, + service_tier: OptionalNullable[models.RequestedServiceTier] = UNSET, safe_prompt: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, @@ -766,6 +776,7 @@ async def stream_async( :param prompt_mode: Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. :param guardrails: :param prompt_cache_key: + :param service_tier: Determines whether to serve the request using priority or standard capacity. :param safe_prompt: Whether to inject a safety prompt before all conversations. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method @@ -819,6 +830,7 @@ async def stream_async( guardrails, OptionalNullable[List[models.GuardrailConfig]] ), prompt_cache_key=prompt_cache_key, + service_tier=service_tier, safe_prompt=safe_prompt, ) diff --git a/src/mistralai/client/connectors.py b/src/mistralai/client/connectors.py index e14f04699..63e74079b 100644 --- a/src/mistralai/client/connectors.py +++ b/src/mistralai/client/connectors.py @@ -4375,9 +4375,11 @@ def update( icon_url: OptionalNullable[str] = UNSET, system_prompt: OptionalNullable[str] = UNSET, server: OptionalNullable[str] = UNSET, - headers: OptionalNullable[Dict[str, Any]] = UNSET, - auth_data: OptionalNullable[ - Union[models.AuthData, models.AuthDataTypedDict] + auth_methods: OptionalNullable[ + Union[ + List[models.AuthenticationMethodCreateOrUpdateRequest], + List[models.AuthenticationMethodCreateOrUpdateRequestTypedDict], + ] ] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, @@ -4395,8 +4397,7 @@ def update( :param icon_url: The optional url of the icon you want to associate to the connector. :param system_prompt: Optional system prompt for the connector. :param server: New server url for your mcp connector. - :param headers: New headers for your mcp connector. - :param auth_data: New authentication data for your mcp connector. + :param auth_methods: list of authentication methods to add to the connector or to update :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -4424,9 +4425,11 @@ def update( icon_url=icon_url, system_prompt=system_prompt, server=server, - headers=headers, - auth_data=utils.get_pydantic_model( - auth_data, OptionalNullable[models.AuthData] + auth_methods=utils.get_pydantic_model( + auth_methods, + OptionalNullable[ + List[models.AuthenticationMethodCreateOrUpdateRequest] + ], ), ), ) @@ -4505,9 +4508,11 @@ async def update_async( icon_url: OptionalNullable[str] = UNSET, system_prompt: OptionalNullable[str] = UNSET, server: OptionalNullable[str] = UNSET, - headers: OptionalNullable[Dict[str, Any]] = UNSET, - auth_data: OptionalNullable[ - Union[models.AuthData, models.AuthDataTypedDict] + auth_methods: OptionalNullable[ + Union[ + List[models.AuthenticationMethodCreateOrUpdateRequest], + List[models.AuthenticationMethodCreateOrUpdateRequestTypedDict], + ] ] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, @@ -4525,8 +4530,7 @@ async def update_async( :param icon_url: The optional url of the icon you want to associate to the connector. :param system_prompt: Optional system prompt for the connector. :param server: New server url for your mcp connector. - :param headers: New headers for your mcp connector. - :param auth_data: New authentication data for your mcp connector. + :param auth_methods: list of authentication methods to add to the connector or to update :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -4554,9 +4558,11 @@ async def update_async( icon_url=icon_url, system_prompt=system_prompt, server=server, - headers=headers, - auth_data=utils.get_pydantic_model( - auth_data, OptionalNullable[models.AuthData] + auth_methods=utils.get_pydantic_model( + auth_methods, + OptionalNullable[ + List[models.AuthenticationMethodCreateOrUpdateRequest] + ], ), ), ) diff --git a/src/mistralai/client/models/__init__.py b/src/mistralai/client/models/__init__.py index 6dc0220b7..341e9723a 100644 --- a/src/mistralai/client/models/__init__.py +++ b/src/mistralai/client/models/__init__.py @@ -237,10 +237,17 @@ AudioTranscriptionRequestStreamTypedDict, ) from .authdata import AuthData, AuthDataTypedDict + from .authdirection import AuthDirection from .authenticationconfiguration import ( AuthenticationConfiguration, AuthenticationConfigurationTypedDict, ) + from .authenticationmethodcreateorupdaterequest import ( + AuthenticationMethodCreateOrUpdateRequest, + AuthenticationMethodCreateOrUpdateRequestTypedDict, + MethodType, + MethodTypeTypedDict, + ) from .authstatus import AuthStatus from .authurlresponse import AuthURLResponse, AuthURLResponseTypedDict from .basefielddefinition import ( @@ -1254,6 +1261,8 @@ ) from .gettracefields import GetTraceFields, GetTraceFieldsTypedDict from .gettraces import GetTraces, GetTracesTypedDict + from .gitcommitauthor import GitCommitAuthor, GitCommitAuthorTypedDict + from .gitcommitmetadata import GitCommitMetadata, GitCommitMetadataTypedDict from .granularity import Granularity from .guardrailconfig import GuardrailConfig, GuardrailConfigTypedDict from .httpstatus import HTTPStatus @@ -1287,6 +1296,7 @@ ImportDatasetFromPlaygroundRequest, ImportDatasetFromPlaygroundRequestTypedDict, ) + from .inboundauthenticationtype import InboundAuthenticationType from .ingestionpipelineconfiguration import ( IngestionPipelineConfiguration, IngestionPipelineConfigurationTypedDict, @@ -1668,6 +1678,10 @@ from .moderationobject import ModerationObject, ModerationObjectTypedDict from .moderationresponse import ModerationResponse, ModerationResponseTypedDict from .networkencodedinput import NetworkEncodedInput, NetworkEncodedInputTypedDict + from .oauth2metadatasecrets import ( + Oauth2MetadataSecrets, + Oauth2MetadataSecretsTypedDict, + ) from .oauth2token import OAuth2Token, OAuth2TokenTypedDict from .oauth2tokenauth import OAuth2TokenAuth, OAuth2TokenAuthTypedDict from .observabilityerrorcode import ObservabilityErrorCode @@ -1937,6 +1951,7 @@ RegisterSearchIndexResponseIndexTypedDict, ) from .registrysharingscope import RegistrySharingScope + from .requestedservicetier import RequestedServiceTier from .requestsource import RequestSource from .reset_workflow_v1_workflows_executions_execution_id_reset_postop import ( ResetWorkflowV1WorkflowsExecutionsExecutionIDResetPostRequest, @@ -2904,11 +2919,14 @@ "AudioTranscriptionRequestTypedDict", "AuthData", "AuthDataTypedDict", + "AuthDirection", "AuthStatus", "AuthURLResponse", "AuthURLResponseTypedDict", "AuthenticationConfiguration", "AuthenticationConfigurationTypedDict", + "AuthenticationMethodCreateOrUpdateRequest", + "AuthenticationMethodCreateOrUpdateRequestTypedDict", "Authorization", "AuthorizationTypedDict", "BaseFieldDefinition", @@ -3586,6 +3604,10 @@ "GetWorkflowsV1WorkflowsGetResponseTypedDict", "GetWorkflowsV1WorkflowsGetStatus", "GetWorkflowsV1WorkflowsGetStatusTypedDict", + "GitCommitAuthor", + "GitCommitAuthorTypedDict", + "GitCommitMetadata", + "GitCommitMetadataTypedDict", "Granularity", "GuardrailConfig", "GuardrailConfigTypedDict", @@ -3611,6 +3633,7 @@ "ImportDatasetFromFileRequestTypedDict", "ImportDatasetFromPlaygroundRequest", "ImportDatasetFromPlaygroundRequestTypedDict", + "InboundAuthenticationType", "IngestionPipelineConfiguration", "IngestionPipelineConfigurationTypedDict", "InputEntries", @@ -3838,6 +3861,8 @@ "MessageResponseTypedDict", "MessageTokens", "MessageTokensTypedDict", + "MethodType", + "MethodTypeTypedDict", "MetricAggregation", "MetricDefinition", "MetricDefinitionTypedDict", @@ -3923,6 +3948,8 @@ "OCRTitleBlockTypedDict", "OCRUsageInfo", "OCRUsageInfoTypedDict", + "Oauth2MetadataSecrets", + "Oauth2MetadataSecretsTypedDict", "ObservabilityErrorCode", "ObservabilityErrorDetail", "ObservabilityErrorDetailTypedDict", @@ -4085,6 +4112,7 @@ "RegisterSearchIndexResponseIndexTypedDict", "RegistrySharingScope", "RequestSource", + "RequestedServiceTier", "RequiresConfirmation", "RequiresConfirmationTypedDict", "ResetInvocationBody", @@ -4828,8 +4856,13 @@ "AudioTranscriptionRequestStreamTypedDict": ".audiotranscriptionrequeststream", "AuthData": ".authdata", "AuthDataTypedDict": ".authdata", + "AuthDirection": ".authdirection", "AuthenticationConfiguration": ".authenticationconfiguration", "AuthenticationConfigurationTypedDict": ".authenticationconfiguration", + "AuthenticationMethodCreateOrUpdateRequest": ".authenticationmethodcreateorupdaterequest", + "AuthenticationMethodCreateOrUpdateRequestTypedDict": ".authenticationmethodcreateorupdaterequest", + "MethodType": ".authenticationmethodcreateorupdaterequest", + "MethodTypeTypedDict": ".authenticationmethodcreateorupdaterequest", "AuthStatus": ".authstatus", "AuthURLResponse": ".authurlresponse", "AuthURLResponseTypedDict": ".authurlresponse", @@ -5516,6 +5549,10 @@ "GetTraceFieldsTypedDict": ".gettracefields", "GetTraces": ".gettraces", "GetTracesTypedDict": ".gettraces", + "GitCommitAuthor": ".gitcommitauthor", + "GitCommitAuthorTypedDict": ".gitcommitauthor", + "GitCommitMetadata": ".gitcommitmetadata", + "GitCommitMetadataTypedDict": ".gitcommitmetadata", "Granularity": ".granularity", "GuardrailConfig": ".guardrailconfig", "GuardrailConfigTypedDict": ".guardrailconfig", @@ -5541,6 +5578,7 @@ "ImportDatasetFromFileRequestTypedDict": ".importdatasetfromfilerequest", "ImportDatasetFromPlaygroundRequest": ".importdatasetfromplaygroundrequest", "ImportDatasetFromPlaygroundRequestTypedDict": ".importdatasetfromplaygroundrequest", + "InboundAuthenticationType": ".inboundauthenticationtype", "IngestionPipelineConfiguration": ".ingestionpipelineconfiguration", "IngestionPipelineConfigurationTypedDict": ".ingestionpipelineconfiguration", "InputEntries": ".inputentries", @@ -5812,6 +5850,8 @@ "ModerationResponseTypedDict": ".moderationresponse", "NetworkEncodedInput": ".networkencodedinput", "NetworkEncodedInputTypedDict": ".networkencodedinput", + "Oauth2MetadataSecrets": ".oauth2metadatasecrets", + "Oauth2MetadataSecretsTypedDict": ".oauth2metadatasecrets", "OAuth2Token": ".oauth2token", "OAuth2TokenTypedDict": ".oauth2token", "OAuth2TokenAuth": ".oauth2tokenauth", @@ -6024,6 +6064,7 @@ "RegisterSearchIndexResponseIndex": ".registersearchindexresponseindex", "RegisterSearchIndexResponseIndexTypedDict": ".registersearchindexresponseindex", "RegistrySharingScope": ".registrysharingscope", + "RequestedServiceTier": ".requestedservicetier", "RequestSource": ".requestsource", "ResetWorkflowV1WorkflowsExecutionsExecutionIDResetPostRequest": ".reset_workflow_v1_workflows_executions_execution_id_reset_postop", "ResetWorkflowV1WorkflowsExecutionsExecutionIDResetPostRequestTypedDict": ".reset_workflow_v1_workflows_executions_execution_id_reset_postop", diff --git a/src/mistralai/client/models/activitytaskcompletedresponse.py b/src/mistralai/client/models/activitytaskcompletedresponse.py index b324066b9..c6ec719aa 100644 --- a/src/mistralai/client/models/activitytaskcompletedresponse.py +++ b/src/mistralai/client/models/activitytaskcompletedresponse.py @@ -29,6 +29,12 @@ class ActivityTaskCompletedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class ActivityTaskCompletedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class ActivityTaskCompletedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/activitytaskfailedresponse.py b/src/mistralai/client/models/activitytaskfailedresponse.py index 3410ea840..1bc09d0a5 100644 --- a/src/mistralai/client/models/activitytaskfailedresponse.py +++ b/src/mistralai/client/models/activitytaskfailedresponse.py @@ -29,6 +29,12 @@ class ActivityTaskFailedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class ActivityTaskFailedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class ActivityTaskFailedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/activitytaskretryingresponse.py b/src/mistralai/client/models/activitytaskretryingresponse.py index cf054a27d..bf5533094 100644 --- a/src/mistralai/client/models/activitytaskretryingresponse.py +++ b/src/mistralai/client/models/activitytaskretryingresponse.py @@ -29,6 +29,12 @@ class ActivityTaskRetryingResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class ActivityTaskRetryingResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class ActivityTaskRetryingResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/activitytaskstartedresponse.py b/src/mistralai/client/models/activitytaskstartedresponse.py index 75186e027..103261577 100644 --- a/src/mistralai/client/models/activitytaskstartedresponse.py +++ b/src/mistralai/client/models/activitytaskstartedresponse.py @@ -30,6 +30,12 @@ class ActivityTaskStartedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -61,6 +67,15 @@ class ActivityTaskStartedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -85,7 +100,14 @@ class ActivityTaskStartedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/agentscompletionrequest.py b/src/mistralai/client/models/agentscompletionrequest.py index d6b430999..6327daf4c 100644 --- a/src/mistralai/client/models/agentscompletionrequest.py +++ b/src/mistralai/client/models/agentscompletionrequest.py @@ -11,6 +11,7 @@ from .mistralpromptmode import MistralPromptMode from .prediction import Prediction, PredictionTypedDict from .reasoningeffort import ReasoningEffort +from .requestedservicetier import RequestedServiceTier from .responseformat import ResponseFormat, ResponseFormatTypedDict from .systemmessage import SystemMessage, SystemMessageTypedDict from .tool import Tool, ToolTypedDict @@ -138,6 +139,8 @@ class AgentsCompletionRequestTypedDict(TypedDict): r"""Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used.""" guardrails: NotRequired[Nullable[List[GuardrailConfigTypedDict]]] prompt_cache_key: NotRequired[Nullable[str]] + service_tier: NotRequired[Nullable[RequestedServiceTier]] + r"""Determines whether to serve the request using priority or standard capacity.""" class AgentsCompletionRequest(BaseModel): @@ -191,6 +194,9 @@ class AgentsCompletionRequest(BaseModel): prompt_cache_key: OptionalNullable[str] = UNSET + service_tier: OptionalNullable[RequestedServiceTier] = UNSET + r"""Determines whether to serve the request using priority or standard capacity.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -212,6 +218,7 @@ def serialize_model(self, handler): "prompt_mode", "guardrails", "prompt_cache_key", + "service_tier", ] ) nullable_fields = set( @@ -228,6 +235,7 @@ def serialize_model(self, handler): "prompt_mode", "guardrails", "prompt_cache_key", + "service_tier", ] ) serialized = handler(self) diff --git a/src/mistralai/client/models/agentscompletionstreamrequest.py b/src/mistralai/client/models/agentscompletionstreamrequest.py index bb53879d7..8f8f163eb 100644 --- a/src/mistralai/client/models/agentscompletionstreamrequest.py +++ b/src/mistralai/client/models/agentscompletionstreamrequest.py @@ -11,6 +11,7 @@ from .mistralpromptmode import MistralPromptMode from .prediction import Prediction, PredictionTypedDict from .reasoningeffort import ReasoningEffort +from .requestedservicetier import RequestedServiceTier from .responseformat import ResponseFormat, ResponseFormatTypedDict from .systemmessage import SystemMessage, SystemMessageTypedDict from .tool import Tool, ToolTypedDict @@ -137,6 +138,8 @@ class AgentsCompletionStreamRequestTypedDict(TypedDict): r"""Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used.""" guardrails: NotRequired[Nullable[List[GuardrailConfigTypedDict]]] prompt_cache_key: NotRequired[Nullable[str]] + service_tier: NotRequired[Nullable[RequestedServiceTier]] + r"""Determines whether to serve the request using priority or standard capacity.""" class AgentsCompletionStreamRequest(BaseModel): @@ -189,6 +192,9 @@ class AgentsCompletionStreamRequest(BaseModel): prompt_cache_key: OptionalNullable[str] = UNSET + service_tier: OptionalNullable[RequestedServiceTier] = UNSET + r"""Determines whether to serve the request using priority or standard capacity.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -210,6 +216,7 @@ def serialize_model(self, handler): "prompt_mode", "guardrails", "prompt_cache_key", + "service_tier", ] ) nullable_fields = set( @@ -226,6 +233,7 @@ def serialize_model(self, handler): "prompt_mode", "guardrails", "prompt_cache_key", + "service_tier", ] ) serialized = handler(self) diff --git a/src/mistralai/client/models/authdirection.py b/src/mistralai/client/models/authdirection.py new file mode 100644 index 000000000..9220e6dcb --- /dev/null +++ b/src/mistralai/client/models/authdirection.py @@ -0,0 +1,11 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +# @generated-id: ad8790fb5fab + +from __future__ import annotations +from typing import Literal + + +AuthDirection = Literal[ + "inbound", + "outbound", +] diff --git a/src/mistralai/client/models/authenticationmethodcreateorupdaterequest.py b/src/mistralai/client/models/authenticationmethodcreateorupdaterequest.py new file mode 100644 index 000000000..de0c3f82d --- /dev/null +++ b/src/mistralai/client/models/authenticationmethodcreateorupdaterequest.py @@ -0,0 +1,100 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +# @generated-id: 240c643113bb + +from __future__ import annotations +from .authdirection import AuthDirection +from .connectorauthenticationheader import ( + ConnectorAuthenticationHeader, + ConnectorAuthenticationHeaderTypedDict, +) +from .extendedoauthservermetadata import ( + ExtendedOAuthServerMetadata, + ExtendedOAuthServerMetadataTypedDict, +) +from .inboundauthenticationtype import InboundAuthenticationType +from .oauth2metadatasecrets import Oauth2MetadataSecrets, Oauth2MetadataSecretsTypedDict +from .outboundauthenticationtype import OutboundAuthenticationType +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from pydantic import model_serializer +from typing import List, Optional, Union +from typing_extensions import NotRequired, TypeAliasType, TypedDict + + +MethodTypeTypedDict = TypeAliasType( + "MethodTypeTypedDict", Union[OutboundAuthenticationType, InboundAuthenticationType] +) +r"""The type of authentication method (e.g. oauth2, bearer, none).""" + + +MethodType = TypeAliasType( + "MethodType", Union[OutboundAuthenticationType, InboundAuthenticationType] +) +r"""The type of authentication method (e.g. oauth2, bearer, none).""" + + +class AuthenticationMethodCreateOrUpdateRequestTypedDict(TypedDict): + method_type: MethodTypeTypedDict + r"""The type of authentication method (e.g. oauth2, bearer, none).""" + auth_direction: NotRequired[AuthDirection] + headers: NotRequired[Nullable[List[ConnectorAuthenticationHeaderTypedDict]]] + r"""Set of headers to connect to the connector""" + oauth2_metadata_secrets: NotRequired[Nullable[Oauth2MetadataSecretsTypedDict]] + r"""New OAuth2 client credentials (client_id and client_secret).""" + oauth2_server_metadata: NotRequired[Nullable[ExtendedOAuthServerMetadataTypedDict]] + r"""New OAuth2 authorization server metadata.""" + + +class AuthenticationMethodCreateOrUpdateRequest(BaseModel): + method_type: MethodType + r"""The type of authentication method (e.g. oauth2, bearer, none).""" + + auth_direction: Optional[AuthDirection] = None + + headers: OptionalNullable[List[ConnectorAuthenticationHeader]] = UNSET + r"""Set of headers to connect to the connector""" + + oauth2_metadata_secrets: OptionalNullable[Oauth2MetadataSecrets] = UNSET + r"""New OAuth2 client credentials (client_id and client_secret).""" + + oauth2_server_metadata: OptionalNullable[ExtendedOAuthServerMetadata] = UNSET + r"""New OAuth2 authorization server metadata.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "auth_direction", + "headers", + "oauth2_metadata_secrets", + "oauth2_server_metadata", + ] + ) + nullable_fields = set( + ["headers", "oauth2_metadata_secrets", "oauth2_server_metadata"] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/chatcompletionrequest.py b/src/mistralai/client/models/chatcompletionrequest.py index dafd00732..846e2fa14 100644 --- a/src/mistralai/client/models/chatcompletionrequest.py +++ b/src/mistralai/client/models/chatcompletionrequest.py @@ -11,6 +11,7 @@ from .mistralpromptmode import MistralPromptMode from .prediction import Prediction, PredictionTypedDict from .reasoningeffort import ReasoningEffort +from .requestedservicetier import RequestedServiceTier from .responseformat import ResponseFormat, ResponseFormatTypedDict from .systemmessage import SystemMessage, SystemMessageTypedDict from .tool import Tool, ToolTypedDict @@ -147,6 +148,8 @@ class ChatCompletionRequestTypedDict(TypedDict): r"""Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used.""" guardrails: NotRequired[Nullable[List[GuardrailConfigTypedDict]]] prompt_cache_key: NotRequired[Nullable[str]] + service_tier: NotRequired[Nullable[RequestedServiceTier]] + r"""Determines whether to serve the request using priority or standard capacity.""" safe_prompt: NotRequired[bool] r"""Whether to inject a safety prompt before all conversations.""" @@ -211,6 +214,9 @@ class ChatCompletionRequest(BaseModel): prompt_cache_key: OptionalNullable[str] = UNSET + service_tier: OptionalNullable[RequestedServiceTier] = UNSET + r"""Determines whether to serve the request using priority or standard capacity.""" + safe_prompt: Optional[bool] = None r"""Whether to inject a safety prompt before all conversations.""" @@ -237,6 +243,7 @@ def serialize_model(self, handler): "prompt_mode", "guardrails", "prompt_cache_key", + "service_tier", "safe_prompt", ] ) @@ -256,6 +263,7 @@ def serialize_model(self, handler): "prompt_mode", "guardrails", "prompt_cache_key", + "service_tier", ] ) serialized = handler(self) diff --git a/src/mistralai/client/models/chatcompletionstreamrequest.py b/src/mistralai/client/models/chatcompletionstreamrequest.py index 9597cafbc..7b2dc5c96 100644 --- a/src/mistralai/client/models/chatcompletionstreamrequest.py +++ b/src/mistralai/client/models/chatcompletionstreamrequest.py @@ -11,6 +11,7 @@ from .mistralpromptmode import MistralPromptMode from .prediction import Prediction, PredictionTypedDict from .reasoningeffort import ReasoningEffort +from .requestedservicetier import RequestedServiceTier from .responseformat import ResponseFormat, ResponseFormatTypedDict from .systemmessage import SystemMessage, SystemMessageTypedDict from .tool import Tool, ToolTypedDict @@ -146,6 +147,8 @@ class ChatCompletionStreamRequestTypedDict(TypedDict): r"""Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used.""" guardrails: NotRequired[Nullable[List[GuardrailConfigTypedDict]]] prompt_cache_key: NotRequired[Nullable[str]] + service_tier: NotRequired[Nullable[RequestedServiceTier]] + r"""Determines whether to serve the request using priority or standard capacity.""" safe_prompt: NotRequired[bool] r"""Whether to inject a safety prompt before all conversations.""" @@ -209,6 +212,9 @@ class ChatCompletionStreamRequest(BaseModel): prompt_cache_key: OptionalNullable[str] = UNSET + service_tier: OptionalNullable[RequestedServiceTier] = UNSET + r"""Determines whether to serve the request using priority or standard capacity.""" + safe_prompt: Optional[bool] = None r"""Whether to inject a safety prompt before all conversations.""" @@ -235,6 +241,7 @@ def serialize_model(self, handler): "prompt_mode", "guardrails", "prompt_cache_key", + "service_tier", "safe_prompt", ] ) @@ -254,6 +261,7 @@ def serialize_model(self, handler): "prompt_mode", "guardrails", "prompt_cache_key", + "service_tier", ] ) serialized = handler(self) diff --git a/src/mistralai/client/models/createconnectorrequest.py b/src/mistralai/client/models/createconnectorrequest.py index 1a403ce31..fb79e2a00 100644 --- a/src/mistralai/client/models/createconnectorrequest.py +++ b/src/mistralai/client/models/createconnectorrequest.py @@ -15,9 +15,12 @@ UNSET, UNSET_SENTINEL, ) +from mistralai.client.utils import validate_const +import pydantic from pydantic import model_serializer -from typing import Any, Dict, Optional -from typing_extensions import NotRequired, TypedDict +from pydantic.functional_validators import AfterValidator +from typing import Any, Dict, Literal, Optional +from typing_extensions import Annotated, NotRequired, TypedDict class CreateConnectorRequestTypedDict(TypedDict): @@ -35,6 +38,8 @@ class CreateConnectorRequestTypedDict(TypedDict): r"""The description of the connector.""" server: str r"""The url of the MCP server.""" + protocol: Literal["mcp"] + r"""Protocol of the connector. Only 'mcp' is supported on the public endpoint; creating HTTP connectors here is explicitly refused.""" title: NotRequired[Nullable[str]] r"""Optional human-readable title for the connector.""" icon_url: NotRequired[Nullable[str]] @@ -74,6 +79,12 @@ class CreateConnectorRequest(BaseModel): server: str r"""The url of the MCP server.""" + protocol: Annotated[ + Annotated[Optional[Literal["mcp"]], AfterValidator(validate_const("mcp"))], + pydantic.Field(alias="protocol"), + ] = "mcp" + r"""Protocol of the connector. Only 'mcp' is supported on the public endpoint; creating HTTP connectors here is explicitly refused.""" + title: OptionalNullable[str] = UNSET r"""Optional human-readable title for the connector.""" @@ -105,6 +116,7 @@ class CreateConnectorRequest(BaseModel): def serialize_model(self, handler): optional_fields = set( [ + "protocol", "title", "icon_url", "visibility", @@ -146,3 +158,9 @@ def serialize_model(self, handler): m[k] = val return m + + +try: + CreateConnectorRequest.model_rebuild() +except NameError: + pass diff --git a/src/mistralai/client/models/customtaskcanceledresponse.py b/src/mistralai/client/models/customtaskcanceledresponse.py index 7873b3ca5..628f13e1d 100644 --- a/src/mistralai/client/models/customtaskcanceledresponse.py +++ b/src/mistralai/client/models/customtaskcanceledresponse.py @@ -29,6 +29,12 @@ class CustomTaskCanceledResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class CustomTaskCanceledResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class CustomTaskCanceledResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/customtaskcompletedresponse.py b/src/mistralai/client/models/customtaskcompletedresponse.py index 5d2a86863..96e5b5354 100644 --- a/src/mistralai/client/models/customtaskcompletedresponse.py +++ b/src/mistralai/client/models/customtaskcompletedresponse.py @@ -29,6 +29,12 @@ class CustomTaskCompletedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class CustomTaskCompletedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class CustomTaskCompletedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/customtaskfailedresponse.py b/src/mistralai/client/models/customtaskfailedresponse.py index 1f9835ec2..b331d6148 100644 --- a/src/mistralai/client/models/customtaskfailedresponse.py +++ b/src/mistralai/client/models/customtaskfailedresponse.py @@ -29,6 +29,12 @@ class CustomTaskFailedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class CustomTaskFailedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class CustomTaskFailedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/customtaskinprogressresponse.py b/src/mistralai/client/models/customtaskinprogressresponse.py index 33c126f71..eb8794dd5 100644 --- a/src/mistralai/client/models/customtaskinprogressresponse.py +++ b/src/mistralai/client/models/customtaskinprogressresponse.py @@ -30,6 +30,12 @@ class CustomTaskInProgressResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -61,6 +67,15 @@ class CustomTaskInProgressResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -85,7 +100,14 @@ class CustomTaskInProgressResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/customtaskstartedresponse.py b/src/mistralai/client/models/customtaskstartedresponse.py index 59d11fa83..74b8d7fcf 100644 --- a/src/mistralai/client/models/customtaskstartedresponse.py +++ b/src/mistralai/client/models/customtaskstartedresponse.py @@ -30,6 +30,12 @@ class CustomTaskStartedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -61,6 +67,15 @@ class CustomTaskStartedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -85,7 +100,14 @@ class CustomTaskStartedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/customtasktimedoutresponse.py b/src/mistralai/client/models/customtasktimedoutresponse.py index 7f274a535..01cf2f25e 100644 --- a/src/mistralai/client/models/customtasktimedoutresponse.py +++ b/src/mistralai/client/models/customtasktimedoutresponse.py @@ -29,6 +29,12 @@ class CustomTaskTimedOutResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class CustomTaskTimedOutResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class CustomTaskTimedOutResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/deploymentworkerspecresponse.py b/src/mistralai/client/models/deploymentworkerspecresponse.py index 0d3b5335c..83ddaa4bb 100644 --- a/src/mistralai/client/models/deploymentworkerspecresponse.py +++ b/src/mistralai/client/models/deploymentworkerspecresponse.py @@ -2,6 +2,7 @@ # @generated-id: e56d154527fd from __future__ import annotations +from .gitcommitmetadata import GitCommitMetadata, GitCommitMetadataTypedDict from mistralai.client.types import ( BaseModel, Nullable, @@ -9,9 +10,10 @@ UNSET, UNSET_SENTINEL, ) +import pydantic from pydantic import model_serializer from typing import Optional -from typing_extensions import NotRequired, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class DeploymentWorkerSpecResponseTypedDict(TypedDict): @@ -22,6 +24,7 @@ class DeploymentWorkerSpecResponseTypedDict(TypedDict): working_dir: NotRequired[Nullable[str]] restarted_at: NotRequired[Nullable[str]] commit_sha: NotRequired[Nullable[str]] + commit: NotRequired[Nullable[GitCommitMetadataTypedDict]] class DeploymentWorkerSpecResponse(BaseModel): @@ -37,7 +40,14 @@ class DeploymentWorkerSpecResponse(BaseModel): restarted_at: OptionalNullable[str] = UNSET - commit_sha: OptionalNullable[str] = UNSET + commit_sha: Annotated[ + OptionalNullable[str], + pydantic.Field( + deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." + ), + ] = UNSET + + commit: OptionalNullable[GitCommitMetadata] = UNSET @model_serializer(mode="wrap") def serialize_model(self, handler): @@ -49,10 +59,18 @@ def serialize_model(self, handler): "working_dir", "restarted_at", "commit_sha", + "commit", ] ) nullable_fields = set( - ["revision", "entrypoint", "working_dir", "restarted_at", "commit_sha"] + [ + "revision", + "entrypoint", + "working_dir", + "restarted_at", + "commit_sha", + "commit", + ] ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/extendedoauthservermetadata.py b/src/mistralai/client/models/extendedoauthservermetadata.py index e45827d56..91033c6a6 100644 --- a/src/mistralai/client/models/extendedoauthservermetadata.py +++ b/src/mistralai/client/models/extendedoauthservermetadata.py @@ -48,6 +48,7 @@ class ExtendedOAuthServerMetadataTypedDict(TypedDict): code_challenge_methods_supported: NotRequired[Nullable[List[str]]] client_id_metadata_document_supported: NotRequired[Nullable[bool]] x_resource_url: NotRequired[Nullable[str]] + x_scope: NotRequired[Nullable[str]] class ExtendedOAuthServerMetadata(BaseModel): @@ -109,6 +110,8 @@ class ExtendedOAuthServerMetadata(BaseModel): x_resource_url: OptionalNullable[str] = UNSET + x_scope: OptionalNullable[str] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -133,6 +136,7 @@ def serialize_model(self, handler): "code_challenge_methods_supported", "client_id_metadata_document_supported", "x_resource_url", + "x_scope", ] ) nullable_fields = set( @@ -156,6 +160,7 @@ def serialize_model(self, handler): "code_challenge_methods_supported", "client_id_metadata_document_supported", "x_resource_url", + "x_scope", ] ) serialized = handler(self) diff --git a/src/mistralai/client/models/gitcommitauthor.py b/src/mistralai/client/models/gitcommitauthor.py new file mode 100644 index 000000000..da0a0b760 --- /dev/null +++ b/src/mistralai/client/models/gitcommitauthor.py @@ -0,0 +1,52 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +# @generated-id: d400cc33a7a2 + +from __future__ import annotations +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict + + +class GitCommitAuthorTypedDict(TypedDict): + name: NotRequired[Nullable[str]] + username: NotRequired[Nullable[str]] + html_url: NotRequired[Nullable[str]] + + +class GitCommitAuthor(BaseModel): + name: OptionalNullable[str] = UNSET + + username: OptionalNullable[str] = UNSET + + html_url: OptionalNullable[str] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["name", "username", "html_url"]) + nullable_fields = set(["name", "username", "html_url"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/gitcommitmetadata.py b/src/mistralai/client/models/gitcommitmetadata.py new file mode 100644 index 000000000..da5a5ead7 --- /dev/null +++ b/src/mistralai/client/models/gitcommitmetadata.py @@ -0,0 +1,56 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +# @generated-id: 74d6a74eca43 + +from __future__ import annotations +from .gitcommitauthor import GitCommitAuthor, GitCommitAuthorTypedDict +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict + + +class GitCommitMetadataTypedDict(TypedDict): + sha: str + message: NotRequired[Nullable[str]] + author: NotRequired[Nullable[GitCommitAuthorTypedDict]] + html_url: NotRequired[Nullable[str]] + + +class GitCommitMetadata(BaseModel): + sha: str + + message: OptionalNullable[str] = UNSET + + author: OptionalNullable[GitCommitAuthor] = UNSET + + html_url: OptionalNullable[str] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["message", "author", "html_url"]) + nullable_fields = set(["message", "author", "html_url"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/inboundauthenticationtype.py b/src/mistralai/client/models/inboundauthenticationtype.py new file mode 100644 index 000000000..9e78a4995 --- /dev/null +++ b/src/mistralai/client/models/inboundauthenticationtype.py @@ -0,0 +1,8 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +# @generated-id: 0c9f48e0518f + +from __future__ import annotations +from typing import Literal + + +InboundAuthenticationType = Literal["webhook",] diff --git a/src/mistralai/client/models/oauth2metadatasecrets.py b/src/mistralai/client/models/oauth2metadatasecrets.py new file mode 100644 index 000000000..d624d9e22 --- /dev/null +++ b/src/mistralai/client/models/oauth2metadatasecrets.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +# @generated-id: 20d0c8c24a9d + +from __future__ import annotations +from mistralai.client.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from pydantic import model_serializer +from typing_extensions import NotRequired, TypedDict + + +class Oauth2MetadataSecretsTypedDict(TypedDict): + r"""OAuth2 client credentials stored alongside a connector's authentication method. + + Used by OAuth2 and Slack App auth types for token exchange and refresh flows. + Contains the client credentials obtained during OAuth2 Dynamic Client Registration + or provided at connector creation time. + """ + + client_id: NotRequired[Nullable[str]] + client_secret: NotRequired[Nullable[str]] + client_id_issued_at: NotRequired[Nullable[int]] + client_secret_expires_at: NotRequired[Nullable[int]] + + +class Oauth2MetadataSecrets(BaseModel): + r"""OAuth2 client credentials stored alongside a connector's authentication method. + + Used by OAuth2 and Slack App auth types for token exchange and refresh flows. + Contains the client credentials obtained during OAuth2 Dynamic Client Registration + or provided at connector creation time. + """ + + client_id: OptionalNullable[str] = UNSET + + client_secret: OptionalNullable[str] = UNSET + + client_id_issued_at: OptionalNullable[int] = UNSET + + client_secret_expires_at: OptionalNullable[int] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "client_id", + "client_secret", + "client_id_issued_at", + "client_secret_expires_at", + ] + ) + nullable_fields = set( + [ + "client_id", + "client_secret", + "client_id_issued_at", + "client_secret_expires_at", + ] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/mistralai/client/models/observabilityerrorcode.py b/src/mistralai/client/models/observabilityerrorcode.py index f2a63b130..310f3444a 100644 --- a/src/mistralai/client/models/observabilityerrorcode.py +++ b/src/mistralai/client/models/observabilityerrorcode.py @@ -53,6 +53,7 @@ "TEMPLATE_SYNTAX_ERROR", "PROJECT_NAME_ALREADY_EXISTS", "EVALUATION_NAME_ALREADY_EXISTS", + "OPTIMIZATION_TRIAL_KEY_ALREADY_EXISTS", "TRACES_FILTER_QUERY_PARSE_ERROR", "TRACE_NOT_FOUND", "SPAN_NOT_FOUND", diff --git a/src/mistralai/client/models/requestedservicetier.py b/src/mistralai/client/models/requestedservicetier.py new file mode 100644 index 000000000..50bb94a6c --- /dev/null +++ b/src/mistralai/client/models/requestedservicetier.py @@ -0,0 +1,11 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" +# @generated-id: 662ec7931b9e + +from __future__ import annotations +from typing import Literal + + +RequestedServiceTier = Literal[ + "auto", + "standard_only", +] diff --git a/src/mistralai/client/models/updateconnectorrequest.py b/src/mistralai/client/models/updateconnectorrequest.py index 8af8c8b44..1417e7f09 100644 --- a/src/mistralai/client/models/updateconnectorrequest.py +++ b/src/mistralai/client/models/updateconnectorrequest.py @@ -2,7 +2,10 @@ # @generated-id: a761cd154109 from __future__ import annotations -from .authdata import AuthData, AuthDataTypedDict +from .authenticationmethodcreateorupdaterequest import ( + AuthenticationMethodCreateOrUpdateRequest, + AuthenticationMethodCreateOrUpdateRequestTypedDict, +) from mistralai.client.types import ( BaseModel, Nullable, @@ -14,7 +17,7 @@ import pydantic from pydantic import model_serializer from pydantic.functional_validators import AfterValidator -from typing import Any, Dict, Literal, Optional +from typing import List, Literal, Optional from typing_extensions import Annotated, NotRequired, TypedDict @@ -32,10 +35,10 @@ class UpdateConnectorRequestTypedDict(TypedDict): protocol: Literal["mcp"] server: NotRequired[Nullable[str]] r"""New server url for your mcp connector.""" - headers: NotRequired[Nullable[Dict[str, Any]]] - r"""New headers for your mcp connector.""" - auth_data: NotRequired[Nullable[AuthDataTypedDict]] - r"""New authentication data for your mcp connector.""" + auth_methods: NotRequired[ + Nullable[List[AuthenticationMethodCreateOrUpdateRequestTypedDict]] + ] + r"""list of authentication methods to add to the connector or to update""" class UpdateConnectorRequest(BaseModel): @@ -62,11 +65,10 @@ class UpdateConnectorRequest(BaseModel): server: OptionalNullable[str] = UNSET r"""New server url for your mcp connector.""" - headers: OptionalNullable[Dict[str, Any]] = UNSET - r"""New headers for your mcp connector.""" - - auth_data: OptionalNullable[AuthData] = UNSET - r"""New authentication data for your mcp connector.""" + auth_methods: OptionalNullable[List[AuthenticationMethodCreateOrUpdateRequest]] = ( + UNSET + ) + r"""list of authentication methods to add to the connector or to update""" @model_serializer(mode="wrap") def serialize_model(self, handler): @@ -79,8 +81,7 @@ def serialize_model(self, handler): "system_prompt", "protocol", "server", - "headers", - "auth_data", + "auth_methods", ] ) nullable_fields = set( @@ -91,8 +92,7 @@ def serialize_model(self, handler): "icon_url", "system_prompt", "server", - "headers", - "auth_data", + "auth_methods", ] ) serialized = handler(self) diff --git a/src/mistralai/client/models/usageinfo.py b/src/mistralai/client/models/usageinfo.py index f23699d02..5b09dafad 100644 --- a/src/mistralai/client/models/usageinfo.py +++ b/src/mistralai/client/models/usageinfo.py @@ -20,6 +20,8 @@ class UsageInfoTypedDict(TypedDict): completion_tokens: NotRequired[int] total_tokens: NotRequired[int] prompt_audio_seconds: NotRequired[Nullable[int]] + service_tier: NotRequired[Nullable[str]] + r"""The service tier at which the request was processed: standard or priority.""" class UsageInfo(BaseModel): @@ -36,6 +38,9 @@ class UsageInfo(BaseModel): prompt_audio_seconds: OptionalNullable[int] = UNSET + service_tier: OptionalNullable[str] = UNSET + r"""The service tier at which the request was processed: standard or priority.""" + @property def additional_properties(self): return self.__pydantic_extra__ @@ -52,9 +57,10 @@ def serialize_model(self, handler): "completion_tokens", "total_tokens", "prompt_audio_seconds", + "service_tier", ] ) - nullable_fields = set(["prompt_audio_seconds"]) + nullable_fields = set(["prompt_audio_seconds", "service_tier"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/workflowexecutioncanceledattributes.py b/src/mistralai/client/models/workflowexecutioncanceledattributes.py index 6c06bfa93..69327cdc7 100644 --- a/src/mistralai/client/models/workflowexecutioncanceledattributes.py +++ b/src/mistralai/client/models/workflowexecutioncanceledattributes.py @@ -10,6 +10,7 @@ UNSET_SENTINEL, ) from pydantic import model_serializer +from typing import Optional from typing_extensions import NotRequired, TypedDict @@ -20,6 +21,8 @@ class WorkflowExecutionCanceledAttributesTypedDict(TypedDict): r"""Unique identifier for the task within the workflow execution.""" reason: NotRequired[Nullable[str]] r"""Optional reason provided for the cancellation.""" + attempt: NotRequired[int] + r"""Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries.""" class WorkflowExecutionCanceledAttributes(BaseModel): @@ -31,9 +34,12 @@ class WorkflowExecutionCanceledAttributes(BaseModel): reason: OptionalNullable[str] = UNSET r"""Optional reason provided for the cancellation.""" + attempt: Optional[int] = 1 + r"""Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["reason"]) + optional_fields = set(["reason", "attempt"]) nullable_fields = set(["reason"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/workflowexecutioncanceledresponse.py b/src/mistralai/client/models/workflowexecutioncanceledresponse.py index ee1c4e71a..05b261a25 100644 --- a/src/mistralai/client/models/workflowexecutioncanceledresponse.py +++ b/src/mistralai/client/models/workflowexecutioncanceledresponse.py @@ -29,6 +29,12 @@ class WorkflowExecutionCanceledResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class WorkflowExecutionCanceledResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class WorkflowExecutionCanceledResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/workflowexecutioncompletedattributesresponse.py b/src/mistralai/client/models/workflowexecutioncompletedattributesresponse.py index 1fe0c2487..f35e3007c 100644 --- a/src/mistralai/client/models/workflowexecutioncompletedattributesresponse.py +++ b/src/mistralai/client/models/workflowexecutioncompletedattributesresponse.py @@ -3,8 +3,10 @@ from __future__ import annotations from .jsonpayloadresponse import JSONPayloadResponse, JSONPayloadResponseTypedDict -from mistralai.client.types import BaseModel -from typing_extensions import TypedDict +from mistralai.client.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict class WorkflowExecutionCompletedAttributesResponseTypedDict(TypedDict): @@ -19,6 +21,8 @@ class WorkflowExecutionCompletedAttributesResponseTypedDict(TypedDict): When encrypted, the value field contains base64-encoded encrypted data and encoding_options indicates the type of encryption applied. """ + attempt: NotRequired[int] + r"""Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries.""" class WorkflowExecutionCompletedAttributesResponse(BaseModel): @@ -34,3 +38,22 @@ class WorkflowExecutionCompletedAttributesResponse(BaseModel): When encrypted, the value field contains base64-encoded encrypted data and encoding_options indicates the type of encryption applied. """ + + attempt: Optional[int] = 1 + r"""Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["attempt"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/mistralai/client/models/workflowexecutioncompletedresponse.py b/src/mistralai/client/models/workflowexecutioncompletedresponse.py index 17716668a..c58745b18 100644 --- a/src/mistralai/client/models/workflowexecutioncompletedresponse.py +++ b/src/mistralai/client/models/workflowexecutioncompletedresponse.py @@ -29,6 +29,12 @@ class WorkflowExecutionCompletedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class WorkflowExecutionCompletedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class WorkflowExecutionCompletedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/workflowexecutioncontinuedasnewresponse.py b/src/mistralai/client/models/workflowexecutioncontinuedasnewresponse.py index 0f60a5be6..aadb8a347 100644 --- a/src/mistralai/client/models/workflowexecutioncontinuedasnewresponse.py +++ b/src/mistralai/client/models/workflowexecutioncontinuedasnewresponse.py @@ -30,6 +30,12 @@ class WorkflowExecutionContinuedAsNewResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -61,6 +67,15 @@ class WorkflowExecutionContinuedAsNewResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -85,7 +100,14 @@ class WorkflowExecutionContinuedAsNewResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/workflowexecutionfailedattributes.py b/src/mistralai/client/models/workflowexecutionfailedattributes.py index 1e61f3444..440b6c7a3 100644 --- a/src/mistralai/client/models/workflowexecutionfailedattributes.py +++ b/src/mistralai/client/models/workflowexecutionfailedattributes.py @@ -3,8 +3,10 @@ from __future__ import annotations from .failure import Failure, FailureTypedDict -from mistralai.client.types import BaseModel -from typing_extensions import TypedDict +from mistralai.client.types import BaseModel, UNSET_SENTINEL +from pydantic import model_serializer +from typing import Optional +from typing_extensions import NotRequired, TypedDict class WorkflowExecutionFailedAttributesTypedDict(TypedDict): @@ -14,6 +16,8 @@ class WorkflowExecutionFailedAttributesTypedDict(TypedDict): r"""Unique identifier for the task within the workflow execution.""" failure: FailureTypedDict r"""Represents an error or exception that occurred during execution.""" + attempt: NotRequired[int] + r"""Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries.""" class WorkflowExecutionFailedAttributes(BaseModel): @@ -24,3 +28,22 @@ class WorkflowExecutionFailedAttributes(BaseModel): failure: Failure r"""Represents an error or exception that occurred during execution.""" + + attempt: Optional[int] = 1 + r"""Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries.""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["attempt"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/mistralai/client/models/workflowexecutionfailedresponse.py b/src/mistralai/client/models/workflowexecutionfailedresponse.py index 687d33a91..736f7e7b7 100644 --- a/src/mistralai/client/models/workflowexecutionfailedresponse.py +++ b/src/mistralai/client/models/workflowexecutionfailedresponse.py @@ -29,6 +29,12 @@ class WorkflowExecutionFailedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class WorkflowExecutionFailedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class WorkflowExecutionFailedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/workflowexecutionstartedattributesresponse.py b/src/mistralai/client/models/workflowexecutionstartedattributesresponse.py index 59746a615..728cc9544 100644 --- a/src/mistralai/client/models/workflowexecutionstartedattributesresponse.py +++ b/src/mistralai/client/models/workflowexecutionstartedattributesresponse.py @@ -11,6 +11,7 @@ UNSET_SENTINEL, ) from pydantic import model_serializer +from typing import Optional from typing_extensions import NotRequired, TypedDict @@ -30,6 +31,8 @@ class WorkflowExecutionStartedAttributesResponseTypedDict(TypedDict): """ display_name: NotRequired[Nullable[str]] r"""The user-friendly display name of the workflow, if available.""" + attempt: NotRequired[int] + r"""Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries.""" class WorkflowExecutionStartedAttributesResponse(BaseModel): @@ -52,9 +55,12 @@ class WorkflowExecutionStartedAttributesResponse(BaseModel): display_name: OptionalNullable[str] = UNSET r"""The user-friendly display name of the workflow, if available.""" + attempt: Optional[int] = 1 + r"""Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["display_name"]) + optional_fields = set(["display_name", "attempt"]) nullable_fields = set(["display_name"]) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/workflowexecutionstartedresponse.py b/src/mistralai/client/models/workflowexecutionstartedresponse.py index fa1e46a07..8da33ba63 100644 --- a/src/mistralai/client/models/workflowexecutionstartedresponse.py +++ b/src/mistralai/client/models/workflowexecutionstartedresponse.py @@ -29,6 +29,12 @@ class WorkflowExecutionStartedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -59,6 +65,15 @@ class WorkflowExecutionStartedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -83,7 +98,14 @@ class WorkflowExecutionStartedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/workflowtaskfailedresponse.py b/src/mistralai/client/models/workflowtaskfailedresponse.py index 154145e36..cda419763 100644 --- a/src/mistralai/client/models/workflowtaskfailedresponse.py +++ b/src/mistralai/client/models/workflowtaskfailedresponse.py @@ -30,6 +30,12 @@ class WorkflowTaskFailedResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -61,6 +67,15 @@ class WorkflowTaskFailedResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -85,7 +100,14 @@ class WorkflowTaskFailedResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} diff --git a/src/mistralai/client/models/workflowtasktimedoutresponse.py b/src/mistralai/client/models/workflowtasktimedoutresponse.py index 2c3350e09..457a8737b 100644 --- a/src/mistralai/client/models/workflowtasktimedoutresponse.py +++ b/src/mistralai/client/models/workflowtasktimedoutresponse.py @@ -30,6 +30,12 @@ class WorkflowTaskTimedOutResponseTypedDict(TypedDict): r"""Execution ID of the root workflow that initiated this execution chain.""" parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" workflow_run_id: str @@ -61,6 +67,15 @@ class WorkflowTaskTimedOutResponse(BaseModel): parent_workflow_exec_id: Nullable[str] r"""Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.""" + continued_run_id: Nullable[str] + r"""Run ID of the execution this run continued from. Non-null for continue-as-new runs.""" + + first_execution_run_id: Nullable[str] + r"""Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.""" + + schedule_id: Nullable[str] + r"""Temporal schedule ID that triggered this execution, if any.""" + workflow_exec_id: str r"""Execution ID of the workflow that emitted this event.""" @@ -85,7 +100,14 @@ class WorkflowTaskTimedOutResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set(["event_type"]) - nullable_fields = set(["parent_workflow_exec_id"]) + nullable_fields = set( + [ + "parent_workflow_exec_id", + "continued_run_id", + "first_execution_run_id", + "schedule_id", + ] + ) serialized = handler(self) m = {} From 5f72930d36d453aed87d174525ff00db976bbafc Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 11 Aug 2026 07:10:15 +0000 Subject: [PATCH 2/2] chore: align package version files to version 2.9.2 --- pyproject.toml | 2 +- uv.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fe683c288..de862b054 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "mistralai" -version = "2.9.1" +version = "2.9.2" description = "Python Client SDK for the Mistral AI API." authors = [{ name = "Mistral" }] requires-python = ">=3.10" diff --git a/uv.lock b/uv.lock index 5bd20ec8b..ab8f935b5 100644 --- a/uv.lock +++ b/uv.lock @@ -1047,7 +1047,7 @@ wheels = [ [[package]] name = "mistralai" -version = "2.9.1" +version = "2.9.2" source = { editable = "." } dependencies = [ { name = "eval-type-backport" }, @@ -1149,7 +1149,7 @@ requires-dist = [ { name = "opentelemetry-api", specifier = ">=1.33.1,<2.0.0" }, { name = "opentelemetry-exporter-otlp-proto-http", marker = "extra == 'telemetry'", specifier = ">=1.33.1,<2.0.0" }, { name = "opentelemetry-sdk", marker = "extra == 'telemetry'", specifier = ">=1.33.1,<2.0.0" }, - { name = "opentelemetry-semantic-conventions", specifier = ">=0.60b1,<0.61" }, + { name = "opentelemetry-semantic-conventions", specifier = ">=0.60b1" }, { name = "pydantic", specifier = ">=2.11.2" }, { name = "python-dateutil", specifier = ">=2.8.2" }, { name = "requests", marker = "extra == 'gcp'", specifier = ">=2.32.3" }, @@ -1168,7 +1168,7 @@ dev = [ { name = "msgpack", specifier = ">=1.1.0,<2.0.0" }, { name = "mypy", specifier = "==1.15.0" }, { name = "opentelemetry-exporter-otlp-proto-http", specifier = ">=1.33.1,<2.0.0" }, - { name = "opentelemetry-instrumentation-httpx", specifier = ">=0.60b1,<0.61" }, + { name = "opentelemetry-instrumentation-httpx", specifier = ">=0.60b1" }, { name = "opentelemetry-sdk", specifier = ">=1.33.1,<2.0.0" }, { name = "pylint", specifier = "==3.2.3" }, { name = "pytest", specifier = ">=8.2.2,<9" },