← KI / AI API
AIProviders
Singular: AIProvider — 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": "6aa0cf111d5f163b722c89ff",
"name": "CASUAL_IVORY_CLIEGG LARS",
"status": "active",
"global": false,
"enabledForCustomers": [],
"createdBy": "6045f4d25704710012485569",
"shares": [],
"createdAt": "2026-09-09T03:14:25.827Z",
"updatedAt": "2026-09-09T03:14:25.827Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://ai.ayoune.app/aiproviders/6aa0cf111d5f163b722c89ff",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6aa0cf111d5f163b722c8a16",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_AIPROVIDER",
"href": "https://api.ayoune.app/ai/aiproviders/6aa0cf111d5f163b722c89ff/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_AIPROVIDER",
"href": "https://api.ayoune.app/ai/aiproviders/6aa0cf111d5f163b722c89ff",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.172.0",
"core": "2026.334.1"
},
"rateLimit": {
"limit": "10000",
"remaining": "9713",
"reset": "1788927245",
"resetDate": "Wed Sep 09 2026"
},
"responseTime": 28.449518,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /aiproviders |
Liste mit Filtern/Paginierung | ai.aiproviders.view |
| GET | /aiproviders/:id |
Einzelner Datensatz | ai.aiproviders.view |
| POST | /aiproviders |
Neuen Datensatz erstellen | ai.aiproviders.new |
| PUT | /aiproviders |
Datensatz aktualisieren | ai.aiproviders.edit |
| DELETE | /aiproviders/:id |
Datensatz löschen | ai.aiproviders.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.ai.aIProviders.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.ai.aIProviders.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.ai.aIProviders.create({ name: 'Foo' });