Deletes every version of the LLM. Agents that still reference it are not changed and fail to resolve their engine; Repair agent reports this.
Request#
Path parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
llm_id |
string | Yes | The LLM. |
Example request#
curl -X DELETE "https://api.tried.com.au/delete-retell-llm/llm_9c8b7a6f5e4d3c2b1a0f9e8d" \
-H "Authorization: Bearer $TRIED_API_KEY"const res = await fetch("https://api.tried.com.au/delete-retell-llm/llm_9c8b7a6f5e4d3c2b1a0f9e8d", {
method: "DELETE",
headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
console.log(res.status); // 204import os, requests
res = requests.delete(
"https://api.tried.com.au/delete-retell-llm/llm_9c8b7a6f5e4d3c2b1a0f9e8d",
headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
print(res.status_code)Response#
204 No Content.
Errors#
| Status | When |
|---|---|
401 |
Missing or invalid API key. |
403 |
The key's IP allowlist or scopes reject the request. This route needs the agents scope. |
404 |
The LLM does not exist. |
429 |
Rate limit exceeded. See Rate limits. |
See Errors for the body format.