← AI API
RunningPipelines
Singular: RunningPipeline — Base URL: https://ai.ayoune.app — Access: read-only — Machine-readable spec (JSON · YAML)
Try it now
beta
Response (live)
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": {
"stats": {
"totalStages": 0,
"stagesDone": 0,
"stagesOpen": 0,
"stageProgress": 0,
"totalJobs": 0,
"jobsDone": 0,
"jobsOpen": 0,
"jobProgress": 0
},
"_id": "65e0afb9121b7d48fe15513d",
"done": false,
"_user": "6045f4d25704710012485569",
"multiInstance": false,
"entities": [],
"protected": false,
"active": false,
"isDraft": true,
"createdBy": "6045f4d25704710012485569",
"warnings": [],
"pErrors": [],
"logs": [],
"stages": [],
"createdAt": "2024-02-29T16:24:25.717Z",
"updatedAt": "2024-02-29T16:24:25.717Z",
"shares": []
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://ai.ayoune.app/runningpipelines/65e0afb9121b7d48fe15513d",
"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"
},
{
"rel": "Configurations",
"title": "MODEL_CONFIGURATION",
"href": "https://api.ayoune.app/sale/configurations",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "sale.configurations"
},
{
"rel": "Offers",
"title": "MODEL_OFFER",
"href": "https://api.ayoune.app/sale/offers",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "sale.offers"
},
{
"rel": "Projects",
"title": "MODEL_PROJECT",
"href": "https://api.ayoune.app/pm/projects",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "pm.projects"
},
{
"rel": "Assignments",
"title": "MODEL_ASSIGNMENT",
"href": "https://api.ayoune.app/sale/assignments",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "sale.assignments"
},
{
"rel": "Invoices",
"title": "MODEL_INVOICE",
"href": "https://api.ayoune.app/sale/invoices",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "sale.invoices"
}
],
"debugId": "6aa0cf181d5f163b722c8e9e",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_RUNNINGPIPELINE",
"href": "https://api.ayoune.app/ai/runningpipelines/65e0afb9121b7d48fe15513d/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_RUNNINGPIPELINE",
"href": "https://api.ayoune.app/ai/runningpipelines/65e0afb9121b7d48fe15513d",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.172.0",
"core": "2026.334.1"
},
"rateLimit": {
"limit": "10000",
"remaining": "9625",
"reset": "1788927245",
"resetDate": "Wed Sep 09 2026"
},
"responseTime": 21.428639,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /runningpipelines |
List with filters/pagination | ai.runningpipelines.view |
| GET | /runningpipelines/:id |
Single record by ID | ai.runningpipelines.view |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.ai.runningPipelines.find().limit(10).exec();
// Single record
const one = await ay.ai.runningPipelines.findById('OBJECT_ID').exec();