aYOUne
← KI / AI API

AIAgentTeams

Singular: AIAgentTeam — 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": "6a618a58276160baeebcc601",
    "name": "Buchhaltung & Belege Team",
    "purpose": "Belegerfassung, Buchhaltung und Finanz-Übersichten — kostenbewusst betrieben (CEO-Vorgabe günstiges Modell).",
    "status": "active",
    "_orchestrator": "6a618a58276160baeebcc5d2",
    "members": [
      {
        "_agent": "6a353bd45a44977e01d46551",
        "role": "specialist",
        "isDraft": true
      },
      {
        "_agent": "6a353bd45a44977e01d46540",
        "role": "specialist",
        "isDraft": true
      },
      {
        "_agent": "6a618a58276160baeebcc5d8",
        "role": "persona",
        "isDraft": true
      },
      {
        "_agent": "6a618a58276160baeebcc5ea",
        "role": "challenger",
        "isDraft": true
      }
    ],
    "isTemplate": false,
    "_clonedFrom": "6a6087f34b2a1b7d2c528295",
    "global": false,
    "isDraft": true,
    "createdAt": "2026-07-23T03:28:24.618Z",
    "updatedAt": "2026-07-23T03:28:24.618Z",
    "shares": []
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://ai.ayoune.app/aiagentteams/6a618a58276160baeebcc601",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "AIAgents",
        "title": "MODEL_AIAGENT",
        "href": "https://api.ayoune.app/ai/aiagents/6a618a58276160baeebcc5d2",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aiagents"
      },
      {
        "rel": "AIAgentTeams",
        "title": "MODEL_AIAGENTTEAM",
        "href": "https://api.ayoune.app/ai/aiagentteams/6a6087f34b2a1b7d2c528295",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aiagentteams"
      }
    ],
    "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": "AIAgentTeams",
        "title": "MODEL_AIAGENTTEAM",
        "href": "https://api.ayoune.app/ai/aiagentteams",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aiagentteams"
      }
    ],
    "debugId": "6aa37164cce8865a139ec4db",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_AIAGENTTEAM",
        "href": "https://api.ayoune.app/ai/aiagentteams/6a618a58276160baeebcc601/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_AIAGENTTEAM",
        "href": "https://api.ayoune.app/ai/aiagentteams/6a618a58276160baeebcc601",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.173.2",
      "core": "2026.335.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9835",
      "reset": "1789099878",
      "resetDate": "Fri Sep 11 2026"
    },
    "responseTime": 55.184064,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpunkte

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

SDK

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

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

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

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

Weiterführend