← AI API
AIMemories
Singular: AIMemory — 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 | /aimemories |
List with filters/pagination | ai.aimemories.view |
| GET | /aimemories/:id |
Single record | ai.aimemories.view |
| POST | /aimemories |
Create new record | ai.aimemories.new |
| PUT | /aimemories |
Update record | ai.aimemories.edit |
| DELETE | /aimemories/:id |
Delete record | ai.aimemories.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.ai.aIMemories.find().limit(10).exec();
// Single record
const one = await ay.ai.aIMemories.findById('OBJECT_ID').exec();
// Create
const created = await ay.ai.aIMemories.create({ name: 'Foo' });