Skip to content
TriedDocs
Response engines

Get Retell LLM

Retrieve a Retell LLM, the latest version or a specific one.

GEThttps://api.tried.com.au/get-retell-llm/{llm_id}

Returns one version of a Retell LLM. Without version you get the latest version.

Request#

Path parameters#

Parameter Type Required Description
llm_id string Yes The LLM.

Query parameters#

Parameter Type Required Description
version integer No Version number, 0 or more.

Example request#

curl "https://api.tried.com.au/get-retell-llm/llm_9c8b7a6f5e4d3c2b1a0f9e8d?version=2" \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/get-retell-llm/llm_9c8b7a6f5e4d3c2b1a0f9e8d?version=2", {
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const data = await res.json();
import os, requests

res = requests.get(
    "https://api.tried.com.au/get-retell-llm/llm_9c8b7a6f5e4d3c2b1a0f9e8d?version=2",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
data = res.json()

Response#

200 OK with the LLM.

Errors#

Status When
400 version is not a non-negative integer.
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 or version does not exist.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.