aYOUne
← AI API

Bots

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

Example response (recorded) sample

A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.

"Just be your awesome self!"

Endpoints

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

SDK

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

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

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

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

See also