Skip to content
aYOUne
← AI API

Pipelines

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

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": "6ab1f1c13a266d5b88ce798c",
    "name": "AESTHETIC_INDIGO_BIGGS DARKLIGHTER",
    "trigger": "",
    "protected": false,
    "createdBy": "6045f4d25704710012485569",
    "shares": [],
    "createdAt": "2026-09-22T03:10:57.535Z",
    "updatedAt": "2026-09-22T03:10:57.535Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://ai.ayoune.app/pipelines/6ab1f1c13a266d5b88ce798c",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Consumers",
        "title": "MODEL_CONSUMER",
        "href": "https://api.ayoune.app/crm/consumers",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "crm.consumers"
      }
    ],
    "debugId": "6acafdec7594411edf9b09d0",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_PIPELINE",
        "href": "https://api.ayoune.app/ai/pipelines/6ab1f1c13a266d5b88ce798c/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_PIPELINE",
        "href": "https://api.ayoune.app/ai/pipelines/6ab1f1c13a266d5b88ce798c",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.178.0",
      "core": "2026.368.2"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "9996",
      "reset": "1791691773",
      "resetDate": "Sun Oct 11 2026"
    },
    "responseTime": 51.005067,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

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

SDK

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

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

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

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

See also