Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

docs(managed_batches.md): clarify cancel batches is coming soon

Krrish Dholakia10ce3b478d1c
diff --git a/docs/my-website/docs/proxy/managed_batches.md b/docs/my-website/docs/proxy/managed_batches.md
index eaf2b2eb7eb..1b9b71c1779 100644
--- a/docs/my-website/docs/proxy/managed_batches.md
+++ b/docs/my-website/docs/proxy/managed_batches.md
@@ -142,23 +142,24 @@ file_response = client.files.content(file_id)
print(file_response.text)
```
-### 5. Cancel a batch
+### 5. List batches
```python showLineNumbers title="create_batch.py"
...
-client.batches.cancel(batch_id)
+client.batches.list(limit=10, extra_body={"target_model_names": "gpt-4o-batch"})
```
-### 6. List batches
+### [Coming Soon] Cancel a batch
```python showLineNumbers title="create_batch.py"
...
-client.batches.list(limit=10, extra_body={"target_model_names": "gpt-4o-batch"})
+client.batches.cancel(batch_id)
```
+
## E2E Example
```python showLineNumbers title="create_batch.py"