← Configuration API
EventMetas
Singular: EventMeta — Base URL: https://config-api.ayoune.app — Access: CRUD
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": {
"_id": "6a6196734b2a1b7d2c553aec",
"label": "triggered",
"action": "check",
"category": "automation",
"value": "many_gray_lobot",
"createdAt": "2026-07-23T04:20:03.367Z",
"dataRetention": 2,
"updatedAt": "2026-07-24T03:30:02.124Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://config-api.ayoune.app/eventmetas/6a6196734b2a1b7d2c553aec",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [],
"debugId": "6a62dd7130b7d778029e8c30",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_EVENTMETA",
"href": "https://api.ayoune.app/config/eventmetas/6a6196734b2a1b7d2c553aec/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_EVENTMETA",
"href": "https://api.ayoune.app/config/eventmetas/6a6196734b2a1b7d2c553aec/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.94.0",
"core": "2026.258.0"
},
"rateLimit": {
"limit": "2500",
"remaining": "1673",
"reset": "1784865648",
"resetDate": "Fri Jul 24 2026"
},
"responseTime": 100.929014,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /eventmetas |
List with filters/pagination | config.eventmetas.view |
| GET | /eventmetas/:id |
Single record | config.eventmetas.view |
| POST | /eventmetas |
Create new record | config.eventmetas.new |
| PUT | /eventmetas |
Update record | config.eventmetas.edit |
| DELETE | /eventmetas/:id |
Delete record | config.eventmetas.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.config.eventMetas.find().limit(10).exec();
// Single record
const one = await ay.config.eventMetas.findById('OBJECT_ID').exec();
// Create
const created = await ay.config.eventMetas.create({ name: 'Foo' });