Create Batch
Reference for creating a new batch via POST /v1/deepresearch/batches.
Documentation Index
Fetch the complete documentation index at: https://docs.valyu.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication. Get yours at platform.valyu.ai.
Body
Create a new batch for running multiple DeepResearch tasks with shared configuration.
Optional name for the batch.
"Q4 Earnings Analysis Batch"
Research mode applied to all tasks in the batch.
fast, standard, heavy, max Deprecated. Use mode instead.
fast, standard, heavy, max Output formats applied to all tasks.
markdown, pdf Search configuration for DeepResearch tasks.
HTTPS URL to receive a webhook when all tasks complete.
Arbitrary key-value metadata.
Response
Batch created.
Batch status and metadata.
Unique batch identifier.
"batch_a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Batch lifecycle status.
open- Batch created, accepting tasksprocessing- Tasks are runningcompleted- All tasks finished successfullycompleted_with_errors- All tasks finished, some failedcancelled- Batch was cancelled
open, processing, completed, completed_with_errors, cancelled "processing"
Research mode for all tasks in this batch.
fast, standard, heavy, max "standard"
ISO 8601 timestamp of batch creation.
"2024-06-15T10:30:00.000Z"
Task count breakdown for a batch.
Aggregated cost in USD across all tasks.
5
Human-readable name for the batch.
"Q4 Earnings Analysis Batch"
Output formats configured for all tasks.
["markdown"]Shared search configuration.
ISO 8601 timestamp. Present when batch is completed.
HMAC-SHA256 secret. Only present on creation when webhook_url was provided.

