SDK Features

Type Safety
Polymorphism
OAuth 2.0
File uploads
Pagination
Server sent events
TypeScript
Python
Go
Java
C#
PHP
1
import { Mistral } from "@mistralai/mistralai";
2
3
const mistral = new Mistral({
4
apiKey: process.env["MISTRAL_API_KEY"] ?? "",
5
});
6
7
async function run() {
8
const result = await mistral.chat.complete({
9
model: "mistral-small-latest",
10
messages: [
11
{
12
role: ChatCompletionRole.User,
13
content: "What is the difference between OpenAPI & Swagger?",
14
},
15
],
16
});
17
18
// Handle the result
19
console.log(result);
20
}
21
22
run();

Trusted by top API companies

Gusto logoMistral logoVercel logoVerizon logoGlean logo

Speed Up API Integration

SDKs improve API integration times up to 60% by eliminating the need for users to write boring boilerplate code

Reduce API Support

Users who integrate with SDKs stay integrated. SDKs eliminate most common implementation mistakes

Reach New Users

SDKs make your API available to more potential users by embedding you in every programming language community
Example of type-safe SDK code with autocomplete and error checking, demonstrating how Speakeasy's SDKs provide comprehensive type safety for developers.

Type-Safe

Ship your SDK with true end to end type-safety
Visual depicting language experts collaborating on SDK design, illustrating how Speakeasy brings together expertise from multiple programming language communities.

Expert-crafted

Access the designs of experts from every language community

OpenAPI-native

Generate from the full OpenAPI spec without exception

Custom-built

Include custom SDK logic without impacting automation

Automated

Integrated CI/CD for generation & publishing