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