cURL
curl --request POST \ --url https://api.deeprails.com/evaluate/cancel/{eval_id} \ --header 'Authorization: Bearer <token>'
{ "eval_id": "eval-123e4567-e89b-12d3-a456-426614174000", "evaluation_status": "completed", "guardrail_metrics": [ "correctness", "completeness" ], "model_used": "gpt-4", "model_input": {}, "model_output": "<string>", "progress": 75, "created_at": "2024-01-01T00:00:00Z", "start_timestamp": "2024-01-01T00:01:00Z", "completion_timestamp": "2024-01-01T00:05:00Z", "error_message": "Failed to connect to evaluation service", "error_timestamp": "2024-01-01T00:03:00Z", "evaluation_result": { "correctness": 0.95, "completeness": 0.88, "overall_score": 0.92 } }
Cancel an evaluation. Can cancel queued and in_progress evaluations
JWT token for authentication
Unique identifier for the evaluation
Evaluation cancelled successfully
The response is of type object.
object