ActionListResult common.action-list-result@1

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

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

One authority's Action Center items for a person (capabilities actor.actions.read, codes.actions.read, ai.actions.read, domains.actions.read): GET /api/v1/actions?subject=usr_… with the caller's service token. Everything running, waiting or scheduled, then done and failed items from the last 30 days, newest first, at most 50.

Fields

FieldTypeRequiredDescriptionConstraints
itemscommon.action-itemyes
  • maxItems 50

Examples

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

Valid: one
{
  "items": [
    {
      "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"
      ]
    }
  ]
}
Rejected: no-items
{}

Validate

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