List models
GET
/api/models
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");curl_easy_setopt(hnd, CURLOPT_URL, "https://api.langparse.dev/api/models");
struct curl_slist *headers = NULL;headers = curl_slist_append(headers, "X-Api-Key: <X-Api-Key>");curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);
CURLcode ret = curl_easy_perform(hnd);using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://api.langparse.dev/api/models"), Headers = { { "X-Api-Key", "<X-Api-Key>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}package main
import ( "fmt" "net/http" "io")
func main() {
url := "https://api.langparse.dev/api/models"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<X-Api-Key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close() body, _ := io.ReadAll(res.Body)
fmt.Println(res) fmt.Println(string(body))
}HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://api.langparse.dev/api/models")) .header("X-Api-Key", "<X-Api-Key>") .method("GET", HttpRequest.BodyPublishers.noBody()) .build();HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());System.out.println(response.body());OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder() .url("https://api.langparse.dev/api/models") .get() .addHeader("X-Api-Key", "<X-Api-Key>") .build();
Response response = client.newCall(request).execute();import axios from 'axios';
const options = { method: 'GET', url: 'https://api.langparse.dev/api/models', headers: {'X-Api-Key': '<X-Api-Key>'}};
try { const { data } = await axios.request(options); console.log(data);} catch (error) { console.error(error);}const url = 'https://api.langparse.dev/api/models';const options = {method: 'GET', headers: {'X-Api-Key': '<X-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}val client = OkHttpClient()
val request = Request.Builder() .url("https://api.langparse.dev/api/models") .get() .addHeader("X-Api-Key", "<X-Api-Key>") .build()
val response = client.newCall(request).execute()use reqwest;
#[tokio::main]pub async fn main() { let url = "https://api.langparse.dev/api/models";
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("X-Api-Key", "<X-Api-Key>".parse().unwrap());
let client = reqwest::Client::new(); let response = client.get(url) .headers(headers) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}curl --request GET \ --url https://api.langparse.dev/api/models \ --header 'X-Api-Key: <X-Api-Key>'wget --quiet \ --method GET \ --header 'X-Api-Key: <X-Api-Key>' \ --output-document \ - https://api.langparse.dev/api/modelsList every model in your org, newest first. Each entry carries a field count and a short preview of its schema — fetch a single model to see the full field definitions.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Your models.
Media typeapplication/json
object
data
required
Array<object>
A model (schema + strategy + output tags). Own key id; slug is a friendly, unique-per-org handle accepted anywhere the id is.
object
key
additional properties
any
meta
required
object
pagination
List pagination. Bounded collections return real totals; large (cursor-backed) collections may leave totals null and set cursor.
object
page
integer
pageSize
integer
totalItems
integer
totalPages
integer
hasNext
boolean
hasPrevious
boolean
cursor
string
Example
[ { "id": "mdl_inv01", "slug": "invoice", "name": "Invoice", "description": "Supplier invoices with line items, taxes and totals.", "fieldCount": 12, "fieldPreview": [ "Invoice Number", "Invoice Date", "Total" ], "strategy": "single", "features": [], "coverUrl": null, "updatedAt": "2026-07-07T04:50:26.659Z" }]Missing or invalid API key.
Media typeapplication/json
Error response. statusCode mirrors the HTTP status; statusMessage is human-readable.
object
statusCode
integer
statusMessage
string
Example
{ "statusCode": 404, "statusMessage": "Document not found"}