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
628 changes: 357 additions & 271 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.12
version: 2.4.13
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:f1ff6181c7e46c198d9640cfc832e69b3287eef1b8901dc1a8f4c310a16c0989
sourceBlobDigest: sha256:b1b70c5def499002662a58f9b986a4a424f46abfc21db555c039e1cc12fc3555
sourceRevisionDigest: sha256:c388b952cb16e3ac74bfacefbd71b3bcf68d516a943623beaf0a24cb064688f9
sourceBlobDigest: sha256:1544d486fd380743ad5769c3c244c645deb51d039940c1e055dde57095a3d494
tags:
- latest
- speakeasy-mistralai-sdk-27689953008-1
- speakeasy-mistralai-sdk-27822666725-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:f1ff6181c7e46c198d9640cfc832e69b3287eef1b8901dc1a8f4c310a16c0989
sourceBlobDigest: sha256:b1b70c5def499002662a58f9b986a4a424f46abfc21db555c039e1cc12fc3555
sourceRevisionDigest: sha256:c388b952cb16e3ac74bfacefbd71b3bcf68d516a943623beaf0a24cb064688f9
sourceBlobDigest: sha256:1544d486fd380743ad5769c3c244c645deb51d039940c1e055dde57095a3d494
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:220f7823e9d004e00764fa0aa1b4ec0c23c03f22eb51fa78e1ee4435589b764b
codeSamplesRevisionDigest: sha256:1155a1c5a093786356d54606c6edb16ce7ae0c5d68847c6b062c61ba36bb9cd7
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.763.6
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,8 @@ print(res.choices[0].message.content)

* [list_deployments](docs/sdks/deployments/README.md#list_deployments) - List Deployments
* [get_deployment](docs/sdks/deployments/README.md#get_deployment) - Get Deployment
* [get_deployment_logs](docs/sdks/deployments/README.md#get_deployment_logs) - Get Deployment Logs
* [stream_deployment_logs](docs/sdks/deployments/README.md#stream_deployment_logs) - Stream Deployment Logs

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

Expand Down Expand Up @@ -1010,8 +1012,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 140 of 223 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 57 of 223 methods.*
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 142 of 225 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 57 of 225 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 @@ -698,4 +698,14 @@ Based on:
### Generated
- [python v2.4.12] .
### Releases
- [PyPI v2.4.12] https://pypi.org/project/mistralai/2.4.12 - .
- [PyPI v2.4.12] https://pypi.org/project/mistralai/2.4.12 - .

## 2026-06-19 11:26:36
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.763.6 (2.884.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v2.4.13] .
### Releases
- [PyPI v2.4.13] https://pypi.org/project/mistralai/2.4.13 - .
12 changes: 6 additions & 6 deletions docs/models/credentialsstatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `status_type` | [models.AuthStatus](../models/authstatus.md) | :heavy_check_mark: | N/A |
| `last_checked_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A |
| `error_http_code` | [OptionalNullable[models.HTTPStatus]](../models/httpstatus.md) | :heavy_minus_sign: | N/A |
| `error_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `status_type` | [models.AuthStatus](../models/authstatus.md) | :heavy_check_mark: | N/A |
| `last_checked_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A |
| `error_http_code` | [OptionalNullable[models.HTTPStatus]](../models/httpstatus.md) | :heavy_minus_sign: | N/A |
| `error_message` | [OptionalNullable[models.CredentialsStatusErrorReason]](../models/credentialsstatuserrorreason.md) | :heavy_minus_sign: | N/A |
22 changes: 22 additions & 0 deletions docs/models/credentialsstatuserrorreason.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# CredentialsStatusErrorReason

## Example Usage

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

# Open enum: unrecognized values are captured as UnrecognizedStr
value: CredentialsStatusErrorReason = "oauth expired"
```


## Values

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

- `"oauth expired"`
- `"oauth near expiry"`
- `"empty credentials"`
- `"unparsable credentials"`
- `"you need to reconnect"`
- `"oauth refresh error"`
13 changes: 13 additions & 0 deletions docs/models/deploymentlogrecord.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# DeploymentLogRecord


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A |
| `trace_id` | *str* | :heavy_check_mark: | N/A |
| `span_id` | *str* | :heavy_check_mark: | N/A |
| `severity_text` | *str* | :heavy_check_mark: | N/A |
| `body` | *str* | :heavy_check_mark: | N/A |
| `log_attributes` | Dict[str, *str*] | :heavy_check_mark: | N/A |
9 changes: 9 additions & 0 deletions docs/models/deploymentlogsearchresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# DeploymentLogSearchResponse


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `results` | List[[models.DeploymentLogRecord](../models/deploymentlogrecord.md)] | :heavy_check_mark: | N/A |
| `next_cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
16 changes: 16 additions & 0 deletions docs/models/getdeploymentlogsorder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# GetDeploymentLogsOrder

First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when `cursor` is set.

## Example Usage

```python
from mistralai.client.models import GetDeploymentLogsOrder
value: GetDeploymentLogsOrder = "asc"
```


## Values

- `"asc"`
- `"desc"`
15 changes: 15 additions & 0 deletions docs/models/getdeploymentlogsrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# GetDeploymentLogsRequest


## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| `name` | *str* | :heavy_check_mark: | N/A |
| `worker_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter logs by worker name |
| `workflow_name` | *OptionalNullable[str]* | :heavy_minus_sign: | Filter logs by workflow name |
| `after` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Only return logs at or after this timestamp |
| `before` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | Only return logs before this timestamp |
| `order` | [Optional[models.GetDeploymentLogsOrder]](../models/getdeploymentlogsorder.md) | :heavy_minus_sign: | First-page sort order: 'asc' (oldest first) or 'desc'. Ignored when `cursor` is set. |
| `cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | Pagination cursor from a previous response's `next_cursor`; carries the window and order |
| `limit` | *Optional[int]* | :heavy_minus_sign: | Maximum number of logs to return |
11 changes: 11 additions & 0 deletions docs/models/getsearchindexdetailresponseindex.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# GetSearchIndexDetailResponseIndex


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `name` | *str* | :heavy_check_mark: | N/A |
| `vespa_version` | *Nullable[str]* | :heavy_check_mark: | N/A |
| `summary` | *Nullable[str]* | :heavy_check_mark: | N/A |
| `schemas` | List[[models.GetSearchIndexDetailResponseSchemaModel](../models/getsearchindexdetailresponseschemamodel.md)] | :heavy_check_mark: | N/A |
Loading
Loading