← KI / AI API
AIModelCatalog
Singular: AIModelCatalog — Base-URL: https://ai.ayoune.app — Zugriff: CRUD — Maschinenlesbare Beschreibung (JSON · YAML)
Jetzt ausprobieren
beta
Response (live)
Requests werden über den consumer-app Proxy an *.ayoune.app weitergeleitet. Tokens bleiben im Browser und werden pro Call mitgesendet.
Beispiel-Response (aufgezeichnet) Beispiel
Eine echte, zuvor aufgezeichnete GET /:id-Antwort dieses Endpunkts — nicht der Live-Call oben. Sensible Felder sind maskiert.
{
"payload": {
"_id": "6a618a5a63f60db7c00532c0",
"capabilities": [],
"status": "active",
"global": false,
"evalStatus": "pending",
"isDraft": true,
"createdAt": "2026-07-23T03:28:26.757Z",
"updatedAt": "2026-08-08T03:34:32.424Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://ai.ayoune.app/aimodelcatalog/6a618a5a63f60db7c00532c0",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [
{
"rel": "AIProviders",
"title": "MODEL_AIPROVIDER",
"href": "https://api.ayoune.app/ai/aiproviders",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "ai.aiproviders"
},
{
"rel": "AITrainingRuns",
"title": "MODEL_AITRAININGRUN",
"href": "https://api.ayoune.app/ai/aitrainingruns",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "ai.aitrainingruns"
}
],
"debugId": "6a8a6b29860e841d7c8afe85",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_AIMODELCATALOG",
"href": "https://api.ayoune.app/ai/aimodelcatalog/6a618a5a63f60db7c00532c0/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_AIMODELCATALOG",
"href": "https://api.ayoune.app/ai/aimodelcatalog/6a618a5a63f60db7c00532c0/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.162.0",
"core": "2026.315.1"
},
"rateLimit": {
"limit": "10000",
"remaining": "9593",
"reset": "1787459872",
"resetDate": "Sun Aug 23 2026"
},
"responseTime": 65.460198,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /aimodelcatalog |
Liste mit Filtern/Paginierung | ai.aimodelcatalog.view |
| GET | /aimodelcatalog/:id |
Einzelner Datensatz | ai.aimodelcatalog.view |
| POST | /aimodelcatalog |
Neuen Datensatz erstellen | ai.aimodelcatalog.new |
| PUT | /aimodelcatalog |
Datensatz aktualisieren | ai.aimodelcatalog.edit |
| DELETE | /aimodelcatalog/:id |
Datensatz löschen | ai.aimodelcatalog.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.ai.aIModelCatalog.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.ai.aIModelCatalog.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.ai.aIModelCatalog.create({ name: 'Foo' });