aYOUne
← AI API

AITrainingDatasets

Singular: AITrainingDataset — 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": {
    "lock": {
      "isLocked": false
    },
    "_id": "6a62dc172c0a4c8141733950",
    "_customerID": "5ee06fc2860473001cfb290a",
    "_clientID": [],
    "_subID": [],
    "name": "REGULAR_TEAL_ROOS TARPALS",
    "curationStatus": "draft",
    "isDraft": true,
    "g_participants": [],
    "g_restrict": false,
    "g_restrictUsers": [],
    "g_restrictTeams": [],
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2026-07-24T03:29:27.859Z",
    "updatedAt": "2026-07-24T03:29:27.859Z",
    "__v": 0
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://ai.ayoune.app/aitrainingdatasets/6a62dc172c0a4c8141733950",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [],
    "errors": [],
    "actions": [],
    "version": {
      "host": "2026.131.3",
      "core": "2026.258.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9840",
      "reset": "1784867355",
      "resetDate": "Fri Jul 24 2026"
    },
    "responseTime": 70.654239,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

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

SDK

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

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

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

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

See also