aYOUne
← coding API

CodingJobs

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

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.

{
  "payload": {
    "_id": "6a7c71f578c49e7e2386ac1c",
    "status": "cancelled",
    "priority": 0,
    "spec": {
      "prompt": "Antworte mit genau dem Wort DURCHSTICH und sonst nichts. Aendere keine Datei.",
      "acceptanceCriteria": []
    },
    "attemptCount": 0,
    "isDraft": true,
    "createdBy": "5a76d07e2d8b3270ff6df587",
    "createdAt": "2026-08-12T13:15:33.211Z",
    "updatedAt": "2026-08-12T13:56:34.261Z",
    "modifiedBy": "5a76d07e2d8b3270ff6df587"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://coding-api.ayoune.app/codingjobs/6a7c71f578c49e7e2386ac1c",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Tasks",
        "title": "MODEL_TASK",
        "href": "https://api.ayoune.app/pm/tasks",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.tasks"
      },
      {
        "rel": "Stories",
        "title": "MODEL_STORY",
        "href": "https://api.ayoune.app/pm/stories",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.stories"
      },
      {
        "rel": "Projects",
        "title": "MODEL_PROJECT",
        "href": "https://api.ayoune.app/pm/projects",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.projects"
      },
      {
        "rel": "Milestones",
        "title": "MODEL_MILESTONE",
        "href": "https://api.ayoune.app/pm/milestones",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.milestones"
      },
      {
        "rel": "Epics",
        "title": "MODEL_EPIC",
        "href": "https://api.ayoune.app/pm/epics",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.epics"
      },
      {
        "rel": "Sprints",
        "title": "MODEL_SPRINT",
        "href": "https://api.ayoune.app/pm/sprints",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.sprints"
      },
      {
        "rel": "Components",
        "title": "MODEL_COMPONENT",
        "href": "https://api.ayoune.app/pm/components",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.components"
      },
      {
        "rel": "Repositories",
        "title": "MODEL_REPOSITORY",
        "href": "https://api.ayoune.app/devops/repositories",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "devops.repositories"
      },
      {
        "rel": "CodeAgents",
        "title": "MODEL_CODEAGENT",
        "href": "https://api.ayoune.app/coding/codeagents",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "coding.agents"
      }
    ],
    "debugId": "6a8e6043cf91163092d71358",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_CODINGJOB",
        "href": "https://api.ayoune.app/coding/codingjobs/6a7c71f578c49e7e2386ac1c/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_CODINGJOB",
        "href": "https://api.ayoune.app/coding/codingjobs/6a7c71f578c49e7e2386ac1c",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.57.0",
      "core": "2026.319.0"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2439",
      "reset": "1787719247",
      "resetDate": "Wed Aug 26 2026"
    },
    "responseTime": 43.891959,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

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

SDK

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

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

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

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

See also