Skip to content
aYOUne
← Automation API

AutomationExecutions

Singular: AutomationExecution — Base URL: https://automation-api.ayoune.app — Access: read-only — Machine-readable spec (JSON · YAML)

Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Example response (recorded) sample

A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.

{
  "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": "6adec41355ec8076337d5418",
    "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.388.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9806",
      "reset": "1792987591",
      "resetDate": "Mon Oct 26 2026"
    },
    "responseTime": 209.039194,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

MethodPathDescriptionRight
GET /automationexecutions List with filters/pagination automation.automationexecutions.view
GET /automationexecutions/:id Single record by ID automation.automationexecutions.view

SDK

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

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

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

See also