aYOUne
← AI API

AIAgentTeams

Singular: AIAgentTeam — Base URL: https://ai.ayoune.app — Access: CRUD

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": "6a618a6426743b2cbc7b7d4b",
    "name": "BETTER_BEIGE_BIGGS DARKLIGHTER",
    "isTemplate": false,
    "global": false,
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2026-07-23T03:28:36.856Z",
    "updatedAt": "2026-07-23T03:28:36.856Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://ai.ayoune.app/aiagentteams/6a618a6426743b2cbc7b7d4b",
        "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": "AIAgentTeams",
        "title": "MODEL_AIAGENTTEAM",
        "href": "https://api.ayoune.app/ai/aiagentteams",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aiagentteams"
      }
    ],
    "debugId": "6a62dc1b12a17f2ff7e7483c",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_AIAGENTTEAM",
        "href": "https://api.ayoune.app/ai/aiagentteams/6a618a6426743b2cbc7b7d4b/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_AIAGENTTEAM",
        "href": "https://api.ayoune.app/ai/aiagentteams/6a618a6426743b2cbc7b7d4b/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.131.3",
      "core": "2026.258.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9802",
      "reset": "1784867355",
      "resetDate": "Fri Jul 24 2026"
    },
    "responseTime": 26.533406,
    "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