Create batch
documentedCreate a batch job for batch processing of requests.
POST /v1/batchesBatchesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.cerebras.ai/v1/batches" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{CEREBRAS_API_KEY}}" \
-d '{"input_file_id": "{{$input_file_id}}", "endpoint": "{{$endpoint}}", "completion_window": "{{$completion_window}}", "metadata": {{$metadata}}}'