← AI API
AITools
Singular: AITool — Base URL: https://ai.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.
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| 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' });