curl --request GET \
--url https://api.anam.ai/v1/llms/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.anam.ai/v1/llms/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.anam.ai/v1/llms/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anam.ai/v1/llms/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.anam.ai/v1/llms/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.anam.ai/v1/llms/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anam.ai/v1/llms/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "a7cf662c-2ace-4de1-a21e-ef0fbf144bb7",
"displayName": "GPT-4o",
"description": "OpenAI GPT-4o default configuration.",
"llmFormat": "openai",
"urls": [
{
"url": "https://api.openai.com/v1/chat/completions"
}
],
"modelName": "gpt-4o",
"temperature": 0.7,
"maxTokens": 1024,
"deploymentName": null,
"apiVersion": null,
"metadata": {},
"displayTags": [
"openai"
],
"isDefault": true,
"isGlobal": true,
"isZdr": false,
"isDeprecated": false,
"createdByOrganizationId": null,
"createdAt": "2026-04-20T10:00:00.000Z",
"updatedAt": null
}get llm
Get a specific LLM by ID
curl --request GET \
--url https://api.anam.ai/v1/llms/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.anam.ai/v1/llms/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.anam.ai/v1/llms/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anam.ai/v1/llms/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.anam.ai/v1/llms/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.anam.ai/v1/llms/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anam.ai/v1/llms/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "a7cf662c-2ace-4de1-a21e-ef0fbf144bb7",
"displayName": "GPT-4o",
"description": "OpenAI GPT-4o default configuration.",
"llmFormat": "openai",
"urls": [
{
"url": "https://api.openai.com/v1/chat/completions"
}
],
"modelName": "gpt-4o",
"temperature": 0.7,
"maxTokens": 1024,
"deploymentName": null,
"apiVersion": null,
"metadata": {},
"displayTags": [
"openai"
],
"isDefault": true,
"isGlobal": true,
"isZdr": false,
"isDeprecated": false,
"createdByOrganizationId": null,
"createdAt": "2026-04-20T10:00:00.000Z",
"updatedAt": null
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The LLM ID
Response
Successfully retrieved LLM
An LLM configuration a persona can use. Secrets are never returned.
Unique identifier for the LLM configuration.
Human-readable name shown in the Lab.
Free-form description of the LLM configuration.
Wire format used to call the upstream LLM.
openai, azure_openai, groq_openai, gemini, advanced_voice, none Endpoints configured for this LLM.
Show child attributes
Show child attributes
Upstream model identifier (e.g. gpt-4o).
Sampling temperature applied when calling the LLM.
Maximum tokens generated per response.
Azure OpenAI deployment name. Only used when llmFormat is azure_openai.
Azure OpenAI API version. Only used when llmFormat is azure_openai.
Free-form provider-specific metadata.
Tags used to categorise the LLM in the Lab UI.
Whether this LLM is a built-in default available to every organization.
Whether this LLM is visible to every organization.
Whether this LLM meets the Zero Data Retention requirements.
Whether this stock LLM is deprecated. Deprecated LLMs remain available to ephemeral sessions but cannot be newly assigned to personas.
Reasoning effort hint for models that accept it. Forwarded verbatim to the provider/engine; supported values depend on the model. Null means the model default is used.
Reasoning format hint for models that accept it. Null means the model default is used.
parsed, hidden, null ID of the organization that created the LLM, or null for global defaults. IDs may be either UUIDs or nanoid-style strings depending on when the organization was created.
Timestamp when the LLM was created.
Timestamp when the LLM was last updated.
Was this page helpful?

