Deletes a QA cohort. Its QA results are deleted with it. The calls themselves are not affected.
Request#
| Field | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | QA cohort ID, for example qa_cohort_2c4e6a8b0d1f3e5a7c9b1d3f. |
Example request#
curl -X DELETE https://api.tried.com.au/qa/cohorts/qa_cohort_2c4e6a8b0d1f3e5a7c9b1d3f \
-H "Authorization: Bearer $TRIED_API_KEY"const res = await fetch("https://api.tried.com.au/qa/cohorts/qa_cohort_2c4e6a8b0d1f3e5a7c9b1d3f", {
method: "DELETE",
headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
// res.status is 204import os, requests
res = requests.delete(
"https://api.tried.com.au/qa/cohorts/qa_cohort_2c4e6a8b0d1f3e5a7c9b1d3f",
headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
# res.status_code is 204Response#
204 No Content
The response has no body.
Errors#
| Status | When |
|---|---|
401 |
Missing or invalid API key. |
403 |
The key's IP allowlist or scopes reject the request. This route needs the analytics scope. Dashboard users with the member role get The member role is read-only. |
404 |
No cohort with that ID in the workspace: QA cohort <id> not found. |
429 |
Rate limit exceeded. See Rate limits. |
See Errors for the body format.
Retell compatibility#
Retell's public API reference has no AI QA endpoints, so this route has no Retell SDK equivalent.