Delete a specific row from a testset.
Authentication
- API key:
Authorization: Bearer <API key>
Path Parameters
The index of the row to delete.
Examples
import requests
testset_id = "testset_id_123"
row_index = 0
url = f"https://api.keywordsai.co/api/testsets/{testset_id}/rows/{row_index}"
headers = {
"Authorization": "Bearer YOUR_API_KEY"
}
response = requests.delete(url, headers=headers)
print(response.status_code)
Response