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
292 changes: 236 additions & 56 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 @@ -34,7 +34,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
typescript:
version: 2.6.2
version: 2.6.3
acceptHeaderEnum: true
additionalDependencies:
dependencies:
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-mistralai-gcp-sdk-regen-republish
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:5d604f8bee46f59eae32165470d5fa10143ecdd76da683b5a2f1df148f31b19e
sourceBlobDigest: sha256:7697ea237b99d8b459a7f3853b08046e1f94f07d1478196486c259f17697d135
sourceRevisionDigest: sha256:d0ce984b4c030ab9d532545d8935f6e4e12ab160e77dc5ca0b8d5924f7d78480
sourceBlobDigest: sha256:72d88796291d78aaa55ee4eb609cfc5f62065ee3795180d4d57404c72aa19657
tags:
- latest
targets:
Expand All @@ -38,10 +38,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:5d93cbe88cb71e9354b74a5d5824f9b57ac58f734f3270f6ee11dc92050cdc0b
codeSamplesRevisionDigest: sha256:51f0cd2c7c43ba5b578527d2e4e2966c4b480a114fa0cafc9adefdbbb53d37d3
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.763.6
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,8 @@ We have dedicated SDKs for the following providers:
### [Beta.Users](docs/sdks/users/README.md)

* [getIdentity](docs/sdks/users/README.md#getidentity) - Get Identity
* [listOrganizations](docs/sdks/users/README.md#listorganizations) - List Organizations
* [listWorkspaces](docs/sdks/users/README.md#listworkspaces) - List Workspaces

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

Expand Down Expand Up @@ -518,6 +520,10 @@ We have dedicated SDKs for the following providers:

* [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)

* [getWorkflows](docs/sdks/workflows/README.md#getworkflows) - Get Workflows
Expand Down Expand Up @@ -852,8 +858,8 @@ run();


**Inherit from [`MistralError`](./src/models/errors/mistralerror.ts)**:
* [`HTTPValidationError`](./src/models/errors/httpvalidationerror.ts): Validation Error. Status code `422`. Applicable to 145 of 244 methods.*
* [`ObservabilityError`](./src/models/errors/observabilityerror.ts): Bad Request - Invalid request parameters or data. Applicable to 59 of 244 methods.*
* [`HTTPValidationError`](./src/models/errors/httpvalidationerror.ts): Validation Error. Status code `422`. Applicable to 146 of 247 methods.*
* [`ObservabilityError`](./src/models/errors/observabilityerror.ts): Bad Request - Invalid request parameters or data. Applicable to 59 of 247 methods.*
* [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.

</details>
Expand Down Expand Up @@ -1206,6 +1212,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`betaSkillsUpdateMetadata`](docs/sdks/skills/README.md#updatemetadata) - UpdateSkill
- [`betaSkillsUpdateVersionMetadata`](docs/sdks/skills/README.md#updateversionmetadata) - UpdateSkillVersionMetadata
- [`betaUsersGetIdentity`](docs/sdks/users/README.md#getidentity) - Get Identity
- [`betaUsersListOrganizations`](docs/sdks/users/README.md#listorganizations) - List Organizations
- [`betaUsersListWorkspaces`](docs/sdks/users/README.md#listworkspaces) - List Workspaces
- [`chatComplete`](docs/sdks/chat/README.md#complete) - Chat Completion
- [`chatStream`](docs/sdks/chat/README.md#stream) - Stream chat completion
- [`classifiersClassify`](docs/sdks/classifiers/README.md#classify) - Classifications
Expand All @@ -1232,6 +1240,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`modelsUnarchive`](docs/sdks/models/README.md#unarchive) - Unarchive Fine Tuned Model
- [`modelsUpdate`](docs/sdks/models/README.md#update) - Update Fine Tuned Model
- [`ocrProcess`](docs/sdks/ocr/README.md#process) - OCR
- [`realtimeSessionsCreate`](docs/sdks/sessions/README.md#create) - Create Client Session
- [`workflowsArchiveWorkflow`](docs/sdks/workflows/README.md#archiveworkflow) - Archive Workflow
- [`workflowsBulkArchiveWorkflows`](docs/sdks/workflows/README.md#bulkarchiveworkflows) - Bulk Archive Workflows
- [`workflowsBulkUnarchiveWorkflows`](docs/sdks/workflows/README.md#bulkunarchiveworkflows) - Bulk Unarchive Workflows
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -488,4 +488,14 @@ Based on:
### Generated
- [typescript v2.6.2] .
### Releases
- [NPM v2.6.2] https://www.npmjs.com/package/@mistralai/mistralai/v/2.6.2 - .
- [NPM v2.6.2] https://www.npmjs.com/package/@mistralai/mistralai/v/2.6.2 - .

## 2026-08-13 15:50:42
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.763.6 (2.884.13) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v2.6.3] .
### Releases
- [NPM v2.6.3] https://www.npmjs.com/package/@mistralai/mistralai/v/2.6.3 - .
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ let value: AuthenticationMethodCreateOrUpdateRequest = {

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
| `methodType` | *components.MethodType* | :heavy_check_mark: | The type of authentication method (e.g. oauth2, bearer, none). |
| `authDirection` | [components.AuthDirection](../../models/components/authdirection.md) | :heavy_minus_sign: | N/A |
| `headers` | [components.ConnectorAuthenticationHeader](../../models/components/connectorauthenticationheader.md)[] | :heavy_minus_sign: | Set of headers to connect to the connector |
| `oauth2MetadataSecrets` | [components.Oauth2MetadataSecrets](../../models/components/oauth2metadatasecrets.md) | :heavy_minus_sign: | New OAuth2 client credentials (client_id and client_secret). |
| `oauth2ServerMetadata` | [components.ExtendedOAuthServerMetadata](../../models/components/extendedoauthservermetadata.md) | :heavy_minus_sign: | New OAuth2 authorization server metadata. |
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `methodType` | *components.MethodType* | :heavy_check_mark: | The type of authentication method (e.g. oauth2, bearer, none). |
| `authDirection` | [components.AuthDirection](../../models/components/authdirection.md) | :heavy_minus_sign: | N/A |
| `headers` | [components.ConnectorAuthenticationHeader](../../models/components/connectorauthenticationheader.md)[] | :heavy_minus_sign: | Set of headers to connect to the connector |
| `globalHeaders` | Record<string, [components.GlobalHeaderValue](../../models/components/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. |
| `oauth2MetadataSecrets` | [components.Oauth2MetadataSecrets](../../models/components/oauth2metadatasecrets.md) | :heavy_minus_sign: | New OAuth2 client credentials (client_id and client_secret). |
| `oauth2ServerMetadata` | [components.ExtendedOAuthServerMetadata](../../models/components/extendedoauthservermetadata.md) | :heavy_minus_sign: | New OAuth2 authorization server metadata. |
19 changes: 19 additions & 0 deletions docs/models/components/clientsecret.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# ClientSecret

## Example Usage

```typescript
import { ClientSecret } from "@mistralai/mistralai/models/components";

let value: ClientSecret = {
value: "nI5q2qQ429kygRW",
expiresAt: new Date("2025-09-06T12:49:13.227Z"),
};
```

## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| `value` | *string* | :heavy_check_mark: | N/A |
| `expiresAt` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A |
17 changes: 17 additions & 0 deletions docs/models/components/clientsessionpurpose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ClientSessionPurpose

Supported purposes for client sessions.

## Example Usage

```typescript
import { ClientSessionPurpose } from "@mistralai/mistralai/models/components";

let value: ClientSessionPurpose = "realtime";
```

## Values

```typescript
"realtime"
```
Loading
Loading