← coding API
CodeAgents
Singular: CodeAgent — Base URL: https://coding-api.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": "6ac368c22f2ea81fb010b535",
"name": "[abnahme] Fehler-Kommentar-Agent",
"provider": "claude-code",
"command": "claude",
"isTemplate": false,
"active": true,
"createdBy": "5a76d07e2d8b3270ff6df587",
"shares": [],
"createdAt": "2026-10-05T09:07:14.723Z",
"updatedAt": "2026-10-05T09:07:14.723Z"
},
"meta": {
"links": [
{
"rel": "self",
"href": "https://coding-api.ayoune.app/codeagents/6ac368c22f2ea81fb010b535",
"method": "get",
"title": "GET",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"relations": [
{
"rel": "Credentials",
"title": "MODEL_CREDENTIAL",
"href": "https://api.ayoune.app/config/credentials",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.credentials"
},
{
"rel": "CodeAccounts",
"title": "MODEL_CODEACCOUNT",
"href": "https://api.ayoune.app/coding/codeaccounts",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "coding.accounts"
},
{
"rel": "ComputingEntities",
"title": "MODEL_COMPUTINGENTITY",
"href": "https://api.ayoune.app/config/computingentities",
"method": "get",
"types": [
"application/json",
"application/yaml",
"text/csv"
],
"right": "config.computingentities"
}
],
"debugId": "6adec459cf1843466679f7bf",
"errors": [],
"actions": [
{
"rel": "self",
"action": "COPY",
"title": "MODEL_CODEAGENT",
"href": "https://api.ayoune.app/coding/codeagents/6ac368c22f2ea81fb010b535/copy",
"method": "post",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
},
{
"rel": "self",
"action": "DELETE",
"title": "MODEL_CODEAGENT",
"href": "https://api.ayoune.app/coding/codeagents/6ac368c22f2ea81fb010b535",
"method": "delete",
"types": [
"application/json",
"application/yaml",
"text/csv"
]
}
],
"version": {
"host": "2026.74.0",
"core": "2026.388.0"
},
"rateLimit": {
"limit": "10000",
"remaining": "9989",
"reset": "1792987752",
"resetDate": "Mon Oct 26 2026"
},
"responseTime": 38.217567,
"code": 200,
"status": "success",
"error": false
}
}
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /codeagents |
List with filters/pagination | coding.agents.view |
| GET | /codeagents/:id |
Single record | coding.agents.view |
| POST | /codeagents |
Create new record | coding.agents.new |
| PUT | /codeagents |
Update record | coding.agents.edit |
| DELETE | /codeagents/:id |
Delete record | coding.agents.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.coding.codeAgents.find().limit(10).exec();
// Single record
const one = await ay.coding.codeAgents.findById('OBJECT_ID').exec();
// Create
const created = await ay.coding.codeAgents.create({ name: 'Foo' });