Skip to content

Delete Evaluation

Delete a Marqtune evaluation.


DELETE /evaluation/{evaluation_id}

Example

cURL -XDELETE https://marqtune.marqo.ai/evaluation/{evaluation_id}
     --header 'x-api-key: {api_key}'
from marqtune.client import Client

url = "https://marqtune.marqo.ai"
api_key = "{api_key}"
marqtune_client = Client(url=url, api_key=api_key)

marqtune_client.delete_evaluation({model_id})

Response: 200 OK

{
    "statusCode": 200,
    "body": {
        "message": "evaluation deleted successfully"
    }
}

Response: 400 (Already Deleted)

Evaluation is already deleted.

{
    "statusCode": 400,
    "body": {
        "message": "evaluation is already deleted"
    }
}

Response: 404 (Not Found)

Evaluation with the provided ID doesn't exist.

{
    "statusCode": 404,
    "body": {
        "message": "evaluation not found"
    }
}

Response: 400 (Invalid Request)

Request path or method is invalid.

{
    "statusCode": 400,
    "body": {
      "message": "Invalid request method"
    }
}

Response: 401 (Unauthorised)

Unauthorised. Check your API key and try again.

{
  "message": "Unauthorized."
}

Response: 500 (Internal server error)

Internal server error. Check your API key and try again.

{
  "message": "Internal server error."
}