Which models are running
Takes no key and charges nothing, for the reason /plans does: the marketing page and the API's own llms.txt index read this before anybody has an account.
curl https://api.auray.ai/v1/catalogueimport { createClient } from "@auray/client";
const auray = createClient(); // this route needs no key
console.log(await auray.platform.catalogue());from auray_client import Client
auray = Client() # this route needs no key
print(auray.platform.catalogue())const res = await fetch("https://api.auray.ai/v1/catalogue", {
method: "GET",
});
console.log(await res.json());import requests
r = requests.get(
"https://api.auray.ai/v1/catalogue",
)
r.raise_for_status()
print(r.json())package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.auray.ai/v1/catalogue", nil)
if err != nil {
panic(err)
}
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(res.Status, string(out))
}<?php
$ch = curl_init("https://api.auray.ai/v1/catalogue");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
]);
$response = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_HTTP_CODE), " ", $response, PHP_EOL;require "net/http"
uri = URI("https://api.auray.ai/v1/catalogue")
req = Net::HTTP::Get.new(uri)
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.code, res.bodyimport java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.auray.ai/v1/catalogue"))
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}using var client = new HttpClient();
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.auray.ai/v1/catalogue");
using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");{
"object": "<string>",
"source": "<string>",
"total": 123,
"described": 123,
"connected": 123,
"chat": 123,
"addresses": {},
"chat_models": {},
"covered_only": {
"addresses": "<string[]>",
"chat_models": "<string[]>"
},
"as_of": "<string>",
"request_id": "<string>"
}Takes no key and charges nothing, for the reason /plans does: the marketing page and the API's own llms.txt index read this before anybody has an account. Three counts over every published address — total, described and connected — classified by the same rule GET /models uses, so its connected equals the listing's to the unit; chat is the number of chat models, reported beside it rather than added in. addresses is every published address with its status under that same rule — connected, described (not open yet: a submit answers 501 model_not_connected), undescribed (404 model_not_described), paused (503) or retired (410) — so a page or an agent can tell what runs from what does not without a key. connected means the address runs now — for anyone, unless it is named in covered_only: while this platform is not charging for a model's product, its connected addresses and chat models run only for a caller a pass or an offer covers, and any other request is refused 503 api_disabled before anything is charged (GET /models says the same on each row as charges). It is not a claim that the model has been tested. When the catalogue cannot be read this answers 200 with source: "fallback", connected: null and addresses: null rather than an error. Cached at the edge for sixty seconds with five minutes of stale service.
Authorizations
No key needed — this document is public.
OK. The counts, and when they were answered.
"catalogue".fallback when the catalogue could not be read; connected is then null and the other counts still stand. One of "live", "fallback".total as GET /models.described as GET /models.connected as GET /models; null on fallback. May be null.GET /models gives it. Null on fallback, never guessed. May be null.model a request names, with whether it answers now; chat counts the connected ones. Read on its own, so present on fallback too.connected name runs for: both lists are empty while this platform charges for every product; a name in them runs only for a caller a pass or an offer covers, and any other request is refused 503 api_disabled, uncharged.Show child attributes
addresses calls connected that run only for a caller a pass or an offer covers. Null on fallback, never guessed. May be null.chat_models calls connected that answer only a caller a pass or an offer covers.Headers:
| Header | Description |
|---|---|
Cache-Control | public, s-maxage=60, stale-while-revalidate=300. |
X-Request-Id |
Was this page helpful?
curl https://api.auray.ai/v1/catalogueimport { createClient } from "@auray/client";
const auray = createClient(); // this route needs no key
console.log(await auray.platform.catalogue());from auray_client import Client
auray = Client() # this route needs no key
print(auray.platform.catalogue())const res = await fetch("https://api.auray.ai/v1/catalogue", {
method: "GET",
});
console.log(await res.json());import requests
r = requests.get(
"https://api.auray.ai/v1/catalogue",
)
r.raise_for_status()
print(r.json())package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.auray.ai/v1/catalogue", nil)
if err != nil {
panic(err)
}
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(res.Status, string(out))
}<?php
$ch = curl_init("https://api.auray.ai/v1/catalogue");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
]);
$response = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_HTTP_CODE), " ", $response, PHP_EOL;require "net/http"
uri = URI("https://api.auray.ai/v1/catalogue")
req = Net::HTTP::Get.new(uri)
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |http| http.request(req) }
puts res.code, res.bodyimport java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.auray.ai/v1/catalogue"))
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}using var client = new HttpClient();
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.auray.ai/v1/catalogue");
using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");{
"object": "<string>",
"source": "<string>",
"total": 123,
"described": 123,
"connected": 123,
"chat": 123,
"addresses": {},
"chat_models": {},
"covered_only": {
"addresses": "<string[]>",
"chat_models": "<string[]>"
},
"as_of": "<string>",
"request_id": "<string>"
}