aYOUne
← AI API

AIAgentTeams

Singular: AIAgentTeam — Base URL: https://ai.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

play_circle 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": {
    "_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
  }
}

Endpoints

MethodPathDescriptionRight
GET /aiagentteams List with filters/pagination ai.aiagentteams.view
GET /aiagentteams/:id Single record ai.aiagentteams.view
POST /aiagentteams Create new record ai.aiagentteams.new
PUT /aiagentteams Update record ai.aiagentteams.edit
DELETE /aiagentteams/:id Delete record ai.aiagentteams.delete

SDK

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

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

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

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

See also