aYOUne
← KI / AI API

AILogs

Singular: AILog — Base-URL: https://ai.ayoune.app — Zugriff: read-onlyMaschinenlesbare Beschreibung (JSON · YAML)

play_circle 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": {
    "usage": {
      "completion_tokens": 0,
      "prompt_tokens": 0,
      "total_tokens": 0
    },
    "_id": "6a7d3563bfb08a82d003041c",
    "_userID": "6045f4d25704710012485569",
    "provider": "openai",
    "prompt": "auto-layout",
    "rawResult": {
      "scene": "No specific scene elements were provided to optimize. Please provide details of the elements in the scene for optimization."
    },
    "result": "\"No specific scene elements were provided to optimize. Please provide details of the elements in the scene for optimization.\"",
    "complianceFlags": [],
    "isDraft": true,
    "createdAt": "2026-08-13T03:09:23.367Z",
    "updatedAt": "2026-08-13T03:09:23.367Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://ai.ayoune.app/ailogs/6a7d3563bfb08a82d003041c",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "AIAgents",
        "title": "MODEL_AIAGENT",
        "href": "https://api.ayoune.app/ai/aiagents",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aiagents"
      },
      {
        "rel": "AIWorkflows",
        "title": "MODEL_AIWORKFLOW",
        "href": "https://api.ayoune.app/ai/aiworkflows",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aiworkflows"
      },
      {
        "rel": "AIHooks",
        "title": "MODEL_AIHOOK",
        "href": "https://api.ayoune.app/ai/aihooks",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aihooks"
      },
      {
        "rel": "AITools",
        "title": "MODEL_AITOOL",
        "href": "https://api.ayoune.app/ai/aitools",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aitools"
      },
      {
        "rel": "AICommands",
        "title": "MODEL_AICOMMAND",
        "href": "https://api.ayoune.app/ai/aicommands",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aicommands"
      }
    ],
    "debugId": "6a8a6b29860e841d7c8afe65",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_AILOG",
        "href": "https://api.ayoune.app/ai/ailogs/6a7d3563bfb08a82d003041c/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_AILOG",
        "href": "https://api.ayoune.app/ai/ailogs/6a7d3563bfb08a82d003041c/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.162.0",
      "core": "2026.315.1"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9598",
      "reset": "1787459872",
      "resetDate": "Sun Aug 23 2026"
    },
    "responseTime": 24.48972,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /ailogs Liste mit Filtern/Paginierung ai.ailogs.view
GET /ailogs/:id Einzelner Datensatz via ID ai.ailogs.view

SDK

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

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

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

Weiterführend