Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.cartesia.ai/v1/agents/models \ --header 'Authorization: Bearer <token>' \ --header 'Cartesia-Version: <cartesia-version>'
import requests url = "https://api.cartesia.ai/v1/agents/models" headers = { "Cartesia-Version": "<cartesia-version>", "Authorization": "Bearer <token>" } response = requests.get(url, headers=headers) print(response.text)
const options = { method: 'GET', headers: {'Cartesia-Version': '<cartesia-version>', Authorization: 'Bearer <token>'} }; fetch('https://api.cartesia.ai/v1/agents/models', 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.cartesia.ai/v1/agents/models", 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>", "Cartesia-Version: <cartesia-version>" ], ]); $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.cartesia.ai/v1/agents/models" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Cartesia-Version", "<cartesia-version>") 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.cartesia.ai/v1/agents/models") .header("Cartesia-Version", "<cartesia-version>") .header("Authorization", "Bearer <token>") .asString();
require 'uri' require 'net/http' url = URI("https://api.cartesia.ai/v1/agents/models") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Cartesia-Version"] = '<cartesia-version>' request["Authorization"] = 'Bearer <token>' response = http.request(request) puts response.read_body
{ "data": [ { "average_latency_ms": 0, "description": "<string>", "display_name": "<string>", "id": "<string>", "pricing": { "cache_read_per_million_tokens": "<string>", "cache_write_per_million_tokens": "<string>", "currency": "USD", "input_per_million_tokens": "<string>", "output_per_million_tokens": "<string>" }, "provider": "<string>" } ], "has_more": true, "next_page": "<string>" }
Returns the LLMs available for Managed Agents, including latency and pricing metadata
Cartesia API key (sk_car_...). Get one at play.cartesia.ai/keys.
sk_car_...
API version header.
2026-08-14
"2026-08-14"
A cursor for pagination. Pass the ID of the last item from the previous page to fetch the next page.
A cursor for pagination. Pass the ID of the first item from the previous page to fetch the previous page.
The maximum number of items to return, ranging between 1 and 100.
1 <= x <= 100
List agent models
The requested page of results.
Show child attributes
Whether more results are available after this page.
An ID that can be passed as starting_after or ending_before to get the next page of data.
starting_after
ending_before
このページは役に立ちましたか?