← AI API
AIOutputStyles
Singular: AIOutputStyle — Base URL: https://ai.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)
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.
Example response (recorded) sample
A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.
{
"payload": {
"_id": "6a353bd55a44977e01d46712",
"name": "Concise",
"description": "Short, direct answers",
"status": "active",
"styleType": "concise",
"includeSourceCitations": true,
"includeCostInfo": false,
"includeConfidenceScores": false,
"_agents": [],
"global": false,
"isTemplate": false,
"isDraft": true,
"createdAt": "2026-06-19T12:53:41.499Z",
"updatedAt": "2026-06-19T12:53:41.499Z",
"shares": []
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://ai.ayoune.app/aioutputstyles/6a353bd55a44977e01d46712",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [
{
"rel": "AIOutputStyles",
"title": "MODEL_AIOUTPUTSTYLE",
"href": "https://api.ayoune.app/ai/aioutputstyles",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "ai.aioutputstyles"
}
],
"debugId": "6aa0cf0fa20da3616dda1f72",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_AIOUTPUTSTYLE",
"href": "https://api.ayoune.app/ai/aioutputstyles/6a353bd55a44977e01d46712/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_AIOUTPUTSTYLE",
"href": "https://api.ayoune.app/ai/aioutputstyles/6a353bd55a44977e01d46712",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.172.0",
"core": "2026.334.1"
},
"rateLimit": {
"limit": "10000",
"remaining": "9747",
"reset": "1788927245",
"resetDate": "Wed Sep 09 2026"
},
"responseTime": 63.938939,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /aioutputstyles |
List with filters/pagination | ai.aioutputstyles.view |
| GET | /aioutputstyles/:id |
Single record | ai.aioutputstyles.view |
| POST | /aioutputstyles |
Create new record | ai.aioutputstyles.new |
| PUT | /aioutputstyles |
Update record | ai.aioutputstyles.edit |
| DELETE | /aioutputstyles/:id |
Delete record | ai.aioutputstyles.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.ai.aIOutputStyles.find().limit(10).exec();
// Single record
const one = await ay.ai.aIOutputStyles.findById('OBJECT_ID').exec();
// Create
const created = await ay.ai.aIOutputStyles.create({ name: 'Foo' });