Skip to content
aYOUne
← AI API

CopilotRecipes

Singular: CopilotRecipe — Base URL: https://ai.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

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

SDK

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

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

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

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

See also