ActorAgentManageResult actor.agent-manage-result@1

Generated at from openvibe-contracts v0.143.0 and openvibe-sdk v0.44.0.

Version
1.0.0
Owner
actor
Visibility
public
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/actor/agent-manage-result.v1.json

actor.agent-manage-result@1: GET /api/v1/me/agents → { agents }; an agent (create 201, read, update); GET …/memory → { memory } (newest first); a note (create 201, update). DELETE answers 204 with no body.

Fields

This schema has no named fields.

Examples

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

Valid: list
{
  "agents": [
    {
      "id": "agt_01M4C49CW34NGX7TR2TNRVFWNW",
      "name": "Morning briefing",
      "instructions": "Summarise.",
      "mode": "balanced",
      "schedule": "daily",
      "schedule_at": "07:30",
      "status": "active"
    }
  ]
}
Valid: memory
{
  "memory": [
    {
      "id": "mem_01M4C49CWJCFYGJS3T7NFZFQYX",
      "text": "I prefer bullet points.",
      "origin": "person"
    }
  ]
}
Rejected: bad-origin
{
  "memory": [
    {
      "id": "mem_01M4C49CWJCFYGJS3T7NFZFQYX",
      "text": "x",
      "origin": "model"
    }
  ]
}
Rejected: empty
{}

Validate

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