🎁 Get a Virtual Private Server for just Rp 10,000 - the perfect fit for your server needs. Get here
cURL
curl --request GET \ --url https://api.neosantara.xyz/v1/batches/:batch_id \ --header 'x-api-key: <api-key>'
{ "id": "<string>", "object": "<string>", "endpoint": "<string>", "errors": {}, "input_file_id": "<string>", "completion_window": "<string>", "status": "<string>", "output_file_id": {}, "error_file_id": {}, "created_at": 123, "in_progress_at": {}, "expires_at": 123, "finalizing_at": {}, "completed_at": {}, "failed_at": {}, "expired_at": {}, "cancelling_at": {}, "cancelled_at": {}, "request_counts": { "total": 123, "completed": 123, "failed": 123 }, "metadata": {} }
batch-abc123
batch
Show request_counts properties
{ "id": "batch-abc123", "object": "batch", "endpoint": "/v1/chat/completions", "errors": null, "input_file_id": "file-xyz789", "completion_window": "24h", "status": "in_progress", "output_file_id": null, "error_file_id": null, "created_at": 1699564800, "in_progress_at": 1699565000, "expires_at": 1699651200, "finalizing_at": null, "completed_at": null, "failed_at": null, "expired_at": null, "cancelling_at": null, "cancelled_at": null, "request_counts": { "total": 100, "completed": 45, "failed": 2 }, "metadata": {} }