Skip to content
aYOUne
← Configuration API

CustomFunctionLogs

Singular: CustomFunctionLog — Base URL: https://config-api.ayoune.app — Access: read-only — 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.

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": "6ad21d6d47216b033b516808",
    "_functionId": "6ad21bdf4eb0cacc4d5211df",
    "triggerMode": "checkout:quote",
    "status": "success",
    "output": {
      "adjustments": [
        {
          "label": "Abnahme-Rabatt",
          "amount": 2,
          "kind": "discount"
        }
      ],
      "hideShippingMethods": [
        "6ac811924affa5ff19a8e89d"
      ]
    },
    "logs": [],
    "executionTimeMs": 1,
    "memoryUsedMb": 0,
    "sdkCalls": [],
    "shares": [],
    "createdAt": "2026-10-16T12:49:49.325Z",
    "updatedAt": "2026-10-16T12:49:49.325Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://config-api.ayoune.app/customfunctionlogs/6ad21d6d47216b033b516808",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "UserFunctions",
        "title": "MODEL_USERFUNCTION",
        "href": "https://api.ayoune.app/config/userfunctions/6ad21bdf4eb0cacc4d5211df",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.userfunctions"
      }
    ],
    "relations": [
      {
        "rel": "UserFunctions",
        "title": "MODEL_USERFUNCTION",
        "href": "https://api.ayoune.app/config/userfunctions",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.userfunctions"
      }
    ],
    "debugId": "6adec7c262556e5404c0d161",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_CUSTOMFUNCTIONLOG",
        "href": "https://api.ayoune.app/config/customfunctionlogs/6ad21d6d47216b033b516808/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_CUSTOMFUNCTIONLOG",
        "href": "https://api.ayoune.app/config/customfunctionlogs/6ad21d6d47216b033b516808",
        "method": "delete",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.170.1",
      "core": "2026.388.0"
    },
    "rateLimit": {
      "limit": "10000",
      "remaining": "7220",
      "reset": "1792987338",
      "resetDate": "Mon Oct 26 2026"
    },
    "responseTime": 202.171399,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

MethodPathDescriptionRight
GET /customfunctionlogs List with filters/pagination config.customfunctionlogs.view
GET /customfunctionlogs/:id Single record by ID config.customfunctionlogs.view

SDK

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

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

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

See also