Zum Inhalt springen
aYOUne
← Automation API

AutomationExecutions

Singular: AutomationExecution — Base-URL: https://automation-api.ayoune.app — Zugriff: read-only — Maschinenlesbare Beschreibung (JSON · YAML)

Jetzt ausprobieren beta

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": {
    "stats": {
      "totalNodes": 0,
      "nodesExecuted": 0,
      "nodesSucceeded": 0,
      "nodesFailed": 0,
      "nodesSkipped": 0,
      "totalItemsProcessed": 0,
      "executionTimeMs": 10
    },
    "_id": "6ac0e321c9142ac4a1bfe6c9",
    "_workflowId": "6ac0e308c9142ac4a1bfe6b4",
    "_triggeredBy": "5a76d07e2d8b3270ff6df587",
    "status": "success",
    "mode": "manual",
    "startedAt": "2026-10-03T11:12:33.871Z",
    "triggerData": {
      "page": {
        "url": "https://example.com/abnahme-seitenkontext",
        "title": "[abnahme] Beispielseite"
      },
      "selection": "[abnahme] markierter Text"
    },
    "executionErrors": [],
    "logs": [
      {
        "level": "info",
        "message": "Workflow \"[abnahme] Seitenkontext Companion\" gestartet (manual)",
        "timestamp": "2026-10-03T11:12:33.871Z"
      },
      {
        "level": "info",
        "message": "Workflow erfolgreich abgeschlossen in 10ms",
        "timestamp": "2026-10-03T11:12:34.019Z"
      }
    ],
    "retryCount": 0,
    "workflowVersion": 1,
    "workflowSnapshot": {
      "nodes": [],
      "edges": []
    },
    "chargesApplied": [],
    "shares": [],
    "createdAt": "2026-10-03T11:12:33.962Z",
    "updatedAt": "2026-10-03T11:12:34.019Z",
    "finishedAt": "2026-10-03T11:12:34.019Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://automation-api.ayoune.app/automationexecutions/6ac0e321c9142ac4a1bfe6c9",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "AutomationWorkflows",
        "title": "MODEL_AUTOMATIONWORKFLOW",
        "href": "https://api.ayoune.app/automation/automationworkflows/6ac0e308c9142ac4a1bfe6b4",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "automation.automationworkflows"
      }
    ],
    "relations": [
      {
        "rel": "AutomationWorkflows",
        "title": "MODEL_AUTOMATIONWORKFLOW",
        "href": "https://api.ayoune.app/automation/automationworkflows",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "automation.automationworkflows"
      },
      {
        "rel": "AutomationExecutions",
        "title": "MODEL_AUTOMATIONEXECUTION",
        "href": "https://api.ayoune.app/automation/automationexecutions",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "automation.automationexecutions"
      },
      {
        "rel": "AIConversations",
        "title": "MODEL_AICONVERSATION",
        "href": "https://api.ayoune.app/ai/aiconversations",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aiconversations"
      }
    ],
    "debugId": "6ac9af0b84b11e3c6702201f",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_AUTOMATIONEXECUTION",
        "href": "https://api.ayoune.app/automation/automationexecutions/6ac0e321c9142ac4a1bfe6c9/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_AUTOMATIONEXECUTION",
        "href": "https://api.ayoune.app/automation/automationexecutions/6ac0e321c9142ac4a1bfe6c9",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.23.0",
      "core": "2026.364.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9790",
      "reset": "1791605878",
      "resetDate": "Sat Oct 10 2026"
    },
    "responseTime": 76.824718,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /automationexecutions Liste mit Filtern/Paginierung automation.automationexecutions.view
GET /automationexecutions/:id Einzelner Datensatz via ID automation.automationexecutions.view

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// Alle abrufen
const list = await ay.automation.automationExecutions.find().limit(10).exec();

// Einzelnen Datensatz
const one = await ay.automation.automationExecutions.findById('OBJECT_ID').exec();

Weiterführend