aYOUne
← AI API

AIModelCatalog

Singular: AIModelCatalog — 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": "6a618a5a63f60db7c00532c0",
    "capabilities": [],
    "status": "active",
    "global": false,
    "evalStatus": "pending",
    "isDraft": true,
    "createdAt": "2026-07-23T03:28:26.757Z",
    "updatedAt": "2026-08-08T03:34:32.424Z",
    "shares": []
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://ai.ayoune.app/aimodelcatalog/6a618a5a63f60db7c00532c0",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "AIProviders",
        "title": "MODEL_AIPROVIDER",
        "href": "https://api.ayoune.app/ai/aiproviders",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aiproviders"
      },
      {
        "rel": "AITrainingRuns",
        "title": "MODEL_AITRAININGRUN",
        "href": "https://api.ayoune.app/ai/aitrainingruns",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "ai.aitrainingruns"
      }
    ],
    "debugId": "6aa0cf1c1d5f163b722c8eff",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_AIMODELCATALOG",
        "href": "https://api.ayoune.app/ai/aimodelcatalog/6a618a5a63f60db7c00532c0/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_AIMODELCATALOG",
        "href": "https://api.ayoune.app/ai/aimodelcatalog/6a618a5a63f60db7c00532c0",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.172.0",
      "core": "2026.334.1"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9609",
      "reset": "1788927245",
      "resetDate": "Wed Sep 09 2026"
    },
    "responseTime": 32.546228,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

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

SDK

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

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

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

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

See also