Skip to content

Commit d871b05

Browse files
authored
Merge pull request #177 from togethercomputer/release-please--branches--main--changes--next--components--together-ai
release: 0.17.0
2 parents a67a931 + 875609b commit d871b05

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1926
-454
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ on:
77
- 'integrated/**'
88
- 'stl-preview-head/**'
99
- 'stl-preview-base/**'
10+
pull_request:
11+
branches-ignore:
12+
- 'stl-preview-head/**'
13+
- 'stl-preview-base/**'
1014

1115
jobs:
1216
lint:
1317
timeout-minutes: 10
1418
name: lint
1519
runs-on: ${{ github.repository == 'stainless-sdks/togetherai-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
1621
steps:
1722
- uses: actions/checkout@v4
1823

@@ -31,6 +36,7 @@ jobs:
3136
timeout-minutes: 5
3237
name: build
3338
runs-on: ${{ github.repository == 'stainless-sdks/togetherai-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
39+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
3440
permissions:
3541
contents: read
3642
id-token: write
@@ -66,13 +72,14 @@ jobs:
6672
timeout-minutes: 10
6773
name: test
6874
runs-on: ${{ github.repository == 'stainless-sdks/togetherai-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
75+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
6976
steps:
7077
- uses: actions/checkout@v4
7178

7279
- name: Set up Node
7380
uses: actions/setup-node@v4
7481
with:
75-
node-version: '18'
82+
node-version: '20'
7683

7784
- name: Bootstrap
7885
run: ./scripts/bootstrap

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '18'
22+
node-version: '20'
2323

2424
- name: Install dependencies
2525
run: |

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.16.0"
2+
".": "0.17.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 28
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-c949fc43297a5155ea4c433179ee6f0822e25a351f180a5539871687daead7ad.yml
3-
openapi_spec_hash: ca24d10b37e987becfd16b30ea342459
4-
config_hash: a60b100624e80dc8d9144e7bc306f5ce
1+
configured_endpoints: 33
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-0587b28a7ae7d241b442a774d024d83dc7d3aaea6d51ecc9bb825888f53a60ce.yml
3+
openapi_spec_hash: 2bccc6c37221bacda7bc3f486fc4684d
4+
config_hash: ae07f8cefe84a8a01ae2d0c8ddc2ef32

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,65 @@
11
# Changelog
22

3+
## 0.17.0 (2025-07-03)
4+
5+
Full Changelog: [v0.16.0...v0.17.0](https://github.com/togethercomputer/together-typescript/compare/v0.16.0...v0.17.0)
6+
7+
### Features
8+
9+
* **api:** add batch api to config ([6bf62dd](https://github.com/togethercomputer/together-typescript/commit/6bf62dd3d983873c0321ca97f780b898be85f7c5))
10+
* **api:** Add file_type and file_purpose ([f91fb18](https://github.com/togethercomputer/together-typescript/commit/f91fb1855454afb6ddda0484ee6cd385e10097b0))
11+
* **api:** add files/upload apu support and switch upload_file method over to use it. ([5e60c99](https://github.com/togethercomputer/together-typescript/commit/5e60c99098e3046f9e0d540f0ae29c13eac413f7))
12+
* **api:** address diagnostic issues in audio api, correct openapi issue in images api, disambiguate a response in finetune api, enable automated testing on finetune and images ([9131477](https://github.com/togethercomputer/together-typescript/commit/9131477f5980d16c3d6dc1f3b9d2dcf21895358d))
13+
* **api:** api update ([0f63bf1](https://github.com/togethercomputer/together-typescript/commit/0f63bf166570b12a6ab71f1f6778fefb2409a5b5))
14+
* **api:** api update ([cc8b7a8](https://github.com/togethercomputer/together-typescript/commit/cc8b7a8971d28a5214fb1edd5ba211d9ddebdf49))
15+
* **api:** api update ([1df5bbe](https://github.com/togethercomputer/together-typescript/commit/1df5bbe5c565106587672364f72975bca01770a8))
16+
* **api:** api update ([0b81ef9](https://github.com/togethercomputer/together-typescript/commit/0b81ef9c6645a6b92513ea1ad641542d1a9cbfdd))
17+
* **api:** api update ([fd4611d](https://github.com/togethercomputer/together-typescript/commit/fd4611d598c597a521b4aa7114d9f6c586ed4966))
18+
* **api:** api update ([ea28f8f](https://github.com/togethercomputer/together-typescript/commit/ea28f8f18912118374ff7c6dbdf54301da3a64f8))
19+
* **api:** api update ([9d7d2f1](https://github.com/togethercomputer/together-typescript/commit/9d7d2f11e150bd3e0ec1ba9a6ccc33d27679bdc3))
20+
* **api:** api update ([f52b93d](https://github.com/togethercomputer/together-typescript/commit/f52b93dfe3968326efefc5624beea20549656e10))
21+
* **api:** api update ([ebf6451](https://github.com/togethercomputer/together-typescript/commit/ebf64513ab30e86579e8212042784c8dec1ad1c1))
22+
* **api:** api update ([e50cdb2](https://github.com/togethercomputer/together-typescript/commit/e50cdb2d9a23607ba1c386f3b1739d66231f4590))
23+
* **api:** api update ([158a5c8](https://github.com/togethercomputer/together-typescript/commit/158a5c89456605a303c55d4577d7e11d5dd847b1))
24+
* **api:** Formatting fixes, some lint fixes ([6b6fc13](https://github.com/togethercomputer/together-typescript/commit/6b6fc137c34f63bbf356df610b2b198aa9109bb0))
25+
* **api:** get test_code_interpreter passing ([b67a035](https://github.com/togethercomputer/together-typescript/commit/b67a035ebad8c3764c4a9b6919f302bfd19573cf))
26+
* **api:** update spec / config to remove remaining codegen warnings ([1665d1f](https://github.com/togethercomputer/together-typescript/commit/1665d1f80c707b45d204997872fdcee741517861))
27+
* **api:** Update spec and config to get all tests except code-interpolation an fine_tune unit tests working. ([1cb0018](https://github.com/togethercomputer/together-typescript/commit/1cb001870511f924acaee1bf67aad683abce9d22))
28+
* **client:** add support for endpoint-specific base URLs ([41abee6](https://github.com/togethercomputer/together-typescript/commit/41abee6d1498a6695644adc6e2c3286403612998))
29+
30+
31+
### Bug Fixes
32+
33+
* **ci:** release-doctor — report correct token name ([38fdf05](https://github.com/togethercomputer/together-typescript/commit/38fdf059359e309e5dee1e1d627644eeb1193eff))
34+
* **client:** don't send `Content-Type` for bodyless methods ([4104dc3](https://github.com/togethercomputer/together-typescript/commit/4104dc3d84e838d816af11ba0309eb7cadc564af))
35+
* publish script — handle NPM errors correctly ([78d1a5c](https://github.com/togethercomputer/together-typescript/commit/78d1a5c718bbf5a2e2cd2cee8f850cc23cd1f690))
36+
* **tests:** format ([82fad3c](https://github.com/togethercomputer/together-typescript/commit/82fad3cbfffd2bf042b07e34033d03d2390a34b8))
37+
* **tests:** remove unused tests ([bb90a25](https://github.com/togethercomputer/together-typescript/commit/bb90a25b0433b454d19a77d45822618e46203878))
38+
39+
40+
### Chores
41+
42+
* **api:** re-enable audio unit tests ([5ac5b53](https://github.com/togethercomputer/together-typescript/commit/5ac5b5332379c2f86bd2048edb914461cd3e76f2))
43+
* **ci:** bump node version for release workflows ([681d96e](https://github.com/togethercomputer/together-typescript/commit/681d96e81cbdaa50d27519377ced7496574a49cd))
44+
* **ci:** enable for pull requests ([b3c7e61](https://github.com/togethercomputer/together-typescript/commit/b3c7e615f530ee0acaf7554e080f8f2e97e7c3d5))
45+
* **ci:** only run for pushes and fork pull requests ([448b1fa](https://github.com/togethercomputer/together-typescript/commit/448b1faa36bbd70f2a608b19aeb564e28043630d))
46+
* **docs:** grammar improvements ([c9d78f6](https://github.com/togethercomputer/together-typescript/commit/c9d78f63e644492be7b0388acb8c5bc383f9fbf7))
47+
* **docs:** use top-level-await in example snippets ([815f983](https://github.com/togethercomputer/together-typescript/commit/815f983932dfcc212c2e5d1efd46318d62c8eb7b))
48+
* improve publish-npm script --latest tag logic ([1025321](https://github.com/togethercomputer/together-typescript/commit/102532181512dfe468208e12e64cff2961d59fca))
49+
* **internal:** make base APIResource abstract ([d031002](https://github.com/togethercomputer/together-typescript/commit/d03100298d3a8815c6f9804e9f5c6d58d62a4ec5))
50+
* mention unit type in timeout docs ([488c92c](https://github.com/togethercomputer/together-typescript/commit/488c92ca13366d7554db85e163a6504f65900cf6))
51+
52+
53+
### Documentation
54+
55+
* add examples to tsdocs ([64cbec4](https://github.com/togethercomputer/together-typescript/commit/64cbec43bd51f4e4c9bcb41a32aad78657f9a9c3))
56+
* **readme:** fix typo ([0b6aea3](https://github.com/togethercomputer/together-typescript/commit/0b6aea385fe6123df3d2116f80110d37852a0575))
57+
58+
59+
### Refactors
60+
61+
* **types:** replace Record with mapped types ([07b8800](https://github.com/togethercomputer/together-typescript/commit/07b88009b94e6654768c60e1890d1d888746ab6f))
62+
363
## 0.16.0 (2025-04-28)
464

565
Full Changelog: [v0.15.2...v0.16.0](https://github.com/togethercomputer/together-typescript/compare/v0.15.2...v0.16.0)

README.md

Lines changed: 75 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,12 @@ const client = new Together({
2626
apiKey: process.env['TOGETHER_API_KEY'], // This is the default and can be omitted
2727
});
2828

29-
async function main() {
30-
const chatCompletion = await client.chat.completions.create({
31-
messages: [{ role: 'user', content: 'Say this is a test!' }],
32-
model: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
33-
});
34-
35-
console.log(chatCompletion.choices);
36-
}
29+
const chatCompletion = await client.chat.completions.create({
30+
messages: [{ role: 'user', content: 'Say this is a test!' }],
31+
model: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
32+
});
3733

38-
main();
34+
console.log(chatCompletion.choices);
3935
```
4036

4137
## Streaming responses
@@ -72,19 +68,65 @@ const client = new Together({
7268
apiKey: process.env['TOGETHER_API_KEY'], // This is the default and can be omitted
7369
});
7470

75-
async function main() {
76-
const params: Together.Chat.CompletionCreateParams = {
77-
messages: [{ role: 'user', content: 'Say this is a test' }],
78-
model: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
79-
};
80-
const chatCompletion: Together.Chat.ChatCompletion = await client.chat.completions.create(params);
81-
}
82-
83-
main();
71+
const params: Together.Chat.CompletionCreateParams = {
72+
messages: [{ role: 'user', content: 'Say this is a test' }],
73+
model: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
74+
};
75+
const chatCompletion: Together.Chat.ChatCompletion = await client.chat.completions.create(params);
8476
```
8577

8678
Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
8779

80+
## File uploads
81+
82+
Request parameters that correspond to file uploads can be passed in many different forms:
83+
84+
- `File` (or an object with the same structure)
85+
- a `fetch` `Response` (or an object with the same structure)
86+
- an `fs.ReadStream`
87+
- the return value of our `toFile` helper
88+
89+
```ts
90+
import fs from 'fs';
91+
import fetch from 'node-fetch';
92+
import Together, { toFile } from 'together-ai';
93+
94+
const client = new Together();
95+
96+
// If you have access to Node `fs` we recommend using `fs.createReadStream()`:
97+
await client.files.upload({
98+
file: fs.createReadStream('/path/to/file'),
99+
file_name: 'dataset.csv',
100+
purpose: 'fine-tune',
101+
});
102+
103+
// Or if you have the web `File` API you can pass a `File` instance:
104+
await client.files.upload({
105+
file: new File(['my bytes'], 'file'),
106+
file_name: 'dataset.csv',
107+
purpose: 'fine-tune',
108+
});
109+
110+
// You can also pass a `fetch` `Response`:
111+
await client.files.upload({
112+
file: await fetch('https://somesite/file'),
113+
file_name: 'dataset.csv',
114+
purpose: 'fine-tune',
115+
});
116+
117+
// Finally, if none of the above are convenient, you can use our `toFile` helper:
118+
await client.files.upload({
119+
file: await toFile(Buffer.from('my bytes'), 'file'),
120+
file_name: 'dataset.csv',
121+
purpose: 'fine-tune',
122+
});
123+
await client.files.upload({
124+
file: await toFile(new Uint8Array([0, 1, 2]), 'file'),
125+
file_name: 'dataset.csv',
126+
purpose: 'fine-tune',
127+
});
128+
```
129+
88130
## Handling errors
89131

90132
When the library is unable to connect to the API,
@@ -93,27 +135,23 @@ a subclass of `APIError` will be thrown:
93135

94136
<!-- prettier-ignore -->
95137
```ts
96-
async function main() {
97-
const chatCompletion = await client.chat.completions
98-
.create({
99-
messages: [{ role: 'user', content: 'Say this is a test' }],
100-
model: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
101-
})
102-
.catch(async (err) => {
103-
if (err instanceof Together.APIError) {
104-
console.log(err.status); // 400
105-
console.log(err.name); // BadRequestError
106-
console.log(err.headers); // {server: 'nginx', ...}
107-
} else {
108-
throw err;
109-
}
110-
});
111-
}
112-
113-
main();
138+
const chatCompletion = await client.chat.completions
139+
.create({
140+
messages: [{ role: 'user', content: 'Say this is a test' }],
141+
model: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
142+
})
143+
.catch(async (err) => {
144+
if (err instanceof Together.APIError) {
145+
console.log(err.status); // 400
146+
console.log(err.name); // BadRequestError
147+
console.log(err.headers); // {server: 'nginx', ...}
148+
} else {
149+
throw err;
150+
}
151+
});
114152
```
115153

116-
Error codes are as followed:
154+
Error codes are as follows:
117155

118156
| Status Code | Error Type |
119157
| ----------- | -------------------------- |

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ before making any information public.
1616
## Reporting Non-SDK Related Security Issues
1717

1818
If you encounter security issues that are not directly related to SDKs but pertain to the services
19-
or products provided by Together please follow the respective company's security reporting guidelines.
19+
or products provided by Together, please follow the respective company's security reporting guidelines.
2020

2121
### Together Terms and Policies
2222

23-
Please contact [email protected] for any questions or concerns regarding security of our services.
23+
Please contact [email protected] for any questions or concerns regarding the security of our services.
2424

2525
---
2626

api.md

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Types:
2525
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionToolMessageParam</a></code>
2626
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionStructuredMessageImageURL</a></code>
2727
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionStructuredMessageText</a></code>
28+
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionStructuredMessageVideoURL</a></code>
2829
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionUsage</a></code>
2930
- <code><a href="./src/resources/chat/completions.ts">ChatCompletionUserMessageParam</a></code>
3031

@@ -37,6 +38,7 @@ Methods:
3738
Types:
3839

3940
- <code><a href="./src/resources/completions.ts">Completion</a></code>
41+
- <code><a href="./src/resources/completions.ts">CompletionChunk</a></code>
4042
- <code><a href="./src/resources/completions.ts">LogProbs</a></code>
4143
- <code><a href="./src/resources/completions.ts">ToolChoice</a></code>
4244
- <code><a href="./src/resources/completions.ts">Tools</a></code>
@@ -60,34 +62,50 @@ Methods:
6062
Types:
6163

6264
- <code><a href="./src/resources/files.ts">FileObject</a></code>
65+
- <code><a href="./src/resources/files.ts">FilePurpose</a></code>
66+
- <code><a href="./src/resources/files.ts">FileType</a></code>
6367
- <code><a href="./src/resources/files.ts">FileRetrieveResponse</a></code>
6468
- <code><a href="./src/resources/files.ts">FileListResponse</a></code>
6569
- <code><a href="./src/resources/files.ts">FileDeleteResponse</a></code>
70+
- <code><a href="./src/resources/files.ts">FileUploadResponse</a></code>
6671

6772
Methods:
6873

6974
- <code title="get /files/{id}">client.files.<a href="./src/resources/files.ts">retrieve</a>(id) -> FileRetrieveResponse</code>
7075
- <code title="get /files">client.files.<a href="./src/resources/files.ts">list</a>() -> FileListResponse</code>
7176
- <code title="delete /files/{id}">client.files.<a href="./src/resources/files.ts">delete</a>(id) -> FileDeleteResponse</code>
7277
- <code title="get /files/{id}/content">client.files.<a href="./src/resources/files.ts">content</a>(id) -> Response</code>
78+
- <code title="post /files/upload">client.files.<a href="./src/resources/files.ts">upload</a>({ ...params }) -> FileUploadResponse</code>
7379

7480
# FineTune
7581

7682
Types:
7783

84+
- <code><a href="./src/resources/fine-tune.ts">CosineLrSchedulerArgs</a></code>
7885
- <code><a href="./src/resources/fine-tune.ts">FineTune</a></code>
7986
- <code><a href="./src/resources/fine-tune.ts">FineTuneEvent</a></code>
87+
- <code><a href="./src/resources/fine-tune.ts">FullTrainingType</a></code>
88+
- <code><a href="./src/resources/fine-tune.ts">LinearLrSchedulerArgs</a></code>
89+
- <code><a href="./src/resources/fine-tune.ts">LoRaTrainingType</a></code>
90+
- <code><a href="./src/resources/fine-tune.ts">LrScheduler</a></code>
91+
- <code><a href="./src/resources/fine-tune.ts">TrainingMethodDpo</a></code>
92+
- <code><a href="./src/resources/fine-tune.ts">TrainingMethodSft</a></code>
93+
- <code><a href="./src/resources/fine-tune.ts">FineTuneCreateResponse</a></code>
8094
- <code><a href="./src/resources/fine-tune.ts">FineTuneListResponse</a></code>
95+
- <code><a href="./src/resources/fine-tune.ts">FineTuneCancelResponse</a></code>
8196
- <code><a href="./src/resources/fine-tune.ts">FineTuneDownloadResponse</a></code>
97+
- <code><a href="./src/resources/fine-tune.ts">FineTuneListEventsResponse</a></code>
98+
- <code><a href="./src/resources/fine-tune.ts">FineTuneRetrieveCheckpointsResponse</a></code>
8299

83100
Methods:
84101

85-
- <code title="post /fine-tunes">client.fineTune.<a href="./src/resources/fine-tune.ts">create</a>({ ...params }) -> FineTune</code>
102+
- <code title="post /fine-tunes">client.fineTune.<a href="./src/resources/fine-tune.ts">create</a>({ ...params }) -> FineTuneCreateResponse</code>
86103
- <code title="get /fine-tunes/{id}">client.fineTune.<a href="./src/resources/fine-tune.ts">retrieve</a>(id) -> FineTune</code>
87104
- <code title="get /fine-tunes">client.fineTune.<a href="./src/resources/fine-tune.ts">list</a>() -> FineTuneListResponse</code>
88-
- <code title="post /fine-tunes/{id}/cancel">client.fineTune.<a href="./src/resources/fine-tune.ts">cancel</a>(id) -> FineTune</code>
105+
- <code title="post /fine-tunes/{id}/cancel">client.fineTune.<a href="./src/resources/fine-tune.ts">cancel</a>(id) -> FineTuneCancelResponse</code>
89106
- <code title="get /finetune/download">client.fineTune.<a href="./src/resources/fine-tune.ts">download</a>({ ...params }) -> FineTuneDownloadResponse</code>
90-
- <code title="get /fine-tunes/{id}/events">client.fineTune.<a href="./src/resources/fine-tune.ts">listEvents</a>(id) -> FineTuneEvent</code>
107+
- <code title="get /fine-tunes/{id}/events">client.fineTune.<a href="./src/resources/fine-tune.ts">listEvents</a>(id) -> FineTuneListEventsResponse</code>
108+
- <code title="get /fine-tunes/{id}/checkpoints">client.fineTune.<a href="./src/resources/fine-tune.ts">retrieveCheckpoints</a>(id) -> FineTuneRetrieveCheckpointsResponse</code>
91109

92110
# CodeInterpreter
93111

@@ -113,6 +131,8 @@ Methods:
113131

114132
Types:
115133

134+
- <code><a href="./src/resources/images.ts">ImageDataB64</a></code>
135+
- <code><a href="./src/resources/images.ts">ImageDataURL</a></code>
116136
- <code><a href="./src/resources/images.ts">ImageFile</a></code>
117137

118138
Methods:
@@ -124,6 +144,7 @@ Methods:
124144
Types:
125145

126146
- <code><a href="./src/resources/audio.ts">AudioFile</a></code>
147+
- <code><a href="./src/resources/audio.ts">AudioSpeechStreamChunk</a></code>
127148

128149
Methods:
129150

@@ -157,6 +178,7 @@ Methods:
157178

158179
Types:
159180

181+
- <code><a href="./src/resources/endpoints.ts">Autoscaling</a></code>
160182
- <code><a href="./src/resources/endpoints.ts">EndpointCreateResponse</a></code>
161183
- <code><a href="./src/resources/endpoints.ts">EndpointRetrieveResponse</a></code>
162184
- <code><a href="./src/resources/endpoints.ts">EndpointUpdateResponse</a></code>
@@ -179,3 +201,17 @@ Types:
179201
Methods:
180202

181203
- <code title="get /hardware">client.hardware.<a href="./src/resources/hardware.ts">list</a>({ ...params }) -> HardwareListResponse</code>
204+
205+
# Batches
206+
207+
Types:
208+
209+
- <code><a href="./src/resources/batches.ts">BatchCreateResponse</a></code>
210+
- <code><a href="./src/resources/batches.ts">BatchRetrieveResponse</a></code>
211+
- <code><a href="./src/resources/batches.ts">BatchListResponse</a></code>
212+
213+
Methods:
214+
215+
- <code title="post /batches">client.batches.<a href="./src/resources/batches.ts">create</a>({ ...params }) -> BatchCreateResponse</code>
216+
- <code title="get /batches/{id}">client.batches.<a href="./src/resources/batches.ts">retrieve</a>(id) -> BatchRetrieveResponse</code>
217+
- <code title="get /batches">client.batches.<a href="./src/resources/batches.ts">list</a>() -> BatchListResponse</code>

0 commit comments

Comments
 (0)