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:
Response includes:
Example:
GET /v1/analytics/performance/batches/{batch_id}/diagnostics
Perfect for:
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
REQUIRED: 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'
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