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
288 changes: 228 additions & 60 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.9.2
version: 2.9.3
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ sources:
- speakeasy-mistralai-gcp-sdk-26292830187-1
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:5d604f8bee46f59eae32165470d5fa10143ecdd76da683b5a2f1df148f31b19e
sourceBlobDigest: sha256:7697ea237b99d8b459a7f3853b08046e1f94f07d1478196486c259f17697d135
sourceRevisionDigest: sha256:d0ce984b4c030ab9d532545d8935f6e4e12ab160e77dc5ca0b8d5924f7d78480
sourceBlobDigest: sha256:72d88796291d78aaa55ee4eb609cfc5f62065ee3795180d4d57404c72aa19657
tags:
- latest
- speakeasy-mistralai-sdk-31439429658-1
- speakeasy-mistralai-sdk-31716300632-1
targets:
mistralai-azure-sdk:
source: mistral-azure-source
Expand All @@ -39,10 +39,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:5d604f8bee46f59eae32165470d5fa10143ecdd76da683b5a2f1df148f31b19e
sourceBlobDigest: sha256:7697ea237b99d8b459a7f3853b08046e1f94f07d1478196486c259f17697d135
sourceRevisionDigest: sha256:d0ce984b4c030ab9d532545d8935f6e4e12ab160e77dc5ca0b8d5924f7d78480
sourceBlobDigest: sha256:72d88796291d78aaa55ee4eb609cfc5f62065ee3795180d4d57404c72aa19657
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:a59cce64a521156ff070c23b436edcf77ffd6354b2e74b07f3194918dab44007
codeSamplesRevisionDigest: sha256:724b545fa704fae1cf00637e8707f37543ddfa00bf96ed4a2d81198eca9715f4
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.763.6
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,8 @@ print(res.choices[0].message.content)
### [Beta.Users](docs/sdks/users/README.md)

* [get_identity](docs/sdks/users/README.md#get_identity) - Get Identity
* [list_organizations](docs/sdks/users/README.md#list_organizations) - List Organizations
* [list_workspaces](docs/sdks/users/README.md#list_workspaces) - List Workspaces

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

Expand Down Expand Up @@ -754,6 +756,10 @@ print(res.choices[0].message.content)

* [process](docs/sdks/ocr/README.md#process) - OCR

### [Realtime.Sessions](docs/sdks/sessions/README.md)

* [create](docs/sdks/sessions/README.md#create) - Create Client Session

### [Workflows](docs/sdks/workflows/README.md)

* [get_workflows](docs/sdks/workflows/README.md#get_workflows) - Get Workflows
Expand Down Expand Up @@ -1046,8 +1052,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 145 of 244 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 59 of 244 methods.*
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 146 of 247 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 59 of 247 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 @@ -828,4 +828,14 @@ Based on:
### Generated
- [python v2.9.2] .
### Releases
- [PyPI v2.9.2] https://pypi.org/project/mistralai/2.9.2 - .
- [PyPI v2.9.2] https://pypi.org/project/mistralai/2.9.2 - .

## 2026-08-13 15:36:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.763.6 (2.884.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.9.3] .
### Releases
- [PyPI v2.9.3] https://pypi.org/project/mistralai/2.9.3 - .
15 changes: 8 additions & 7 deletions docs/models/authenticationmethodcreateorupdaterequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@

## 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. |
| 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 |
| `global_headers` | Dict[str, [models.GlobalHeaderValue](../models/globalheadervalue.md)] | :heavy_minus_sign: | Connector-wide headers keyed by header name, applied to every credential. Secret values are encrypted at rest and never returned in clear. |
| `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. |
11 changes: 11 additions & 0 deletions docs/models/body.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Body


## Supported Types

### `models.CreateRealtimeSessionRequest`

```python
value: models.CreateRealtimeSessionRequest = /* values here */
```

9 changes: 9 additions & 0 deletions docs/models/clientsecret.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ClientSecret


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `value` | *str* | :heavy_check_mark: | N/A |
| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
15 changes: 15 additions & 0 deletions docs/models/clientsessionpurpose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ClientSessionPurpose

Supported purposes for client sessions.

## Example Usage

```python
from mistralai.client.models import ClientSessionPurpose
value: ClientSessionPurpose = "realtime"
```


## Values

- `"realtime"`
1 change: 1 addition & 0 deletions docs/models/createconnectorrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Standalone model that excludes internal-only fields (``hosted_internally``,
| `visibility` | [Optional[models.PublicResourceVisibility]](../models/publicresourcevisibility.md) | :heavy_minus_sign: | Visibility options available to public API callers.<br/><br/>Excludes ``shared_global`` which is reserved for system-owned connectors. |
| `server` | *str* | :heavy_check_mark: | The url of the MCP server. |
| `headers` | Dict[str, *Any*] | :heavy_minus_sign: | Optional organization-level headers to be sent with the request to the mcp server. |
| `global_headers` | Dict[str, [models.GlobalHeaderValue](../models/globalheadervalue.md)] | :heavy_minus_sign: | Optional connector-wide headers, keyed by header name, set at creation and applied to every credential. Secret values are encrypted at rest and never returned in clear. |
| `auth_data` | [OptionalNullable[models.AuthData]](../models/authdata.md) | :heavy_minus_sign: | Optional additional authentication data for the connector. |
| `oauth2_server_metadata` | [OptionalNullable[models.ExtendedOAuthServerMetadata]](../models/extendedoauthservermetadata.md) | :heavy_minus_sign: | Optional OAuth2 authorization server metadata (authorization_endpoint, token_endpoint, etc.). When provided, skips .well-known discovery and uses these endpoints directly. |
| `oauth2_server_metadata_url` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional URL to fetch OAuth2 authorization server metadata from (RFC 8414). When provided, the metadata is fetched from this URL and used instead of .well-known discovery. Mutually exclusive with oauth2_server_metadata. |
Expand Down
Loading
Loading