aYOUne
← AI API

AITools

Singular: AITool — 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 /aitools List with filters/pagination ai.aitools.view
GET /aitools/:id Single record ai.aitools.view
POST /aitools Create new record ai.aitools.new
PUT /aitools Update record ai.aitools.edit
DELETE /aitools/:id Delete record ai.aitools.delete

SDK

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

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

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

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

See also