Skip to content
Closed
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
508 changes: 408 additions & 100 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.4.0
version: 2.4.1
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ sources:
- speakeasy-sdk-regen-1773084660
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:5a5b1104accc69fa8fca26e9abd7e089535bbffd20f667013984cbe9e9cf819d
sourceBlobDigest: sha256:3f88e405b674dc0f964605664fc15629b119a4481b08a5c8ac0e79dddcb19f91
sourceRevisionDigest: sha256:292e41f215fdb501214117d66f458c91a9a6c36133876c88e33f173d64821bb9
sourceBlobDigest: sha256:f9fde504222ac34b3d3153f507e7caf192ee8bc554bebb55c06b80f32bf1ef17
tags:
- latest
targets:
Expand All @@ -38,10 +38,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:5a5b1104accc69fa8fca26e9abd7e089535bbffd20f667013984cbe9e9cf819d
sourceBlobDigest: sha256:3f88e405b674dc0f964605664fc15629b119a4481b08a5c8ac0e79dddcb19f91
sourceRevisionDigest: sha256:292e41f215fdb501214117d66f458c91a9a6c36133876c88e33f173d64821bb9
sourceBlobDigest: sha256:f9fde504222ac34b3d3153f507e7caf192ee8bc554bebb55c06b80f32bf1ef17
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:4f85e638c528b022fb052ca92bb487df74eaa9fff37bc54a8bbe79474891e3d2
codeSamplesRevisionDigest: sha256:30d5b43bf7c48844afd1bd5fd1b7b611f0096794ec716cef2a3d37165e1188e7
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.761.1
Expand Down
18 changes: 16 additions & 2 deletions README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,16 @@ print(res.choices[0].message.content)
* [get_auth_url](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#get_auth_url) - Get the auth URL for a connector.
* [call_tool](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#call_tool) - Call Connector Tool
* [list_tools](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_tools) - List tools for a connector.
* [get_authentication_methods](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#get_authentication_methods) - Get authentication methods for a connector.
* [list_organization_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_organization_credentials) - List organization credentials for a connector.
* [create_or_update_organization_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#create_or_update_organization_credentials) - Create or update organization credentials for a connector.
* [list_workspace_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_workspace_credentials) - List workspace credentials for a connector.
* [create_or_update_workspace_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#create_or_update_workspace_credentials) - Create or update workspace credentials for a connector.
* [list_user_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#list_user_credentials) - List user credentials for a connector.
* [create_or_update_user_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#create_or_update_user_credentials) - Create or update user credentials for a connector.
* [delete_organization_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_organization_credentials) - Delete organization credentials for a connector.
* [delete_workspace_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_workspace_credentials) - Delete workspace credentials for a connector.
* [delete_user_credentials](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete_user_credentials) - Delete user credentials for a connector.
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#get) - Get a connector.
* [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#update) - Update a connector.
* [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/connectors/README.md#delete) - Delete a connector.
Expand Down Expand Up @@ -619,6 +629,10 @@ print(res.choices[0].message.content)
* [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/judges/README.md#update) - Update a judge
* [judge_conversation](https://github.com/mistralai/client-python/blob/main/docs/sdks/judges/README.md#judge_conversation) - Run a saved judge on a conversation

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

* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/ingestionpipelineconfigurations/README.md#list) - List ingestion pipeline configurations

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

* [complete](https://github.com/mistralai/client-python/blob/main/docs/sdks/chat/README.md#complete) - Chat Completion
Expand Down Expand Up @@ -940,8 +954,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 103 of 168 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 41 of 168 methods.*
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 112 of 179 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 41 of 179 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
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,16 @@ print(res.choices[0].message.content)
* [get_auth_url](docs/sdks/connectors/README.md#get_auth_url) - Get the auth URL for a connector.
* [call_tool](docs/sdks/connectors/README.md#call_tool) - Call Connector Tool
* [list_tools](docs/sdks/connectors/README.md#list_tools) - List tools for a connector.
* [get_authentication_methods](docs/sdks/connectors/README.md#get_authentication_methods) - Get authentication methods for a connector.
* [list_organization_credentials](docs/sdks/connectors/README.md#list_organization_credentials) - List organization credentials for a connector.
* [create_or_update_organization_credentials](docs/sdks/connectors/README.md#create_or_update_organization_credentials) - Create or update organization credentials for a connector.
* [list_workspace_credentials](docs/sdks/connectors/README.md#list_workspace_credentials) - List workspace credentials for a connector.
* [create_or_update_workspace_credentials](docs/sdks/connectors/README.md#create_or_update_workspace_credentials) - Create or update workspace credentials for a connector.
* [list_user_credentials](docs/sdks/connectors/README.md#list_user_credentials) - List user credentials for a connector.
* [create_or_update_user_credentials](docs/sdks/connectors/README.md#create_or_update_user_credentials) - Create or update user credentials for a connector.
* [delete_organization_credentials](docs/sdks/connectors/README.md#delete_organization_credentials) - Delete organization credentials for a connector.
* [delete_workspace_credentials](docs/sdks/connectors/README.md#delete_workspace_credentials) - Delete workspace credentials for a connector.
* [delete_user_credentials](docs/sdks/connectors/README.md#delete_user_credentials) - Delete user credentials for a connector.
* [get](docs/sdks/connectors/README.md#get) - Get a connector.
* [update](docs/sdks/connectors/README.md#update) - Update a connector.
* [delete](docs/sdks/connectors/README.md#delete) - Delete a connector.
Expand Down Expand Up @@ -619,6 +629,10 @@ print(res.choices[0].message.content)
* [update](docs/sdks/judges/README.md#update) - Update a judge
* [judge_conversation](docs/sdks/judges/README.md#judge_conversation) - Run a saved judge on a conversation

### [Beta.Rag.IngestionPipelineConfigurations](docs/sdks/ingestionpipelineconfigurations/README.md)

* [list](docs/sdks/ingestionpipelineconfigurations/README.md#list) - List ingestion pipeline configurations

### [Chat](docs/sdks/chat/README.md)

* [complete](docs/sdks/chat/README.md#complete) - Chat Completion
Expand Down Expand Up @@ -940,8 +954,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 103 of 168 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 168 methods.*
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 112 of 179 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 41 of 179 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
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -588,4 +588,14 @@ Based on:
### Generated
- [python v2.4.0] .
### Releases
- [PyPI v2.4.0] https://pypi.org/project/mistralai/2.4.0 - .
- [PyPI v2.4.0] https://pypi.org/project/mistralai/2.4.0 - .

## 2026-04-21 08:05:21
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.4.1] .
### Releases
- [PyPI v2.4.1] https://pypi.org/project/mistralai/2.4.1 - .
10 changes: 10 additions & 0 deletions docs/models/authenticationconfiguration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# AuthenticationConfiguration


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `name` | *str* | :heavy_check_mark: | N/A |
| `authentication_type` | [models.AuthenticationType](../models/authenticationtype.md) | :heavy_check_mark: | N/A |
| `is_default` | *Optional[bool]* | :heavy_minus_sign: | N/A |
19 changes: 19 additions & 0 deletions docs/models/authenticationtype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# AuthenticationType

## Example Usage

```python
from mistralai.client.models import AuthenticationType

# Open enum: unrecognized values are captured as UnrecognizedStr
value: AuthenticationType = "oauth2"
```


## Values

This is an open enum. Unrecognized values will not fail type checks.

- `"oauth2"`
- `"bearer"`
- `"none"`
1 change: 1 addition & 0 deletions docs/models/basefielddefinitiontype.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ This is an open enum. Unrecognized values will not fail type checks.
- `"BOOL"`
- `"TIMESTAMP"`
- `"ARRAY"`
- `"MAP"`
10 changes: 10 additions & 0 deletions docs/models/connectioncredentials.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ConnectionCredentials


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
| `oauth` | [OptionalNullable[models.OAuth2Token]](../models/oauth2token.md) | :heavy_minus_sign: | N/A |
| `headers` | Dict[str, *str*] | :heavy_minus_sign: | N/A |
| `bearer_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
3 changes: 1 addition & 2 deletions docs/models/connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
| `modified_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
| `server` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `auth_type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `tools` | List[[models.ConnectorTool](../models/connectortool.md)] | :heavy_minus_sign: | N/A |
| `auth_type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
10 changes: 10 additions & 0 deletions docs/models/connectorauthenticationheader.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ConnectorAuthenticationHeader


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `name` | *str* | :heavy_check_mark: | N/A |
| `is_required` | *Optional[bool]* | :heavy_minus_sign: | N/A |
| `is_secret` | *Optional[bool]* | :heavy_minus_sign: | N/A |
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ConnectorCreateOrUpdateOrganizationCredentialsV1Request


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A |
| `credentials_create_or_update` | [models.CredentialsCreateOrUpdate](../models/credentialscreateorupdate.md) | :heavy_check_mark: | N/A |
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ConnectorCreateOrUpdateUserCredentialsV1Request


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `connector_id_or_name` | *str* | :heavy_check_mark: | N/A |
| `credentials_create_or_update` | [models.CredentialsCreateOrUpdate](../models/credentialscreateorupdate.md) | :heavy_check_mark: | N/A |
Loading