aYOUne
← KI / AI API

AIOutputStyles

Singular: AIOutputStyle — Base-URL: https://ai.ayoune.app — Zugriff: CRUD — Maschinenlesbare 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": {
    "_id": "6a353bd55a44977e01d46712",
    "name": "Concise",
    "description": "Short, direct answers",
    "status": "active",
    "styleType": "concise",
    "includeSourceCitations": true,
    "includeCostInfo": false,
    "includeConfidenceScores": false,
    "_agents": [],
    "global": false,
    "isTemplate": false,
    "isDraft": true,
    "createdAt": "2026-06-19T12:53:41.499Z",
    "updatedAt": "2026-06-19T12:53:41.499Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://ai.ayoune.app/aioutputstyles/6a353bd55a44977e01d46712",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "AIOutputStyles",
        "title": "MODEL_AIOUTPUTSTYLE",
        "href": "https://api.ayoune.app/ai/aioutputstyles",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aioutputstyles"
      }
    ],
    "debugId": "6a8a6b20216dcd463ba823b6",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_AIOUTPUTSTYLE",
        "href": "https://api.ayoune.app/ai/aioutputstyles/6a353bd55a44977e01d46712/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_AIOUTPUTSTYLE",
        "href": "https://api.ayoune.app/ai/aioutputstyles/6a353bd55a44977e01d46712/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.162.0",
      "core": "2026.315.1"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9731",
      "reset": "1787459872",
      "resetDate": "Sun Aug 23 2026"
    },
    "responseTime": 16.62869,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

MethodePathBeschreibungRight
GET /aioutputstyles Liste mit Filtern/Paginierung ai.aioutputstyles.view
GET /aioutputstyles/:id Einzelner Datensatz ai.aioutputstyles.view
POST /aioutputstyles Neuen Datensatz erstellen ai.aioutputstyles.new
PUT /aioutputstyles Datensatz aktualisieren ai.aioutputstyles.edit
DELETE /aioutputstyles/:id Datensatz löschen ai.aioutputstyles.delete

SDK

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

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

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

// Erstellen
const created = await ay.ai.aIOutputStyles.create({ name: 'Foo' });

Weiterführend