← Automation API
AutomationTemplates
Singular: AutomationTemplate — Base-URL: https://automation-api.ayoune.app — Zugriff: CRUD
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": "6a618b886eefbeb876f15f11",
"name": "BOILING_BRONZE_LANDO CALRISSIAN",
"tags": [],
"isGlobal": false,
"editorMode": "visual",
"nodes": [],
"edges": [],
"triggers": [],
"variables": [],
"usageCount": 0,
"rating": 0,
"ratingCount": 0,
"createdBy": "6045f4d25704710012485569",
"inputs": [],
"createdAt": "2026-07-23T03:33:28.517Z",
"updatedAt": "2026-07-23T03:33:28.517Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://automation-api.ayoune.app/automationtemplates/6a618b886eefbeb876f15f11",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a62dc62f9f895648ea72f9c",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_AUTOMATIONTEMPLATE",
"href": "https://api.ayoune.app/automation/automationtemplates/6a618b886eefbeb876f15f11/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_AUTOMATIONTEMPLATE",
"href": "https://api.ayoune.app/automation/automationtemplates/6a618b886eefbeb876f15f11/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.19.0",
"core": "2026.258.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "2303",
"reset": "1784867403",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 98.772063,
"code": 200,
"status": "success",
"error": false
}
}
Endpunkte
| Methode | Path | Beschreibung | Right |
|---|---|---|---|
| GET | /automationtemplates |
Liste mit Filtern/Paginierung | automation.automationtemplates.view |
| GET | /automationtemplates/:id |
Einzelner Datensatz | automation.automationtemplates.view |
| POST | /automationtemplates |
Neuen Datensatz erstellen | automation.automationtemplates.new |
| PUT | /automationtemplates |
Datensatz aktualisieren | automation.automationtemplates.edit |
| DELETE | /automationtemplates/:id |
Datensatz löschen | automation.automationtemplates.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// Alle abrufen
const list = await ay.automation.automationTemplates.find().limit(10).exec();
// Einzelnen Datensatz
const one = await ay.automation.automationTemplates.findById('OBJECT_ID').exec();
// Erstellen
const created = await ay.automation.automationTemplates.create({ name: 'Foo' });