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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -138,7 +138,7 @@ This SDK provides beta support for the [Message Batches API](https://docs.anthro
138
138
139
139
### Creating a batch
140
140
141
-
Message Batches take the exact same request params as the standard Messages API:
141
+
Message Batches takes an array of requests, where each object has a `custom_id` identifier, and the exact same request `params` as the standard Messages API:
142
142
143
143
```ts
144
144
awaitanthropic.beta.messages.batches.create({
@@ -272,7 +272,7 @@ Note that requests which time out will be [retried twice by default](#retries).
272
272
## Auto-pagination
273
273
274
274
List methods in the Anthropic API are paginated.
275
-
You can use `for await … of` syntax to iterate through items across all pages:
275
+
You can use the `for await … of` syntax to iterate through items across all pages:
0 commit comments