Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,029 changes: 819 additions & 210 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 2.10.0
version: 2.10.1
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.796.1
speakeasyVersion: 1.796.4
sources:
mistral-azure-source:
sourceNamespace: mistral-openapi-azure
Expand All @@ -16,8 +16,8 @@ sources:
- speakeasy-mistralai-gcp-sdk-26292830187-1
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:7e00433a9f9afac4042b008408e6dafa5871496d9bdf8e8d94fbf9d041a4e4e4
sourceBlobDigest: sha256:decdf2e5f849d723d70e5ed0627b00a4e856caaf4b255654fe649f20cbc1f3f5
sourceRevisionDigest: sha256:ad1adbc7f2f353506f09eca50c0b4e8b7fb67e957c5a10255fdc13d39326a8b7
sourceBlobDigest: sha256:48bb84a33d45aae9398fe68d784075714aee477a0db99cd13b064bab7957dd44
tags:
- latest
- 1.0.0
Expand All @@ -39,13 +39,13 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:7e00433a9f9afac4042b008408e6dafa5871496d9bdf8e8d94fbf9d041a4e4e4
sourceBlobDigest: sha256:decdf2e5f849d723d70e5ed0627b00a4e856caaf4b255654fe649f20cbc1f3f5
sourceRevisionDigest: sha256:ad1adbc7f2f353506f09eca50c0b4e8b7fb67e957c5a10255fdc13d39326a8b7
sourceBlobDigest: sha256:48bb84a33d45aae9398fe68d784075714aee477a0db99cd13b064bab7957dd44
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:5d773ddc575bc25eef38f775aa07159a7e74491ec038281d58cd721c834b14ed
codeSamplesRevisionDigest: sha256:16a44c72d8d7bbecf2b558d34615ffb4a639ab0cd29ecfe94500fc7786d69438
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.796.1
speakeasyVersion: 1.796.4
sources:
mistral-azure-source:
inputs:
Expand Down
17 changes: 14 additions & 3 deletions README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ print(res.choices[0].message.content)

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

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

### [Beta.Rag.ManagedIndexes](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md)

* [create](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#create) - Create a managed index
* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#list) - List managed indexes
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#get) - Get a managed index
* [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#update) - Update a managed index schema
* [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#delete) - Delete a managed index
* [ingest_documents](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#ingest_documents) - Ingest documents into a managed index
* [delete_documents](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#delete_documents) - Delete documents from a managed index
* [search](https://github.com/mistralai/client-python/blob/main/docs/sdks/managedindexes/README.md#search) - Search a managed index

### [Beta.Rag.SearchIndexes](https://github.com/mistralai/client-python/blob/main/docs/sdks/searchindexes/README.md)

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


**Inherit from [`MistralError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/mistralerror.py)**:
* [`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.*
* [`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.*
* [`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.*
* [`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.*
* [`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.

</details>
Expand Down
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ print(res.choices[0].message.content)

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

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

### [Beta.Rag.ManagedIndexes](docs/sdks/managedindexes/README.md)

* [create](docs/sdks/managedindexes/README.md#create) - Create a managed index
* [list](docs/sdks/managedindexes/README.md#list) - List managed indexes
* [get](docs/sdks/managedindexes/README.md#get) - Get a managed index
* [update](docs/sdks/managedindexes/README.md#update) - Update a managed index schema
* [delete](docs/sdks/managedindexes/README.md#delete) - Delete a managed index
* [ingest_documents](docs/sdks/managedindexes/README.md#ingest_documents) - Ingest documents into a managed index
* [delete_documents](docs/sdks/managedindexes/README.md#delete_documents) - Delete documents from a managed index
* [search](docs/sdks/managedindexes/README.md#search) - Search a managed index

### [Beta.Rag.SearchIndexes](docs/sdks/searchindexes/README.md)

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


**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 155 of 245 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 48 of 245 methods.*
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 162 of 253 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 48 of 253 methods.*
* [`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.

</details>
Expand Down
44 changes: 44 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -923,3 +923,47 @@ Based on:
- [python v2.10.0] .
### Releases
- [PyPI v2.10.0] https://pypi.org/project/mistralai/2.10.0 - .

## 2026-09-14 15:02:43
### API changes
Added (8):
- managedindexes.create
- managedindexes.delete
- managedindexes.delete_documents
- managedindexes.get
- managedindexes.ingest_documents
- managedindexes.list
- managedindexes.search
- managedindexes.update

### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.10.1] .
### Releases
- [PyPI v2.10.1] https://pypi.org/project/mistralai/2.10.1 - .

### ⚠️ Breaking changes

**Removed fields**
- `JudgeDefinition`: `model` and `prompt` removed. Now requires `slug`; optional `mapping: Dict[str, str]`.
- `PipelineConfig`, `CreatePipelineConfigRequest`, `UpdatePipelineConfigRequest`: `definition` replaced by required `definitions: List[PipelineConfigDefinition]`. `slug` and `group` removed. `definition_hash` also removed from `PipelineConfig`.
- `ListPipelineConfigsV1ObservabilityPipelineConfigsGetRequest`: `group` query parameter removed.

**New required fields**
- `chain_run_id: Nullable[str]` on all workflow and task event responses (`WorkflowExecution*`, `ActivityTask*`, `CustomTask*`, `WorkflowTask*`).
- `last_heartbeat: datetime` on `DeploymentResponse`, `DeploymentDetailResponse`, `DeploymentWorkerResponse`.
- `supports_mcp: bool` on `HTTPConnector` and `MCPConnector`.
- `type` on `VoiceResponse`, `managed_indexes` on `Rag`.

**Type changes**
- `search_keys` values are now nullable on `WorkflowExecutionResponse`, `WorkflowExecutionTraceEventsResponse`, `WorkflowExecutionTraceOTelResponse`, `WorkflowExecutionTraceSummaryResponse`: `Dict[str, str]` -> `Dict[str, Nullable[str]]`.
- `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.

**Deprecated**
- `updated_at` on the deployment models now emits a DeprecationWarning. Use `last_heartbeat`.

**Relaxed (non-breaking)**
- `ListServiceAccountsV1ServiceAccountsGetRequest.workspace_id` is now optional.
11 changes: 11 additions & 0 deletions docs/models/accepteddocumentresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AcceptedDocumentResponse


## Fields

| Field | Type | Required | Description |
| --------------------- | --------------------- | --------------------- | --------------------- |
| `status` | *Literal["accepted"]* | :heavy_check_mark: | N/A |
| `position` | *int* | :heavy_check_mark: | N/A |
| `document_id` | *str* | :heavy_check_mark: | N/A |
| `chunk_count` | *int* | :heavy_check_mark: | N/A |
Loading
Loading