get llm
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.
GET
/
v1
/
llms
/
{id}
get llm
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
Response
Successfully retrieved LLM
An LLM configuration a persona can use. Secrets are never returned.
Where this LLM processes requests, as Anam recorded it. eu or us when every endpoint of the LLM is in that region. Null when it may process requests in any region, and always for llmFormat none, which makes no LLM calls. Only Anam sets it, on its own LLMs; a request that sends a value gets 400 LLM_RESIDENCY_NOT_SETTABLE, and a null is ignored.
Available options:
eu, us, null 
