Our Python SDK got smarter. We developed a Typscript SDK too. We are updating our SDK code blocks. Python SDKhere.Typscript SDKhere.
Description
Patronus AI APIExperiments

Batch Delete Experiments

Deletes all experiments within a specified project.

This operation permanently removes experiments along with all associated evaluations, logs, and traces.

It cannot be undone.

DELETE
/v1/experiments
/v1/experiments

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Query Parameters

project_id
Required
Project Id

Format: "uuid"
curl -X DELETE "https://api.patronus.ai/v1/experiments?project_id=497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "X-API-KEY: <token>"

Successful Response