Principle:Groq Groq python Batch Job Creation
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Batch_Processing |
| Last Updated | 2026-02-15 16:00 GMT |
Overview
The process of initiating an asynchronous batch processing job from an uploaded input file.
Description
Batch Job Creation submits an uploaded JSONL file for asynchronous processing. The batch API executes each request in the file independently and tracks overall progress. The response includes a batch id for subsequent status polling.
Key parameters:
- input_file_id: The file ID from the upload step
- endpoint: The API endpoint to call for each request (/v1/chat/completions)
- completion_window: Processing timeframe (24h to 7d)
Usage
Use after uploading a JSONL input file. The returned batch ID is used to poll for completion status.
Theoretical Basis
# Abstract batch creation
batch = api.create_batch(
input_file_id=uploaded_file.id,
endpoint="/v1/chat/completions",
completion_window="24h"
)
batch_id = batch.id # Poll this for status
Related Pages
Implemented By
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment