Skip to content

Commit 80e32d2

Browse files
mistral-warden[bot]maiengineeringandreaonofrei01
authored
chore: sync generated SDK from upstream (#622)
* chore: sync generated SDK from upstream @ eceffd8e Generated upstream and copied here. Do not edit in this repository; changes are overwritten by the next sync. * docs: note breaking changes in 2.10.1 release notes --------- Co-authored-by: Buildkite CI <engineering@mistral.ai> Co-authored-by: andreaonofrei01 <andrea.onofrei@mistral.ai>
1 parent 3653cd9 commit 80e32d2

235 files changed

Lines changed: 8847 additions & 916 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.speakeasy/gen.lock‎

Lines changed: 819 additions & 210 deletions
Large diffs are not rendered by default.

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generation:
3232
generateNewTests: false
3333
skipResponseBodyAssertions: false
3434
python:
35-
version: 2.10.0
35+
version: 2.10.1
3636
additionalDependencies:
3737
dev:
3838
pytest: ^8.2.2

‎.speakeasy/workflow.lock‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.796.1
1+
speakeasyVersion: 1.796.4
22
sources:
33
mistral-azure-source:
44
sourceNamespace: mistral-openapi-azure
@@ -16,8 +16,8 @@ sources:
1616
- speakeasy-mistralai-gcp-sdk-26292830187-1
1717
mistral-openapi:
1818
sourceNamespace: mistral-openapi
19-
sourceRevisionDigest: sha256:7e00433a9f9afac4042b008408e6dafa5871496d9bdf8e8d94fbf9d041a4e4e4
20-
sourceBlobDigest: sha256:decdf2e5f849d723d70e5ed0627b00a4e856caaf4b255654fe649f20cbc1f3f5
19+
sourceRevisionDigest: sha256:ad1adbc7f2f353506f09eca50c0b4e8b7fb67e957c5a10255fdc13d39326a8b7
20+
sourceBlobDigest: sha256:48bb84a33d45aae9398fe68d784075714aee477a0db99cd13b064bab7957dd44
2121
tags:
2222
- latest
2323
- 1.0.0
@@ -39,13 +39,13 @@ targets:
3939
mistralai-sdk:
4040
source: mistral-openapi
4141
sourceNamespace: mistral-openapi
42-
sourceRevisionDigest: sha256:7e00433a9f9afac4042b008408e6dafa5871496d9bdf8e8d94fbf9d041a4e4e4
43-
sourceBlobDigest: sha256:decdf2e5f849d723d70e5ed0627b00a4e856caaf4b255654fe649f20cbc1f3f5
42+
sourceRevisionDigest: sha256:ad1adbc7f2f353506f09eca50c0b4e8b7fb67e957c5a10255fdc13d39326a8b7
43+
sourceBlobDigest: sha256:48bb84a33d45aae9398fe68d784075714aee477a0db99cd13b064bab7957dd44
4444
codeSamplesNamespace: mistral-openapi-code-samples
45-
codeSamplesRevisionDigest: sha256:5d773ddc575bc25eef38f775aa07159a7e74491ec038281d58cd721c834b14ed
45+
codeSamplesRevisionDigest: sha256:16a44c72d8d7bbecf2b558d34615ffb4a639ab0cd29ecfe94500fc7786d69438
4646
workflow:
4747
workflowVersion: 1.0.0
48-
speakeasyVersion: 1.796.1
48+
speakeasyVersion: 1.796.4
4949
sources:
5050
mistral-azure-source:
5151
inputs:

‎README-PYPI.md‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ print(res.choices[0].message.content)
480480

481481
### [Audio.Voices](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md)
482482

483-
* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#list) - List all voices
483+
* [~~list~~](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#list) - List all voices :warning: **Deprecated**
484484
* [create](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#create) - Create a new voice
485485
* [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#delete) - Delete a custom voice
486486
* [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/voices/README.md#update) - Update voice metadata
@@ -667,6 +667,17 @@ print(res.choices[0].message.content)
667667
* [register](https://github.com/mistralai/client-python/blob/main/docs/sdks/ingestionpipelineconfigurations/README.md#register) - Register Config
668668
* [update_run_info](https://github.com/mistralai/client-python/blob/main/docs/sdks/ingestionpipelineconfigurations/README.md#update_run_info) - Update Run Info
669669

670+
### [Beta.Rag.ManagedIndexes](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md)
671+
672+
* [create](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#create) - Create a managed index
673+
* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#list) - List managed indexes
674+
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#get) - Get a managed index
675+
* [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#update) - Update a managed index schema
676+
* [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#delete) - Delete a managed index
677+
* [ingest_documents](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#ingest_documents) - Ingest documents into a managed index
678+
* [delete_documents](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#delete_documents) - Delete documents from a managed index
679+
* [search](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#search) - Search a managed index
680+
670681
### [Beta.Rag.SearchIndexes](https://github.com/mistralai/client-python/blob/main/docs/sdks/searchindexes/README.md)
671682

672683
* [get_deployment_summaries](https://github.com/mistralai/client-python/blob/main/docs/sdks/searchindexes/README.md#get_deployment_summaries) - Get Deployment Summaries
@@ -1043,8 +1054,8 @@ with Mistral(
10431054

10441055

10451056
**Inherit from [`MistralError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/mistralerror.py)**:
1046-
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 155 of 245 methods.*
1047-
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 48 of 245 methods.*
1057+
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 162 of 253 methods.*
1058+
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 48 of 253 methods.*
10481059
* [`ResponseValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
10491060

10501061
</details>

‎README.md‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ print(res.choices[0].message.content)
480480

481481
### [Audio.Voices](docs/sdks/voices/README.md)
482482

483-
* [list](docs/sdks/voices/README.md#list) - List all voices
483+
* [~~list~~](docs/sdks/voices/README.md#list) - List all voices :warning: **Deprecated**
484484
* [create](docs/sdks/voices/README.md#create) - Create a new voice
485485
* [delete](docs/sdks/voices/README.md#delete) - Delete a custom voice
486486
* [update](docs/sdks/voices/README.md#update) - Update voice metadata
@@ -667,6 +667,17 @@ print(res.choices[0].message.content)
667667
* [register](docs/sdks/ingestionpipelineconfigurations/README.md#register) - Register Config
668668
* [update_run_info](docs/sdks/ingestionpipelineconfigurations/README.md#update_run_info) - Update Run Info
669669

670+
### [Beta.Rag.ManagedIndexes](docs/sdks/managedindexes/README.md)
671+
672+
* [create](docs/sdks/managedindexes/README.md#create) - Create a managed index
673+
* [list](docs/sdks/managedindexes/README.md#list) - List managed indexes
674+
* [get](docs/sdks/managedindexes/README.md#get) - Get a managed index
675+
* [update](docs/sdks/managedindexes/README.md#update) - Update a managed index schema
676+
* [delete](docs/sdks/managedindexes/README.md#delete) - Delete a managed index
677+
* [ingest_documents](docs/sdks/managedindexes/README.md#ingest_documents) - Ingest documents into a managed index
678+
* [delete_documents](docs/sdks/managedindexes/README.md#delete_documents) - Delete documents from a managed index
679+
* [search](docs/sdks/managedindexes/README.md#search) - Search a managed index
680+
670681
### [Beta.Rag.SearchIndexes](docs/sdks/searchindexes/README.md)
671682

672683
* [get_deployment_summaries](docs/sdks/searchindexes/README.md#get_deployment_summaries) - Get Deployment Summaries
@@ -1043,8 +1054,8 @@ with Mistral(
10431054

10441055

10451056
**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
1046-
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 155 of 245 methods.*
1047-
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 48 of 245 methods.*
1057+
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 162 of 253 methods.*
1058+
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 48 of 253 methods.*
10481059
* [`ResponseValidationError`](./src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
10491060

10501061
</details>

‎RELEASES.md‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,3 +923,47 @@ Based on:
923923
- [python v2.10.0] .
924924
### Releases
925925
- [PyPI v2.10.0] https://pypi.org/project/mistralai/2.10.0 - .
926+
927+
## 2026-09-14 15:02:43
928+
### API changes
929+
Added (8):
930+
- managedindexes.create
931+
- managedindexes.delete
932+
- managedindexes.delete_documents
933+
- managedindexes.get
934+
- managedindexes.ingest_documents
935+
- managedindexes.list
936+
- managedindexes.search
937+
- managedindexes.update
938+
939+
### Changes
940+
Based on:
941+
- OpenAPI Doc
942+
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
943+
### Generated
944+
- [python v2.10.1] .
945+
### Releases
946+
- [PyPI v2.10.1] https://pypi.org/project/mistralai/2.10.1 - .
947+
948+
### ⚠️ Breaking changes
949+
950+
**Removed fields**
951+
- `JudgeDefinition`: `model` and `prompt` removed. Now requires `slug`; optional `mapping: Dict[str, str]`.
952+
- `PipelineConfig`, `CreatePipelineConfigRequest`, `UpdatePipelineConfigRequest`: `definition` replaced by required `definitions: List[PipelineConfigDefinition]`. `slug` and `group` removed. `definition_hash` also removed from `PipelineConfig`.
953+
- `ListPipelineConfigsV1ObservabilityPipelineConfigsGetRequest`: `group` query parameter removed.
954+
955+
**New required fields**
956+
- `chain_run_id: Nullable[str]` on all workflow and task event responses (`WorkflowExecution*`, `ActivityTask*`, `CustomTask*`, `WorkflowTask*`).
957+
- `last_heartbeat: datetime` on `DeploymentResponse`, `DeploymentDetailResponse`, `DeploymentWorkerResponse`.
958+
- `supports_mcp: bool` on `HTTPConnector` and `MCPConnector`.
959+
- `type` on `VoiceResponse`, `managed_indexes` on `Rag`.
960+
961+
**Type changes**
962+
- `search_keys` values are now nullable on `WorkflowExecutionResponse`, `WorkflowExecutionTraceEventsResponse`, `WorkflowExecutionTraceOTelResponse`, `WorkflowExecutionTraceSummaryResponse`: `Dict[str, str]` -> `Dict[str, Nullable[str]]`.
963+
- `And` and `Or` are objects again (`type`, `matches`) after being removed in 2.10.0. They were union aliases of `FilterGroup | FilterCondition` in 2.9.x.
964+
965+
**Deprecated**
966+
- `updated_at` on the deployment models now emits a DeprecationWarning. Use `last_heartbeat`.
967+
968+
**Relaxed (non-breaking)**
969+
- `ListServiceAccountsV1ServiceAccountsGetRequest.workspace_id` is now optional.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AcceptedDocumentResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| --------------------- | --------------------- | --------------------- | --------------------- |
8+
| `status` | *Literal["accepted"]* | :heavy_check_mark: | N/A |
9+
| `position` | *int* | :heavy_check_mark: | N/A |
10+
| `document_id` | *str* | :heavy_check_mark: | N/A |
11+
| `chunk_count` | *int* | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)