MeActionsResult network.me-actions-result@1

Generated at from openvibe-contracts v0.419.0 and openvibe-sdk v0.161.0.

Version
1.1.0
Owner
network
Visibility
public
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/network/me-actions-result.v1.json

The Action Center for the signed-in person (capability network.actions.read, GET /api/v1/me/actions): every authority's items merged into five buckets, newest first in each. sources says how each authority answered; a slow or failing one is left out (partial true), never fails the answer.

Fields

FieldTypeRequiredDescriptionConstraints
bucketsobjectyes
  • no other fields
buckets.runningcommon.action-itemyes
buckets.waitingcommon.action-itemyes
buckets.scheduledcommon.action-itemyes
buckets.donecommon.action-itemyes
buckets.failedcommon.action-itemyes
countsobjectyes
  • no other fields
counts.runningintegeryes
  • minimum 0
counts.waitingintegeryes
  • minimum 0
counts.scheduledintegeryes
  • minimum 0
counts.doneintegeryes
  • minimum 0
counts.failedintegeryes
  • minimum 0
sourcesobjectyes
partialbooleanyes
generated_atstringyes
  • format date-time

Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

Valid: merged
{
  "buckets": {
    "running": [
      {
        "service": "actor",
        "id": "tsk_01JAB2C3D4E5F6G7H8J9K0MNPQ",
        "kind": "agent_task",
        "title": "Find three cheap flights to Lisbon",
        "summary": "Read 4 pages; comparing prices",
        "bucket": "running",
        "state": "running",
        "agent": "deepseek-flash",
        "cost_usd": 0.004,
        "steps": 6,
        "error": null,
        "created_at": "2026-10-28T14:00:00Z",
        "updated_at": "2026-10-28T14:02:10Z",
        "next_run_at": null,
        "href": "https://openvibe.actor/tasks/tsk_01JAB2C3D4E5F6G7H8J9K0MNPQ",
        "actions": [
          "open",
          "cancel"
        ]
      }
    ],
    "waiting": [],
    "scheduled": [],
    "done": [],
    "failed": []
  },
  "counts": {
    "running": 1,
    "waiting": 0,
    "scheduled": 0,
    "done": 0,
    "failed": 0
  },
  "sources": {
    "actor": "ok",
    "codes": "timeout",
    "ai": "ok",
    "network": "ok"
  },
  "partial": true,
  "generated_at": "2026-10-28T14:02:11Z"
}
Rejected: missing-bucket
{
  "buckets": {
    "running": []
  },
  "counts": {
    "running": 0,
    "waiting": 0,
    "scheduled": 0,
    "done": 0,
    "failed": 0
  },
  "sources": {},
  "partial": false,
  "generated_at": "2026-10-28T14:02:11Z"
}

Validate

const contracts = require('openvibe-contracts');
contracts.validate('network.me-actions-result@1', value);   // { valid, errors: [{ path, message }] }