Skip to content

create-run

Generated reference page for spec/v1/examples/commands/create-run.json.

Metadata

  • Type: JSON
  • Source: spec/v1/examples/commands/create-run.json
  • Raw: View Raw

Summary

  • Top-level keys: 7

Source

json
{
  "resourceType": "agent",
  "resourceId": "demo-agent",
  "contextId": "ctx-customer-001",
  "input": {
    "mode": "agent",
    "messages": [
      {
        "id": "msg-user-1",
        "role": "user",
        "content": "Summarize the latest deployment status"
      }
    ],
    "callableAliases": ["deployments-list"]
  },
  "runPolicyOverride": {
    "maxRetries": 2,
    "priorityClass": "interactive"
  },
  "webhook": {
    "url": "https://example.com/hooks/agent-service",
    "eventTypes": ["run.status.changed", "message.completed"]
  },
  "idempotencyKey": "create-run-demo-agent-ctx-customer-001"
}

白皮书与规范内容以仓库真源为准。