Get Batch Diagnostics
Get comprehensive diagnostics for a batch.
Combines batch status, task progress, collection info, performance metrics, and actionable insights into a single response for easy frontend rendering.
Use Cases:
- Monitor batch processing in real-time
- Debug failed batches
- View performance breakdown after completion
- Get actionable next steps
Response includes:
- Overall batch status and progress
- Per-tier task details with Ray job links
- Collection document counts
- Performance insights and bottlenecks (if completed)
- Error details (if failed)
- Recommended next actions
Example:
GET /v1/analytics/performance/batches/{batch_id}/diagnostics
Perfect for:
- Real-time progress tracking UI
- Batch monitoring dashboards
- Debugging failed extractions
- Performance optimization
Documentation Index
Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer YOUR_MIXPEEK_API_KEY"
Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'. Falls back to ?namespace= query parameter if the header is omitted.
"ns_abc123def456"
"production"
"my-namespace"
Path Parameters
Response
Successful Response
Comprehensive batch diagnostics response.
Combines batch status, task progress, collection info, and performance insights into a single response for easy frontend rendering.
Batch ID
Batch name
Overall batch status
Source bucket ID
Current tier being processed
Total number of tiers
Overall progress percentage (0-100)
When batch was created
When batch was submitted
When processing started
When processing completed
Total duration in seconds
Estimated completion time
Diagnostic info for each tier
Status of target collections
Performance metrics summary (available after completion)
Performance insights and recommendations
Whether batch has any failures
Number of failed tiers
Total objects in batch
Recommended next steps for user

