aYOUne
← AI API

AIEnterpriseControls

Singular: AIEnterpriseControl — 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.

Endpoints

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

SDK

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

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

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

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

See also