You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every epilot API ships with a typed TypeScript client. Full types and IntelliSense out of the box.
12
+
:::
13
+
14
+
:::info
15
+
**Not using TypeScript?** All epilot APIs are published with standard [OpenAPI definitions](/api). You can generate a typed client in any language using tools like [openapi-generator](https://openapi-generator.tech/), [Speakeasy](https://speakeasyapi.dev/), or [Kiota](https://learn.microsoft.com/en-us/openapi/kiota/).
16
+
:::
17
+
18
+
import Tabs from '@theme/Tabs';
19
+
import TabItem from '@theme/TabItem';
20
+
21
+
## Install
22
+
23
+
<Tabs>
24
+
<TabItemvalue="npm"label="npm"default>
25
+
26
+
```bash
27
+
npm i @epilot/sdk axios openapi-client-axios
28
+
```
29
+
30
+
</TabItem>
31
+
<TabItemvalue="yarn"label="yarn">
32
+
33
+
```bash
34
+
yarn add @epilot/sdk axios openapi-client-axios
35
+
```
36
+
37
+
</TabItem>
38
+
<TabItemvalue="pnpm"label="pnpm">
39
+
40
+
```bash
41
+
pnpm add @epilot/sdk axios openapi-client-axios
42
+
```
43
+
44
+
</TabItem>
45
+
</Tabs>
46
+
47
+
10
48
`@epilot/sdk` is the official TypeScript SDK for the epilot platform. One package, 30+ API clients, full type safety.
11
49
50
+
12
51
-**Typed operations**: every endpoint has typed params and responses, generated from OpenAPI specs
13
52
-**Tree-shakeable**: import only the APIs you use; unused clients never touch your bundle
14
53
-**Lazy-loaded**: API specs are loaded on first use, not at import time
15
54
-**Batteries included**: automatic retries, large response handling, and auth management out of the box
16
55
-**Just an axios client**: every client is a standard [axios](https://axios-http.com/docs/intro) instance with typed methods from [openapi-client-axios](https://openapistack.co/docs/openapi-client-axios/intro/). Interceptors, defaults, and all other axios features work as expected.
0 commit comments