List every model a key can run
Every model a key can run, and what each one would do with a request. connected means a request dispatches — for anyone while the row's charges is open, and only for a caller a pass or an offer covers while it is covered_only (this platform has stopped charging for the model's product: any other request is refused 503 api_disabled before anything is charged); described means it answers 501 model_not_connected today; undescribed means the address is served but this platform has not read the model's documentation, so a submit answers 404 model_not_described and no field list is published; paused means a submit is refused 503 before anything is charged — the product's switch, the model's own pause or its family's — and the row carries the code and the reason that submit would answer; retired means the address answers 410 model_deprecated, with the successor to use. Our own models, the ones behind the apps (kind: ours), are listed beside the rest of the catalogue. The chat slots (kind: chat, called at /v1/chat) and the embedding model (kind: embedding, called at /openai/v1/embeddings) are rows too, listed when asked for with kind — the default is the addresses, as it always was. A model we have hidden is in no row and no count.
curl https://api.auray.ai/v1/models \
-H "Authorization: Bearer $AURAY_API_KEY"import { createClient } from "@auray/client";
const auray = createClient(); // reads AURAY_API_KEY
const page = await auray.platform.models.list({ limit: 20 });
console.dir(page, { depth: null });from auray_client import Client
auray = Client() # reads AURAY_API_KEY
page = auray.platform.models.list(limit=20)
print(page){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_models",
"arguments": {
"limit": 20
}
}
}const res = await fetch("https://api.auray.ai/v1/models", {
method: "GET",
headers: { Authorization: `Bearer ${process.env.AURAY_API_KEY}` },
});
console.log(await res.json());import os, requests
r = requests.get(
"https://api.auray.ai/v1/models",
headers={"Authorization": f"Bearer {os.environ['AURAY_API_KEY']}"},
)
r.raise_for_status()
print(r.json())package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest("GET", "https://api.auray.ai/v1/models", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("AURAY_API_KEY"))
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/models");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("AURAY_API_KEY"),
],
]);
$response = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_HTTP_CODE), " ", $response, PHP_EOL;require "net/http"
uri = URI("https://api.auray.ai/v1/models")
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer #{ENV.fetch("AURAY_API_KEY")}"
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/models"))
.header("Authorization", "Bearer " + System.getenv("AURAY_API_KEY"))
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}using System.Net.Http.Headers;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("AURAY_API_KEY"));
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.auray.ai/v1/models");
using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");{
"object": "<string>",
"data": [
{
"id": "<string>",
"address": "<string>",
"kind": "<string>",
"status": "<string>",
"charges": "<string>",
"code": "<string>",
"reason": "<string>",
"successor": "<string>",
"provider": "<string>",
"base_url": "<string>",
"endpoint": "<string>",
"category": "<string>",
"modality": "<string>",
"licence": {
"id": "<string>",
"name": "<string>",
"excludes": "<string>"
},
"lifecycle": {
"queue": "<string>",
"cancel": "<string>",
"waitable": true,
"wait_ceiling_seconds": 123,
"poll_seconds": 123,
"stall_ceiling_seconds": 123,
"expected_seconds": 123
},
"presentation": {
"featured_order": 123,
"default_for_app": "<string>",
"cover_url": "<string>"
},
"chat": {
"tools": true,
"context_window": 123,
"max_output_tokens": 123
},
"operations": "<string[]>",
"input": [
{
"name": "<string>",
"type": "<string>",
"required": true
}
],
"storyboard_input": [
{
"name": "<string>",
"type": "<string>",
"required": true
}
],
"openapi": {}
}
],
"next_cursor": "<string>",
"filtered": 123,
"total": 123,
"described": 123,
"connected": 123,
"paused": 123,
"chat": 123,
"embedding": 123
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}Filter with status, kind, category, operation (what an address can be asked to do, as each row's operations names it), endpoint_id (either spelling of an id) and q (a case-folded substring over slug, address and category). Page with limit and cursor; expand=openapi embeds each row's contract and forces a page of at most 25; include=input adds the field list. total, described, connected, paused, chat and embedding count the whole catalogue and never move with a filter; filtered is the filtered set before paging.
Authorizations
Bearer auray_sk_… — Any key. The read bucket paces it.
Query Parameters
"connected", "described", "undescribed", "paused", "retired".ours the models behind the apps, resold the rest of the catalogue, chat a chat slot, embedding the embedding model. Left out, the listing is the addresses (ours,resold), as it always was; kind=ours,resold,chat,embedding lists every model. Anything else is refused 400 invalid_kind.categories.t2v (text to video), first-frame, talking-photo, lip-sync or story. Each row's operations lists what it is offered for. A chat slot and the embedding model are no catalogue row and match none. Anything else — a misspelt id, an empty value, a comma-separated list — is refused 400 invalid_operation, which carries the whole vocabulary in operations.model and a submit is posted to. The same filter as endpoint_id, under the name the rest of the API uses; it wins when both are sent."input"."openapi".next_cursor of the previous page and stop when it is null. It is a position in the sorted list, not a reference, so a page still resolves when the model it was cut at has since been withdrawn.The catalogue.
"list".Show child attributes
model.model, what /v1/jobs?model= filters on, and what is posted to. id is the catalogue slug, kept as an alias. A chat slot's is its own name, which is what a chat turn prints as model; POST /v1/chat and /openai/v1 also accept it as auray-ai/<slot>, as every model behind the apps is addressed under auray-ai/.ours), the rest of the catalogue (resold), a chat slot or the embedding model. One of "ours", "resold", "chat", "embedding".code and reason; retired is 410 model_deprecated with successor. One of "connected", "described", "undescribed", "paused", "retired".open), or only a caller a pass or an offer covers (covered_only) while we have stopped the product's charges. A covered job runs; any other is refused 503 api_disabled before anything is charged. Said on every row, whatever its status. One of "open", "covered_only".paused and retired: the error code a submit would answer, e.g. model_disabled, api_disabled, model_deprecated.paused and retired: our note for it, or null when there is none — code is then the whole answer. May be null.retired: the address to use instead, when one is named. May be null.endpoint is called on: the execution host for an address, this API for a chat slot or the embedding model.unknown for a model nothing has filed yet.limits.external.modalities on GET /v1/plans); a model the account's plan leaves out is refused 403 model_not_in_plan before anything is charged — unless a pass the account holds for it covers the job: a catalogue model's pass runs it on any plan (passes on GET /v1/me). A trainer is what it trains. One of "image", "video", "audio", "3d", "text", "other".region_required until the account declares its country, and 451 region_blocked where the licence excludes it. May be null.Show child attributes
Show child attributes
queue_not_offered on the queue hosts. One of "waits", "refuses".none — the charge stands and you stop watching), the job is stopped and refunded in full (full), or it is stopped and what already ran is kept, the rest refunded (keeps_progress). One of "none", "full", "keeps_progress".?wait= and auray.run may hold a request open on it.ours) keeps this figure. Each job's own give_up_after_seconds, on its submit and on every read, is the figure to wait by.Show child attributes
"photo", "video", "music", "threed", null. May be null.address at POST /chat, POST /chat/conversations and MCP's chat, and a text request to /openai/v1/chat/completions is a chat turn — priced by the token as POST /chat prices one. The row's endpoint stays its queue address, where it runs as a job as before.Show child attributes
?operation= filters on. On every address; absent on a chat slot and the embedding model. An operation the model has and is not offered yet is in no list.Show child attributes
auray-ai/minimax-h3/text-to-video, which takes a storyboard (a body naming segments) beside a clip: that shape's fields, as its document publishes them under components.schemas.Storyboard.Show child attributes
cursor for the next page, or null when this page reached the end. Always present, including on an unpaged response. May be null.chat and embedding.total have a published field list.Was this page helpful?
curl https://api.auray.ai/v1/models \
-H "Authorization: Bearer $AURAY_API_KEY"import { createClient } from "@auray/client";
const auray = createClient(); // reads AURAY_API_KEY
const page = await auray.platform.models.list({ limit: 20 });
console.dir(page, { depth: null });from auray_client import Client
auray = Client() # reads AURAY_API_KEY
page = auray.platform.models.list(limit=20)
print(page){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_models",
"arguments": {
"limit": 20
}
}
}const res = await fetch("https://api.auray.ai/v1/models", {
method: "GET",
headers: { Authorization: `Bearer ${process.env.AURAY_API_KEY}` },
});
console.log(await res.json());import os, requests
r = requests.get(
"https://api.auray.ai/v1/models",
headers={"Authorization": f"Bearer {os.environ['AURAY_API_KEY']}"},
)
r.raise_for_status()
print(r.json())package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, err := http.NewRequest("GET", "https://api.auray.ai/v1/models", nil)
if err != nil {
panic(err)
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("AURAY_API_KEY"))
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/models");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . getenv("AURAY_API_KEY"),
],
]);
$response = curl_exec($ch);
echo curl_getinfo($ch, CURLINFO_HTTP_CODE), " ", $response, PHP_EOL;require "net/http"
uri = URI("https://api.auray.ai/v1/models")
req = Net::HTTP::Get.new(uri)
req["Authorization"] = "Bearer #{ENV.fetch("AURAY_API_KEY")}"
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/models"))
.header("Authorization", "Bearer " + System.getenv("AURAY_API_KEY"))
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode() + " " + response.body());
}
}using System.Net.Http.Headers;
using var client = new HttpClient();
client.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("AURAY_API_KEY"));
using var request = new HttpRequestMessage(HttpMethod.Get, "https://api.auray.ai/v1/models");
using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");{
"object": "<string>",
"data": [
{
"id": "<string>",
"address": "<string>",
"kind": "<string>",
"status": "<string>",
"charges": "<string>",
"code": "<string>",
"reason": "<string>",
"successor": "<string>",
"provider": "<string>",
"base_url": "<string>",
"endpoint": "<string>",
"category": "<string>",
"modality": "<string>",
"licence": {
"id": "<string>",
"name": "<string>",
"excludes": "<string>"
},
"lifecycle": {
"queue": "<string>",
"cancel": "<string>",
"waitable": true,
"wait_ceiling_seconds": 123,
"poll_seconds": 123,
"stall_ceiling_seconds": 123,
"expected_seconds": 123
},
"presentation": {
"featured_order": 123,
"default_for_app": "<string>",
"cover_url": "<string>"
},
"chat": {
"tools": true,
"context_window": 123,
"max_output_tokens": 123
},
"operations": "<string[]>",
"input": [
{
"name": "<string>",
"type": "<string>",
"required": true
}
],
"storyboard_input": [
{
"name": "<string>",
"type": "<string>",
"required": true
}
],
"openapi": {}
}
],
"next_cursor": "<string>",
"filtered": 123,
"total": 123,
"described": 123,
"connected": 123,
"paused": 123,
"chat": 123,
"embedding": 123
}{
"error": "<string>",
"message": "<string>",
"docs": "<string>",
"request_id": "<string>"
}