Reports
3
Packaged daily research with open public access.
Capabilities
What each research surface does, whether it is open, whether a preview exists, how fresh the data is, whether workflow policies are enforced, and whether the endpoint is currently healthy. Query /api/capabilities for the machine-readable version.
Overview
Reports
Packaged daily research with open public access.
Data
Machine-readable feeds for repeated queries.
Workflows
Multi-step research jobs run on demand.
Status
Last published Mar 21, 2026, 12:00 PM.
Browse
GET /api/workflows/preview
Preview a workflow run or async job before opening an x402 session: estimated spend, touched capabilities, freshness risk, likely artifacts, expected latency, and approval requirements.
Reliability
Notes
Endpoint
publicworkflow_preview_hashWorkflow support
This is the native preview surface for workflow jobs and inline runs.
Previews estimate likely evidence/artifact volume but do not return real artifact handles.
Previews expose policy and freshness risk only; no canonical receipt verification is produced until a workflow actually runs.
Previews can optionally evaluate the currently attached human lease for a selected job or subscription, while generic previews stay public and lease-agnostic.
Generic previews remain public. Add leaseContext=job or leaseContext=subscription with operator auth when you want a live lease decision.
Lease-aware previews report renewal_required, expired, and out_of_scope decisions before the worker spends or resumes anything.
Examples
/api/workflows/preview?intent=job&template=topic_brief&topic=tempo%20mainnet/api/workflows/preview?intent=run&template=signal_explain&topic=Launch%20anchor%20Tempo%20mainnetInput schema
allowedCapabilitiesfocusfreshnessMaxAgeSecondsmaxSpendPerDayUsdcmaxSpendPerMonthUsdcmaxSpendPerRunUsdcpreviewHashqrequireCitationsrequireHumanLeaserequiresApprovalAboveUsdcslugsourceLeaseIdtemplatetopicintentjobleaseContextsubscription{
"type": "object",
"additionalProperties": false,
"properties": {
"allowedCapabilities": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional capability allowlist. Comma-separated strings are also accepted on query surfaces."
},
"focus": {
"type": "string",
"minLength": 1,
"description": "Optional focus label for watch templates like daily_operator_watch, partner_monitor, and competitor_watch."
},
"freshnessMaxAgeSeconds": {
"type": "integer",
"minimum": 0,
"description": "Optional freshness ceiling in seconds. Runs older than this archive age are blocked."
},
"maxSpendPerDayUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional rolling 24-hour cap for this workflow lineage."
},
"maxSpendPerMonthUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional rolling 30-day cap for this workflow lineage."
},
"maxSpendPerRunUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional per-run cap. Runs above this amount are blocked."
},
"previewHash": {
"type": "string",
"minLength": 12,
"description": "Optional hash returned by /api/workflows/preview. When it still matches the live preflight state, the resulting receipt links back to that preview."
},
"q": {
"type": "string",
"minLength": 1,
"description": "Alias for topic when using brief templates like topic_brief, launch_tracker, or signal_explain."
},
"requireCitations": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional citation gate. When enabled, the workflow blocks before publish unless at least one reference is available."
},
"requireHumanLease": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional human-lease gate. When enabled, the job is persisted but stays blocked until a passkey-signed lease is attached."
},
"requiresApprovalAboveUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional approval threshold. Runs above this estimate pause for passkey approval."
},
"slug": {
"type": "string",
"minLength": 1,
"description": "Optional report slug to anchor the workflow on a specific issue."
},
"sourceLeaseId": {
"type": "string",
"minLength": 8,
"description": "Optional attached or inherited human lease id to evaluate during job creation."
},
"template": {
"type": "string",
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
],
"description": "Workflow template to run."
},
"topic": {
"type": "string",
"minLength": 1,
"description": "Optional topic prompt for brief templates like topic_brief, launch_tracker, and signal_explain."
},
"intent": {
"type": "string",
"enum": [
"job",
"run"
],
"description": "Whether to preview an inline paid run or a persisted async job."
},
"job": {
"type": "string",
"minLength": 8,
"description": "Optional selected job id when evaluating a live attached lease for that job preview."
},
"leaseContext": {
"type": "string",
"enum": [
"job",
"subscription"
],
"description": "Optional live lease target to evaluate. Requires operator auth when supplied."
},
"subscription": {
"type": "string",
"minLength": 8,
"description": "Optional selected subscription id when evaluating a live attached lease for that subscription preview."
}
}
}Output schema
archiveContextartifactscapabilitiescapabilityestimatefreshnessgeneratedAtidintentleaselinksnotepolicypreviewHashrequesttemplate{
"type": "object",
"required": [
"archiveContext",
"artifacts",
"capabilities",
"capability",
"estimate",
"freshness",
"generatedAt",
"id",
"intent",
"lease",
"links",
"note",
"policy",
"previewHash",
"request",
"template"
],
"additionalProperties": false,
"properties": {
"archiveContext": {
"type": "object",
"required": [
"latestReport",
"reportArchiveCount",
"selectedReport"
],
"additionalProperties": false,
"properties": {
"latestReport": {
"anyOf": [
{
"type": "object",
"required": [
"date",
"dateLabel",
"publishedAt",
"slug",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"publishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"reportArchiveCount": {
"type": "integer",
"minimum": 0
},
"selectedReport": {
"type": "object",
"required": [
"date",
"dateLabel",
"publishedAt",
"slug",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"publishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
}
},
"artifacts": {
"type": "object",
"required": [
"formats",
"includesPrivateEvidence",
"likelyCount",
"notes"
],
"additionalProperties": false,
"properties": {
"formats": {
"type": "array",
"items": {
"type": "string"
}
},
"includesPrivateEvidence": {
"type": "boolean"
},
"likelyCount": {
"type": "integer",
"minimum": 0
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"capabilities": {
"type": "array",
"items": {
"type": "object",
"required": [
"capabilityId",
"endpointPath",
"kind",
"latencyMsTypical"
],
"additionalProperties": false,
"properties": {
"capabilityId": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
"endpointPath": {
"type": "string"
},
"kind": {
"enum": [
"answer",
"artifacts",
"research",
"signals",
"workflow"
]
},
"latencyMsTypical": {
"type": "integer",
"minimum": 0
}
}
}
},
"capability": {
"type": "object",
"required": [
"capabilityId",
"category",
"documentationPath",
"endpoint",
"manifestPath",
"schemaBoundCapabilityId"
],
"additionalProperties": false,
"properties": {
"capabilityId": {
"type": "string"
},
"category": {
"enum": [
"data",
"report",
"workflow"
]
},
"documentationPath": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"manifestPath": {
"type": "string"
},
"schemaBoundCapabilityId": {
"type": "string"
}
}
},
"estimate": {
"type": "object",
"required": [
"completionMsTypical",
"completionMsUpperBound",
"spendUsdc",
"submissionMsTypical",
"submissionMsUpperBound"
],
"additionalProperties": false,
"properties": {
"completionMsTypical": {
"type": "integer",
"minimum": 0
},
"completionMsUpperBound": {
"type": "integer",
"minimum": 0
},
"spendUsdc": {
"type": "number",
"minimum": 0
},
"submissionMsTypical": {
"type": "integer",
"minimum": 0
},
"submissionMsUpperBound": {
"type": "integer",
"minimum": 0
}
}
},
"freshness": {
"type": "object",
"required": [
"latestPublishedAt",
"reason",
"risk",
"selectedPublishedAt",
"selectedReportAgeHours",
"selectedReportIsLatest",
"targetWindowSeconds"
],
"additionalProperties": false,
"properties": {
"latestPublishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reason": {
"type": "string"
},
"risk": {
"enum": [
"low",
"medium",
"high"
]
},
"selectedPublishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"selectedReportAgeHours": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"type": "boolean"
},
"targetWindowSeconds": {
"type": "integer",
"minimum": 0
}
}
},
"generatedAt": {
"type": "string"
},
"id": {
"type": "string"
},
"intent": {
"enum": [
"job",
"run"
]
},
"lease": {
"type": "object",
"required": [
"detail",
"dynamic",
"evaluation",
"requiredByRequest",
"target"
],
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
},
"dynamic": {
"type": "boolean"
},
"evaluation": {
"anyOf": [
{
"type": "object",
"required": [
"allowed",
"checkedAt",
"detail",
"currentCapability",
"inheritedFromSubscription",
"lease",
"leaseId",
"projectedSpendUsd",
"reason",
"required",
"source",
"status",
"target",
"template",
"usesPrivateRoutes",
"verification",
"webhookHost"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"checkedAt": {
"type": "string"
},
"detail": {
"type": "string"
},
"currentCapability": {
"anyOf": [
{
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"inheritedFromSubscription": {
"type": "boolean"
},
"lease": {
"anyOf": [
{
"type": "object",
"required": [
"createdAt",
"expiresAt",
"id",
"issuer",
"payloadHash",
"policy",
"scope",
"target",
"updatedAt",
"validFrom",
"verification"
],
"additionalProperties": false,
"properties": {
"createdAt": {
"type": "string"
},
"expiresAt": {
"type": "string"
},
"id": {
"type": "string"
},
"issuer": {
"type": "object",
"required": [
"credentialId",
"userId"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"type": "string"
},
"userId": {
"type": "string"
}
}
},
"payloadHash": {
"type": "string"
},
"policy": {
"type": "object",
"required": [
"maxIntervalHours",
"maxRuns",
"maxSpendUsd"
],
"additionalProperties": false,
"properties": {
"maxIntervalHours": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"maxRuns": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"maxSpendUsd": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"scope": {
"type": "object",
"required": [
"capabilityIds",
"privateRoutes",
"templates",
"webhookHosts"
],
"additionalProperties": false,
"properties": {
"capabilityIds": {
"type": "array",
"items": {
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
"privateRoutes": {
"type": "boolean"
},
"templates": {
"type": "array",
"items": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
}
},
"webhookHosts": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"target": {
"type": "object",
"required": [
"id",
"kind"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"job",
"subscription"
]
}
}
},
"updatedAt": {
"type": "string"
},
"validFrom": {
"type": "string"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"status",
"verifiedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detail": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"status": {
"enum": [
"invalid",
"missing",
"pending",
"verified"
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
},
{
"type": "null"
}
]
},
"leaseId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"projectedSpendUsd": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"anyOf": [
{
"enum": [
"expired",
"out_of_scope",
"renewal_required"
]
},
{
"type": "null"
}
]
},
"required": {
"type": "boolean"
},
"source": {
"enum": [
"attached",
"inherited_subscription",
"missing",
"operator_override"
]
},
"status": {
"enum": [
"active",
"admin_override",
"expiring_soon",
"expired",
"missing",
"rejected"
]
},
"target": {
"type": "object",
"required": [
"id",
"kind"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"job",
"subscription"
]
}
}
},
"template": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
},
"usesPrivateRoutes": {
"type": "boolean"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"status",
"verifiedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detail": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"status": {
"enum": [
"invalid",
"missing",
"pending",
"verified"
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"webhookHost": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
},
"requiredByRequest": {
"type": "boolean"
},
"target": {
"anyOf": [
{
"type": "object",
"required": [
"actionPath",
"eventsPath",
"id",
"kind",
"statusPath"
],
"additionalProperties": false,
"properties": {
"actionPath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"eventsPath": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"enum": [
"job",
"subscription"
]
},
"statusPath": {
"type": "string"
}
}
},
{
"type": "null"
}
]
}
}
},
"links": {
"type": "object",
"required": [
"api",
"docs"
],
"additionalProperties": false,
"properties": {
"api": {
"type": "object",
"required": [
"job",
"preview",
"run"
],
"additionalProperties": false,
"properties": {
"job": {
"type": "string"
},
"preview": {
"type": "string"
},
"run": {
"type": "string"
}
}
},
"docs": {
"type": "object",
"required": [
"jobs",
"preview",
"run"
],
"additionalProperties": false,
"properties": {
"jobs": {
"type": "string"
},
"preview": {
"type": "string"
},
"run": {
"type": "string"
}
}
}
}
},
"note": {
"type": "string"
},
"policy": {
"type": "object",
"required": [
"approval",
"budgetPolicy",
"evaluation"
],
"additionalProperties": false,
"properties": {
"approval": {
"type": "object",
"required": [
"decidedAt",
"decidedBy",
"note",
"required",
"status",
"thresholdUsdc"
],
"additionalProperties": false,
"properties": {
"decidedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"decidedBy": {
"anyOf": [
{
"type": "object",
"required": [
"credentialId",
"method"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"method": {
"enum": [
"header",
"passkey",
"secret"
]
}
}
},
{
"type": "null"
}
]
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"required": {
"type": "boolean"
},
"status": {
"enum": [
"approved",
"denied",
"not_required",
"pending"
]
},
"thresholdUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
}
}
},
"budgetPolicy": {
"type": "object",
"required": [
"allowedCapabilities",
"freshnessMaxAgeSeconds",
"maxSpendPerDayUsdc",
"maxSpendPerMonthUsdc",
"maxSpendPerRunUsdc",
"requireCitations",
"requiresApprovalAboveUsdc"
],
"additionalProperties": false,
"properties": {
"allowedCapabilities": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"maxSpendPerDayUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"maxSpendPerMonthUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"maxSpendPerRunUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"requiresApprovalAboveUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
}
}
},
"evaluation": {
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
}
}
},
"previewHash": {
"type": "string"
},
"request": {
"type": "object",
"required": [
"expandedQuery",
"focus",
"requireHumanLease",
"slug",
"targetLabel",
"template",
"topic"
],
"additionalProperties": false,
"properties": {
"expandedQuery": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"focus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"requireHumanLease": {
"type": "boolean"
},
"slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetLabel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"template": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
},
"topic": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"template": {
"type": "object",
"required": [
"description",
"family",
"id",
"name",
"queryKind"
],
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"family": {
"enum": [
"brief",
"watch"
]
},
"id": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
},
"name": {
"type": "string"
},
"queryKind": {
"enum": [
"focus",
"topic"
]
}
}
}
}
}Integrity
{
"freshQuote": {
"asset": "0x20c000000000000000000000b9537d11c60e8b50",
"capabilityId": "temporal:workflow.preview@1",
"endpointPath": "/api/workflows/preview",
"paymentKind": "free",
"recipient": "0x42d3e055a371d4a58cb3df34819dfa3c395d693e",
"settlementChain": "Tempo Mainnet",
"suggestedDeposit": null,
"unitType": "request",
"unitPrice": "0",
"validFrom": "2026-05-04T20:39:04.129Z",
"validUntil": "2026-05-04T20:44:04.129Z",
"quoteHash": "e9e93f91a4ffabe9c6adeb7aaa923e8178599b158d0bb773dd1611944fcf6095",
"signature": {
"alg": "hmac-sha256",
"keyId": "temporal-rest-discovery:6ad17a1eb19a",
"value": "61f3e60b5bdddc6fe24605e40560d8207832a8a19b264db0c06aa9ab64b217a5",
"signedAt": "2026-05-04T20:39:04.129Z"
},
"note": "Discovery quote is signed by the Temporal server for cache and manifest integrity. Live payment enforcement still comes from the x402 challenge on the endpoint itself."
},
"manifestHash": "17af368b7a888bbe164b8bac509686fbe4e47dfe582e5e1a61f516cb2c45b9f8",
"schemaHashes": {
"input": "3c41e47bb35cb36bf10e95a1119f387094eb62efc41c3f4fe5dd279b4a149729",
"output": "da02da51838a27662d82fae45e2990a6a3e0ac9d642d95b59e9e00a29f165321"
},
"commitments": {
"identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
"signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
}
}POST /api/workflows/subscriptions
Create a recurring workflow subscription that reruns on a fixed cadence and can deliver completed or failed job notifications to a webhook, with optional material-change filtering.
Reliability
Notes
Endpoint
tempo_mpp_x402_sessiontempo_mpp_session+workflow_subscription_receiptWorkflow support
Uses the companion preview endpoint before you open a recurring workflow lane.
Completed subscription jobs return artifact handles and selective-read paths in their receipts.
Completed subscription jobs include verification-rich receipts plus downstream delivery verification on the subscription itself.
Recurring runs are lease-aware. A subscription can run under admin override at first, but attached human leases are enforced at due-run and webhook time once present.
Subscriptions emit expiring-soon and expired lease events so operators can renew before recurring runs pause.
Lease scope covers template, cadence window, spend window, capability allowlist, private evidence access, and webhook host.
Examples
/api/workflows/subscriptions?template=topic_brief&topic=tempo%20mainnet&intervalHours=24¬ifyMode=material_change/api/workflows/subscriptions?template=daily_operator_watch&focus=partners&intervalHours=12¬ifyMode=always/api/workflows/subscriptions?template=partner_monitor&focus=payments&intervalHours=6¬ifyMode=material_change/api/workflows/subscriptions?template=signal_explain&topic=Launch%20anchor%20Tempo%20mainnet&intervalHours=6¬ifyMode=material_changeInput schema
allowedCapabilitiesfocusfreshnessMaxAgeSecondsintervalHourslabelmaxSpendPerDayUsdcmaxSpendPerMonthUsdcmaxSpendPerRunUsdcnotifyModerequireCitationsrequiresApprovalAboveUsdcslugtemplatetopicwebhookUrl{
"type": "object",
"additionalProperties": false,
"properties": {
"allowedCapabilities": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional capability allowlist. Comma-separated strings are also accepted on query surfaces."
},
"focus": {
"type": "string",
"minLength": 1,
"description": "Optional focus label for recurring watch templates like daily_operator_watch, partner_monitor, and competitor_watch."
},
"freshnessMaxAgeSeconds": {
"type": "integer",
"minimum": 0,
"description": "Optional freshness ceiling in seconds. Recurring runs older than this archive age are blocked."
},
"intervalHours": {
"type": "integer",
"minimum": 1,
"description": "Recurring cadence in hours. Defaults to 24."
},
"label": {
"type": "string",
"minLength": 1,
"description": "Optional display label for the subscription."
},
"maxSpendPerDayUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional rolling 24-hour cap across recurring runs."
},
"maxSpendPerMonthUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional rolling 30-day cap across recurring runs."
},
"maxSpendPerRunUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional per-run cap. Runs above this amount are blocked."
},
"notifyMode": {
"type": "string",
"enum": [
"always",
"material_change"
],
"description": "Whether webhook delivery should fire every completion or only when the completed result changes materially."
},
"requireCitations": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional citation gate. When enabled, recurring runs block before publish unless at least one reference is available."
},
"requiresApprovalAboveUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional approval threshold. Recurring runs above this estimate pause for passkey approval."
},
"slug": {
"type": "string",
"minLength": 1,
"description": "Optional report slug to anchor recurring runs on a specific issue."
},
"template": {
"type": "string",
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
],
"description": "Workflow template to schedule."
},
"topic": {
"type": "string",
"minLength": 1,
"description": "Optional topic prompt for recurring brief templates like topic_brief, launch_tracker, and signal_explain."
},
"webhookUrl": {
"type": "string",
"minLength": 8,
"description": "Optional HTTP(S) webhook to receive completed or failed workflow notifications."
}
}
}Output schema
capabilitycreatedJobIdeventsnotepayersubscription{
"type": "object",
"required": [
"capability",
"createdJobId",
"events",
"note",
"payer",
"subscription"
],
"additionalProperties": false,
"properties": {
"capability": {
"type": "object",
"required": [
"capabilityId",
"category",
"documentationPath",
"endpoint",
"manifestPath",
"schemaBoundCapabilityId"
],
"additionalProperties": false,
"properties": {
"capabilityId": {
"type": "string"
},
"category": {
"enum": [
"data",
"report",
"workflow"
]
},
"documentationPath": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"manifestPath": {
"type": "string"
},
"schemaBoundCapabilityId": {
"type": "string"
}
}
},
"createdJobId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"at",
"detail",
"id",
"jobId",
"label",
"type"
],
"additionalProperties": false,
"properties": {
"at": {
"type": "string"
},
"detail": {
"type": "string"
},
"id": {
"type": "string"
},
"jobId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"approval_requested",
"approval_settled",
"blocked",
"created",
"job_completed",
"job_failed",
"job_submitted",
"job_updated",
"lease_attached",
"lease_expired",
"lease_expiring_soon",
"lease_rejected",
"lease_renewed",
"paused",
"resumed",
"run_triggered",
"updated",
"webhook_delivered",
"webhook_dead_lettered",
"webhook_failed",
"webhook_retry_requested",
"webhook_skipped"
]
}
}
}
},
"note": {
"type": "string"
},
"payer": {
"anyOf": [
{
"type": "object",
"required": [
"address",
"did"
],
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"did": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"subscription": {
"type": "object",
"required": [
"approval",
"budgetPolicy",
"cadence",
"createdAt",
"deliveryHealth",
"deliveryVerification",
"eventsPath",
"id",
"label",
"lastCompletedAt",
"lastDeliveredResultHash",
"lastJobId",
"lastJobStatus",
"lastObservedResultHash",
"nextRunAt",
"notificationCursor",
"policyEvaluation",
"request",
"runPath",
"spend",
"status",
"statusPath",
"updatedAt",
"webhook"
],
"additionalProperties": false,
"properties": {
"approval": {
"type": "object",
"required": [
"decidedAt",
"decidedBy",
"note",
"required",
"status",
"thresholdUsdc"
],
"additionalProperties": false,
"properties": {
"decidedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"decidedBy": {
"anyOf": [
{
"type": "object",
"required": [
"credentialId",
"method"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"method": {
"enum": [
"header",
"passkey",
"secret"
]
}
}
},
{
"type": "null"
}
]
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"required": {
"type": "boolean"
},
"status": {
"enum": [
"approved",
"denied",
"not_required",
"pending"
]
},
"thresholdUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
}
}
},
"budgetPolicy": {
"type": "object",
"required": [
"allowedCapabilities",
"freshnessMaxAgeSeconds",
"maxSpendPerDayUsdc",
"maxSpendPerMonthUsdc",
"maxSpendPerRunUsdc",
"requireCitations",
"requiresApprovalAboveUsdc"
],
"additionalProperties": false,
"properties": {
"allowedCapabilities": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"maxSpendPerDayUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"maxSpendPerMonthUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"maxSpendPerRunUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"requiresApprovalAboveUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
}
}
},
"cadence": {
"type": "object",
"required": [
"intervalHours"
],
"additionalProperties": false,
"properties": {
"intervalHours": {
"type": "integer",
"minimum": 1
}
}
},
"createdAt": {
"type": "string"
},
"deliveryHealth": {
"type": "object",
"required": [
"detail",
"nextAttemptAt",
"pendingAttemptCount",
"status",
"successRate"
],
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
},
"nextAttemptAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pendingAttemptCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"dead_letter",
"disabled",
"healthy",
"idle",
"retrying"
]
},
"successRate": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
}
}
},
"deliveryVerification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"target"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"detail": {
"type": "string"
},
"passed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"target": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"eventsPath": {
"type": "string"
},
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"lastCompletedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastDeliveredResultHash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastJobId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastJobStatus": {
"anyOf": [
{
"type": "string",
"enum": [
"blocked",
"completed",
"failed",
"pending_approval",
"queued",
"running"
]
},
{
"type": "null"
}
]
},
"lastObservedResultHash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nextRunAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notificationCursor": {
"type": "object",
"required": [
"jobId",
"status",
"updatedAt"
],
"additionalProperties": false,
"properties": {
"jobId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string",
"enum": [
"blocked",
"completed",
"failed"
]
},
{
"type": "null"
}
]
},
"updatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"policyEvaluation": {
"anyOf": [
{
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
},
{
"type": "null"
}
]
},
"request": {
"type": "object",
"required": [
"focus",
"intervalHours",
"label",
"notifyMode",
"slug",
"template",
"topic",
"webhookUrl"
],
"additionalProperties": false,
"properties": {
"focus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"intervalHours": {
"type": "integer",
"minimum": 1
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"notifyMode": {
"enum": [
"always",
"material_change"
]
},
"slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"template": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
},
"topic": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"webhookUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"runPath": {
"type": "string"
},
"spend": {
"type": "object",
"required": [
"entries",
"totalActualUsdc",
"totalEstimatedUsdc"
],
"additionalProperties": false,
"properties": {
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"actualUsdc",
"estimatedUsdc",
"jobId",
"recordedAt",
"status"
],
"additionalProperties": false,
"properties": {
"actualUsdc": {
"type": "number",
"minimum": 0
},
"estimatedUsdc": {
"type": "number",
"minimum": 0
},
"jobId": {
"type": "string"
},
"recordedAt": {
"type": "string"
},
"status": {
"enum": [
"blocked",
"completed",
"failed"
]
}
}
}
},
"totalActualUsdc": {
"type": "number",
"minimum": 0
},
"totalEstimatedUsdc": {
"type": "number",
"minimum": 0
}
}
},
"status": {
"enum": [
"active",
"paused"
]
},
"statusPath": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"webhook": {
"anyOf": [
{
"type": "object",
"required": [
"consecutiveFailureCount",
"deadLetterCount",
"deliveryCount",
"failureCount",
"lastAttemptAt",
"lastDeadLetterAt",
"lastDeadLetterEvent",
"lastDeadLetterJobId",
"lastDeadLetterReason",
"lastDeliveredAt",
"lastDeliveredEvent",
"lastDeliveredJobId",
"lastError",
"lastHttpStatus",
"pendingDelivery",
"retryCount",
"skippedUnchangedCount",
"url"
],
"additionalProperties": false,
"properties": {
"consecutiveFailureCount": {
"type": "integer",
"minimum": 0
},
"deadLetterCount": {
"type": "integer",
"minimum": 0
},
"deliveryCount": {
"type": "integer",
"minimum": 0
},
"failureCount": {
"type": "integer",
"minimum": 0
},
"lastAttemptAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastDeadLetterAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastDeadLetterEvent": {
"anyOf": [
{
"type": "string",
"enum": [
"blocked",
"completed",
"failed"
]
},
{
"type": "null"
}
]
},
"lastDeadLetterJobId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastDeadLetterReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastDeliveredAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastDeliveredEvent": {
"anyOf": [
{
"type": "string",
"enum": [
"blocked",
"completed",
"failed"
]
},
{
"type": "null"
}
]
},
"lastDeliveredJobId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastHttpStatus": {
"anyOf": [
{
"type": "integer",
"minimum": 100
},
{
"type": "null"
}
]
},
"pendingDelivery": {
"anyOf": [
{
"type": "object",
"required": [
"attemptCount",
"event",
"firstAttemptAt",
"jobId",
"materialChange",
"nextAttemptAt",
"resultHash"
],
"additionalProperties": false,
"properties": {
"attemptCount": {
"type": "integer",
"minimum": 0
},
"event": {
"enum": [
"blocked",
"completed",
"failed"
]
},
"firstAttemptAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"jobId": {
"type": "string"
},
"materialChange": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"nextAttemptAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultHash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
},
"retryCount": {
"type": "integer",
"minimum": 0
},
"skippedUnchangedCount": {
"type": "integer",
"minimum": 0
},
"url": {
"type": "string"
}
}
},
{
"type": "null"
}
]
}
}
}
}
}Integrity
{
"freshQuote": {
"asset": "0x20c000000000000000000000b9537d11c60e8b50",
"capabilityId": "temporal:workflow.subscriptions@1",
"endpointPath": "/api/workflows/subscriptions",
"paymentKind": "session",
"recipient": "0x42d3e055a371d4a58cb3df34819dfa3c395d693e",
"settlementChain": "Tempo Mainnet",
"suggestedDeposit": "10",
"unitType": "subscription",
"unitPrice": "10",
"validFrom": "2026-05-04T20:39:04.130Z",
"validUntil": "2026-05-04T20:44:04.130Z",
"quoteHash": "6b2e2a250631170e114a18b208cfc836f5c4cdf41161c15f48396af2458c596d",
"signature": {
"alg": "hmac-sha256",
"keyId": "temporal-rest-discovery:6ad17a1eb19a",
"value": "ea30c6e4f114f8ff816b80237e8af7372b60c22a9e45a35b9ccd1a79b28b7e4b",
"signedAt": "2026-05-04T20:39:04.130Z"
},
"note": "Discovery quote is signed by the Temporal server for cache and manifest integrity. Live payment enforcement still comes from the x402 challenge on the endpoint itself."
},
"manifestHash": "579abad1ad745e5e99022bd933cded4db9a46f874184522e4c8d993edcb44bd3",
"schemaHashes": {
"input": "0b2937388701798ef53886872eb4fccd61197232063e7e7a1525d271824e5246",
"output": "e42c0b8142277a8606ec2d825ef719e638f9b3a4b8b2b7ad84f18673cf45ffa8"
},
"commitments": {
"identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
"signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
}
}POST /api/workflows/jobs
Submit a persisted workflow job, then poll the returned status and events paths to retrieve the completed DAG receipt with retries, lease recovery metadata, and optional private evidence nodes when enabled.
Reliability
Notes
Endpoint
tempo_mpp_x402_sessiontempo_mpp_session+workflow_job_receiptWorkflow support
Uses the companion preview endpoint before queueing the async job.
Completed job receipts return artifact handles with targeted read paths and slices.
Completed jobs return run records plus freshness, schema, citation, publication, and delivery verification blocks.
Async jobs can be lease-gated at creation and user-owned resume flows require a valid passkey-signed lease. The worker re-checks lease scope before each runtime node.
Jobs can be created with requireHumanLease to block execution until a lease is attached.
Runtime lease scope covers capability ids, spend window ceilings, and private evidence access before each node executes.
Examples
/api/workflows/jobs?template=topic_brief&topic=tempo%20mainnet/api/workflows/jobs?template=daily_operator_watch&focus=partners/api/workflows/jobs?template=launch_tracker&topic=tempo%20launch/api/workflows/jobs?template=signal_explain&topic=Launch%20anchor%20Tempo%20mainnetInput schema
allowedCapabilitiesfocusfreshnessMaxAgeSecondsmaxSpendPerDayUsdcmaxSpendPerMonthUsdcmaxSpendPerRunUsdcpreviewHashqrequireCitationsrequireHumanLeaserequiresApprovalAboveUsdcslugsourceLeaseIdtemplatetopic{
"type": "object",
"additionalProperties": false,
"properties": {
"allowedCapabilities": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional capability allowlist. Comma-separated strings are also accepted on query surfaces."
},
"focus": {
"type": "string",
"minLength": 1,
"description": "Optional focus label for watch templates like daily_operator_watch, partner_monitor, and competitor_watch."
},
"freshnessMaxAgeSeconds": {
"type": "integer",
"minimum": 0,
"description": "Optional freshness ceiling in seconds. Runs older than this archive age are blocked."
},
"maxSpendPerDayUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional rolling 24-hour cap for this workflow lineage."
},
"maxSpendPerMonthUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional rolling 30-day cap for this workflow lineage."
},
"maxSpendPerRunUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional per-run cap. Runs above this amount are blocked."
},
"previewHash": {
"type": "string",
"minLength": 12,
"description": "Optional hash returned by /api/workflows/preview. When it still matches the live preflight state, the resulting receipt links back to that preview."
},
"q": {
"type": "string",
"minLength": 1,
"description": "Alias for topic when using brief templates like topic_brief, launch_tracker, or signal_explain."
},
"requireCitations": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional citation gate. When enabled, the workflow blocks before publish unless at least one reference is available."
},
"requireHumanLease": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional human-lease gate. When enabled, the job is persisted but stays blocked until a passkey-signed lease is attached."
},
"requiresApprovalAboveUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional approval threshold. Runs above this estimate pause for passkey approval."
},
"slug": {
"type": "string",
"minLength": 1,
"description": "Optional report slug to anchor the workflow on a specific issue."
},
"sourceLeaseId": {
"type": "string",
"minLength": 8,
"description": "Optional attached or inherited human lease id to evaluate during job creation."
},
"template": {
"type": "string",
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
],
"description": "Workflow template to run."
},
"topic": {
"type": "string",
"minLength": 1,
"description": "Optional topic prompt for brief templates like topic_brief, launch_tracker, and signal_explain."
}
}
}Output schema
capabilityeventsjobnotepayer{
"type": "object",
"required": [
"capability",
"events",
"job",
"note",
"payer"
],
"additionalProperties": false,
"properties": {
"capability": {
"type": "object",
"required": [
"capabilityId",
"category",
"documentationPath",
"endpoint",
"manifestPath",
"schemaBoundCapabilityId"
],
"additionalProperties": false,
"properties": {
"capabilityId": {
"type": "string"
},
"category": {
"enum": [
"data",
"report",
"workflow"
]
},
"documentationPath": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"manifestPath": {
"type": "string"
},
"schemaBoundCapabilityId": {
"type": "string"
}
}
},
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"at",
"detail",
"id",
"label",
"nodeId",
"type"
],
"additionalProperties": false,
"properties": {
"at": {
"type": "string"
},
"detail": {
"type": "string"
},
"id": {
"type": "string"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"policyEvaluation": {
"anyOf": [
{
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
},
{
"type": "null"
}
]
},
"nodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"approval_requested",
"approved",
"blocked",
"completed",
"denied",
"failed",
"lease_attached",
"lease_denied",
"lease_expired",
"lease_expiring_soon",
"lease_renewed",
"node_completed",
"node_failed",
"node_started",
"policy_checked",
"resumed",
"started",
"submitted"
]
}
}
}
},
"job": {
"type": "object",
"required": [
"approval",
"attemptCount",
"budgetPolicy",
"completedAt",
"createdAt",
"execution",
"error",
"eventsPath",
"id",
"leaseEvaluation",
"leaseStatus",
"nodes",
"policyEvaluation",
"policyTrace",
"preview",
"request",
"requireHumanLease",
"result",
"resumePath",
"source",
"spend",
"startedAt",
"status",
"statusPath",
"updatedAt"
],
"additionalProperties": false,
"properties": {
"approval": {
"type": "object",
"required": [
"decidedAt",
"decidedBy",
"note",
"required",
"status",
"thresholdUsdc"
],
"additionalProperties": false,
"properties": {
"decidedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"decidedBy": {
"anyOf": [
{
"type": "object",
"required": [
"credentialId",
"method"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"method": {
"enum": [
"header",
"passkey",
"secret"
]
}
}
},
{
"type": "null"
}
]
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"required": {
"type": "boolean"
},
"status": {
"enum": [
"approved",
"denied",
"not_required",
"pending"
]
},
"thresholdUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
}
}
},
"attemptCount": {
"type": "integer",
"minimum": 0
},
"budgetPolicy": {
"type": "object",
"required": [
"allowedCapabilities",
"freshnessMaxAgeSeconds",
"maxSpendPerDayUsdc",
"maxSpendPerMonthUsdc",
"maxSpendPerRunUsdc",
"requireCitations",
"requiresApprovalAboveUsdc"
],
"additionalProperties": false,
"properties": {
"allowedCapabilities": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"maxSpendPerDayUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"maxSpendPerMonthUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"maxSpendPerRunUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"requiresApprovalAboveUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
}
}
},
"completedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
},
"execution": {
"type": "object",
"required": [
"heartbeatAt",
"leaseDurationMs",
"leaseExpiresAt",
"recoveredFromStaleLeaseAt",
"recoveryCount",
"workerId"
],
"additionalProperties": false,
"properties": {
"heartbeatAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"leaseDurationMs": {
"type": "integer",
"minimum": 0
},
"leaseExpiresAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"recoveredFromStaleLeaseAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"recoveryCount": {
"type": "integer",
"minimum": 0
},
"workerId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"error": {
"anyOf": [
{
"type": "object",
"required": [
"message"
],
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"eventsPath": {
"type": "string"
},
"id": {
"type": "string"
},
"leaseEvaluation": {
"type": "object",
"required": [
"allowed",
"checkedAt",
"detail",
"currentCapability",
"inheritedFromSubscription",
"lease",
"leaseId",
"projectedSpendUsd",
"reason",
"required",
"source",
"status",
"target",
"template",
"usesPrivateRoutes",
"verification",
"webhookHost"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"checkedAt": {
"type": "string"
},
"detail": {
"type": "string"
},
"currentCapability": {
"anyOf": [
{
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"inheritedFromSubscription": {
"type": "boolean"
},
"lease": {
"anyOf": [
{
"type": "object",
"required": [
"createdAt",
"expiresAt",
"id",
"issuer",
"payloadHash",
"policy",
"scope",
"target",
"updatedAt",
"validFrom",
"verification"
],
"additionalProperties": false,
"properties": {
"createdAt": {
"type": "string"
},
"expiresAt": {
"type": "string"
},
"id": {
"type": "string"
},
"issuer": {
"type": "object",
"required": [
"credentialId",
"userId"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"type": "string"
},
"userId": {
"type": "string"
}
}
},
"payloadHash": {
"type": "string"
},
"policy": {
"type": "object",
"required": [
"maxIntervalHours",
"maxRuns",
"maxSpendUsd"
],
"additionalProperties": false,
"properties": {
"maxIntervalHours": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"maxRuns": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"maxSpendUsd": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"scope": {
"type": "object",
"required": [
"capabilityIds",
"privateRoutes",
"templates",
"webhookHosts"
],
"additionalProperties": false,
"properties": {
"capabilityIds": {
"type": "array",
"items": {
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
"privateRoutes": {
"type": "boolean"
},
"templates": {
"type": "array",
"items": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
}
},
"webhookHosts": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"target": {
"type": "object",
"required": [
"id",
"kind"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"job",
"subscription"
]
}
}
},
"updatedAt": {
"type": "string"
},
"validFrom": {
"type": "string"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"status",
"verifiedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detail": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"status": {
"enum": [
"invalid",
"missing",
"pending",
"verified"
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
},
{
"type": "null"
}
]
},
"leaseId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"projectedSpendUsd": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"anyOf": [
{
"enum": [
"expired",
"out_of_scope",
"renewal_required"
]
},
{
"type": "null"
}
]
},
"required": {
"type": "boolean"
},
"source": {
"enum": [
"attached",
"inherited_subscription",
"missing",
"operator_override"
]
},
"status": {
"enum": [
"active",
"admin_override",
"expiring_soon",
"expired",
"missing",
"rejected"
]
},
"target": {
"type": "object",
"required": [
"id",
"kind"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"job",
"subscription"
]
}
}
},
"template": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
},
"usesPrivateRoutes": {
"type": "boolean"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"status",
"verifiedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detail": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"status": {
"enum": [
"invalid",
"missing",
"pending",
"verified"
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"webhookHost": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"leaseStatus": {
"type": "object",
"required": [
"detail",
"expiresAt",
"issuer",
"lease",
"leaseId",
"remainingSeconds",
"status",
"validFrom",
"verification"
],
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
},
"expiresAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"issuer": {
"anyOf": [
{
"type": "object",
"required": [
"credentialId",
"userId"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"type": "string"
},
"userId": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"lease": {
"anyOf": [
{
"type": "object",
"required": [
"createdAt",
"expiresAt",
"id",
"issuer",
"payloadHash",
"policy",
"scope",
"target",
"updatedAt",
"validFrom",
"verification"
],
"additionalProperties": false,
"properties": {
"createdAt": {
"type": "string"
},
"expiresAt": {
"type": "string"
},
"id": {
"type": "string"
},
"issuer": {
"type": "object",
"required": [
"credentialId",
"userId"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"type": "string"
},
"userId": {
"type": "string"
}
}
},
"payloadHash": {
"type": "string"
},
"policy": {
"type": "object",
"required": [
"maxIntervalHours",
"maxRuns",
"maxSpendUsd"
],
"additionalProperties": false,
"properties": {
"maxIntervalHours": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"maxRuns": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"maxSpendUsd": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"scope": {
"type": "object",
"required": [
"capabilityIds",
"privateRoutes",
"templates",
"webhookHosts"
],
"additionalProperties": false,
"properties": {
"capabilityIds": {
"type": "array",
"items": {
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
"privateRoutes": {
"type": "boolean"
},
"templates": {
"type": "array",
"items": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
}
},
"webhookHosts": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"target": {
"type": "object",
"required": [
"id",
"kind"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"job",
"subscription"
]
}
}
},
"updatedAt": {
"type": "string"
},
"validFrom": {
"type": "string"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"status",
"verifiedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detail": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"status": {
"enum": [
"invalid",
"missing",
"pending",
"verified"
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
},
{
"type": "null"
}
]
},
"leaseId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remainingSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"active",
"admin_override",
"expiring_soon",
"expired",
"missing",
"rejected"
]
},
"validFrom": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"status",
"verifiedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detail": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"status": {
"enum": [
"invalid",
"missing",
"pending",
"verified"
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
},
"nodes": {
"type": "array",
"items": {
"type": "object",
"required": [
"attemptCount",
"attempts",
"completedAt",
"dependsOn",
"error",
"id",
"kind",
"label",
"output",
"provenance",
"startedAt",
"status",
"summary"
],
"additionalProperties": false,
"properties": {
"attemptCount": {
"type": "integer",
"minimum": 0
},
"attempts": {
"type": "array",
"items": {
"type": "object",
"required": [
"attempt",
"completedAt",
"error",
"outputHash",
"provenance",
"startedAt",
"status",
"summary"
],
"additionalProperties": false,
"properties": {
"attempt": {
"type": "integer",
"minimum": 1
},
"completedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"error": {
"anyOf": [
{
"type": "object",
"required": [
"message"
],
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"outputHash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provenance": {
"anyOf": [
{
"type": "object",
"required": [
"input",
"notes",
"outputHash",
"references",
"sources"
],
"additionalProperties": false,
"properties": {
"input": {},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"outputHash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"type": "array",
"items": {
"type": "string"
}
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"label",
"path",
"url"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"derived",
"reference",
"report"
]
},
"label": {
"type": "string"
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
}
},
{
"type": "null"
}
]
},
"startedAt": {
"type": "string"
},
"status": {
"enum": [
"completed",
"failed",
"queued",
"running"
]
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
},
"completedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dependsOn": {
"type": "array",
"items": {
"type": "string"
}
},
"error": {
"anyOf": [
{
"type": "object",
"required": [
"message"
],
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"kind": {
"enum": [
"analysis",
"input",
"publish",
"retrieval",
"transform"
]
},
"label": {
"type": "string"
},
"output": {},
"provenance": {
"anyOf": [
{
"type": "object",
"required": [
"input",
"notes",
"outputHash",
"references",
"sources"
],
"additionalProperties": false,
"properties": {
"input": {},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"outputHash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"type": "array",
"items": {
"type": "string"
}
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"label",
"path",
"url"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"derived",
"reference",
"report"
]
},
"label": {
"type": "string"
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
}
},
{
"type": "null"
}
]
},
"startedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"completed",
"failed",
"queued",
"running"
]
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
},
"policyEvaluation": {
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
},
"policyTrace": {
"type": "array",
"items": {
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
}
},
"preview": {
"anyOf": [
{
"type": "object",
"required": [
"hash",
"id",
"intent",
"matchedAt"
],
"additionalProperties": false,
"properties": {
"hash": {
"type": "string"
},
"id": {
"type": "string"
},
"intent": {
"enum": [
"job",
"run"
]
},
"matchedAt": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"request": {
"type": "object",
"required": [
"focus",
"slug",
"template",
"topic"
],
"additionalProperties": false,
"properties": {
"focus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"template": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
},
"topic": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"requireHumanLease": {
"type": "boolean"
},
"result": {
"anyOf": [
{
"type": "object",
"required": [
"approval",
"artifacts",
"archiveContext",
"dag",
"job",
"note",
"policyEvaluation",
"policyTrace",
"product",
"preview",
"result",
"runRecord",
"spend",
"template",
"unitPrice",
"verification"
],
"additionalProperties": false,
"properties": {
"approval": {
"type": "object",
"required": [
"decidedAt",
"decidedBy",
"note",
"required",
"status",
"thresholdUsdc"
],
"additionalProperties": false,
"properties": {
"decidedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"decidedBy": {
"anyOf": [
{
"type": "object",
"required": [
"credentialId",
"method"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"method": {
"enum": [
"header",
"passkey",
"secret"
]
}
}
},
{
"type": "null"
}
]
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"required": {
"type": "boolean"
},
"status": {
"enum": [
"approved",
"denied",
"not_required",
"pending"
]
},
"thresholdUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
}
}
},
"artifacts": {
"type": "array",
"items": {
"type": "object",
"required": [
"artifactId",
"capturedAt",
"contentType",
"estimatedTokens",
"hash",
"kind",
"label",
"nodeId",
"path",
"readPath",
"sizeBytes",
"slices",
"sourceUrls",
"summary"
],
"additionalProperties": false,
"properties": {
"artifactId": {
"type": "string"
},
"capturedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentType": {
"type": "string"
},
"estimatedTokens": {
"type": "integer",
"minimum": 0
},
"hash": {
"type": "string"
},
"kind": {
"enum": [
"private_capture",
"report_anchor",
"workflow_capture"
]
},
"label": {
"type": "string"
},
"nodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"readPath": {
"type": "string"
},
"sizeBytes": {
"type": "integer",
"minimum": 0
},
"slices": {
"type": "array",
"items": {
"type": "object",
"required": [
"contentType",
"estimatedTokens",
"id",
"label",
"readPath",
"sizeBytes"
],
"additionalProperties": false,
"properties": {
"contentType": {
"type": "string"
},
"estimatedTokens": {
"type": "integer",
"minimum": 0
},
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"readPath": {
"type": "string"
},
"sizeBytes": {
"type": "integer",
"minimum": 0
}
}
}
},
"sourceUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"summary": {
"type": "string"
}
}
}
},
"archiveContext": {
"type": "object",
"required": [
"latestReport",
"reportArchiveCount",
"selectedReport"
],
"additionalProperties": false,
"properties": {
"latestReport": {
"type": "object",
"required": [
"date",
"dateLabel",
"referenceCount",
"signalCount",
"slug",
"timezone",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"referenceCount": {
"type": "integer",
"minimum": 0
},
"signalCount": {
"type": "integer",
"minimum": 0
},
"slug": {
"type": "string"
},
"timezone": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"reportArchiveCount": {
"type": "integer",
"minimum": 0
},
"selectedReport": {
"type": "object",
"required": [
"date",
"dateLabel",
"referenceCount",
"signalCount",
"slug",
"timezone",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"referenceCount": {
"type": "integer",
"minimum": 0
},
"signalCount": {
"type": "integer",
"minimum": 0
},
"slug": {
"type": "string"
},
"timezone": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
}
},
"dag": {
"type": "object",
"required": [
"edges",
"nodes"
],
"additionalProperties": false,
"properties": {
"edges": {
"type": "array",
"items": {
"type": "object",
"required": [
"from",
"to"
],
"additionalProperties": false,
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
}
}
},
"nodes": {
"type": "array",
"items": {
"type": "object",
"required": [
"dependsOn",
"id",
"kind",
"label",
"status",
"summary"
],
"additionalProperties": false,
"properties": {
"attemptCount": {
"type": "integer",
"minimum": 0
},
"completedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dependsOn": {
"type": "array",
"items": {
"type": "string"
}
},
"id": {
"type": "string"
},
"kind": {
"enum": [
"analysis",
"input",
"publish",
"retrieval",
"transform"
]
},
"label": {
"type": "string"
},
"provenance": {
"anyOf": [
{
"type": "object",
"required": [
"input",
"notes",
"outputHash",
"references",
"sources"
],
"additionalProperties": false,
"properties": {
"input": {},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"outputHash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"type": "array",
"items": {
"type": "string"
}
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"label",
"path",
"url"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"derived",
"reference",
"report"
]
},
"label": {
"type": "string"
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
}
},
{
"type": "null"
}
]
},
"startedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"completed"
]
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
}
},
"job": {
"type": "object",
"required": [
"completedAt",
"createdAt",
"id",
"status"
],
"additionalProperties": false,
"properties": {
"completedAt": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"id": {
"type": "string"
},
"status": {
"enum": [
"completed"
]
}
}
},
"note": {
"type": "string"
},
"policyEvaluation": {
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
},
"policyTrace": {
"type": "array",
"items": {
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
}
},
"product": {
"type": "string"
},
"preview": {
"anyOf": [
{
"type": "object",
"required": [
"hash",
"id",
"intent",
"matchedAt"
],
"additionalProperties": false,
"properties": {
"hash": {
"type": "string"
},
"id": {
"type": "string"
},
"intent": {
"enum": [
"job",
"run"
]
},
"matchedAt": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"result": {
"type": "object",
"required": [
"confidence",
"highlights",
"nextActions",
"references",
"relatedReports",
"summary",
"supportingSignals",
"topSignals",
"watchlist"
],
"additionalProperties": false,
"properties": {
"confidence": {
"enum": [
"high",
"low",
"medium",
"snapshot"
]
},
"highlights": {
"type": "array",
"items": {
"type": "object",
"required": [
"insight",
"report",
"type"
],
"additionalProperties": false,
"properties": {
"insight": {
"type": "string"
},
"report": {
"type": "object",
"required": [
"date",
"dateLabel",
"slug",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"type": {
"type": "string"
}
}
}
},
"nextActions": {
"type": "array",
"items": {
"type": "string"
}
},
"references": {
"type": "array",
"items": {
"type": "string"
}
},
"relatedReports": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"dateLabel",
"slug",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
},
"summary": {
"type": "string"
},
"supportingSignals": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"label",
"report"
],
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"label": {
"type": "string"
},
"report": {
"type": "object",
"required": [
"date",
"dateLabel",
"slug",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
}
}
},
"topSignals": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"label"
],
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"label": {
"type": "string"
}
}
}
},
"watchlist": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"runRecord": {
"type": "object",
"required": [
"conclusion",
"evidence",
"generatedAt",
"hypothesis",
"lease",
"policyChecks",
"spend"
],
"additionalProperties": false,
"properties": {
"conclusion": {
"type": "object",
"required": [
"status",
"summary"
],
"additionalProperties": false,
"properties": {
"status": {
"enum": [
"confirmed",
"qualified",
"unverified"
]
},
"summary": {
"type": "string"
}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"citation",
"freshnessCheckedAt",
"id",
"kind",
"label",
"nodeId",
"path",
"summary",
"url"
],
"additionalProperties": false,
"properties": {
"citation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"freshnessCheckedAt": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"enum": [
"artifact",
"reference",
"report",
"signal"
]
},
"label": {
"type": "string"
},
"nodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
},
"generatedAt": {
"type": "string"
},
"hypothesis": {
"type": "object",
"required": [
"confidenceLabel",
"confidenceScore",
"summary"
],
"additionalProperties": false,
"properties": {
"confidenceLabel": {
"enum": [
"high",
"low",
"medium",
"snapshot"
]
},
"confidenceScore": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"summary": {
"type": "string"
}
}
},
"lease": {
"anyOf": [
{
"type": "object",
"required": [
"allowed",
"checkedAt",
"detail",
"currentCapability",
"inheritedFromSubscription",
"lease",
"leaseId",
"projectedSpendUsd",
"reason",
"required",
"source",
"status",
"target",
"template",
"usesPrivateRoutes",
"verification",
"webhookHost"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"checkedAt": {
"type": "string"
},
"detail": {
"type": "string"
},
"currentCapability": {
"anyOf": [
{
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"inheritedFromSubscription": {
"type": "boolean"
},
"lease": {
"anyOf": [
{
"type": "object",
"required": [
"createdAt",
"expiresAt",
"id",
"issuer",
"payloadHash",
"policy",
"scope",
"target",
"updatedAt",
"validFrom",
"verification"
],
"additionalProperties": false,
"properties": {
"createdAt": {
"type": "string"
},
"expiresAt": {
"type": "string"
},
"id": {
"type": "string"
},
"issuer": {
"type": "object",
"required": [
"credentialId",
"userId"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"type": "string"
},
"userId": {
"type": "string"
}
}
},
"payloadHash": {
"type": "string"
},
"policy": {
"type": "object",
"required": [
"maxIntervalHours",
"maxRuns",
"maxSpendUsd"
],
"additionalProperties": false,
"properties": {
"maxIntervalHours": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"maxRuns": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"maxSpendUsd": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"scope": {
"type": "object",
"required": [
"capabilityIds",
"privateRoutes",
"templates",
"webhookHosts"
],
"additionalProperties": false,
"properties": {
"capabilityIds": {
"type": "array",
"items": {
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
"privateRoutes": {
"type": "boolean"
},
"templates": {
"type": "array",
"items": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
}
},
"webhookHosts": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"target": {
"type": "object",
"required": [
"id",
"kind"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"job",
"subscription"
]
}
}
},
"updatedAt": {
"type": "string"
},
"validFrom": {
"type": "string"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"status",
"verifiedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detail": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"status": {
"enum": [
"invalid",
"missing",
"pending",
"verified"
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
},
{
"type": "null"
}
]
},
"leaseId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"projectedSpendUsd": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"anyOf": [
{
"enum": [
"expired",
"out_of_scope",
"renewal_required"
]
},
{
"type": "null"
}
]
},
"required": {
"type": "boolean"
},
"source": {
"enum": [
"attached",
"inherited_subscription",
"missing",
"operator_override"
]
},
"status": {
"enum": [
"active",
"admin_override",
"expiring_soon",
"expired",
"missing",
"rejected"
]
},
"target": {
"type": "object",
"required": [
"id",
"kind"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"job",
"subscription"
]
}
}
},
"template": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
},
"usesPrivateRoutes": {
"type": "boolean"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"status",
"verifiedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detail": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"status": {
"enum": [
"invalid",
"missing",
"pending",
"verified"
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"webhookHost": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
},
"policyChecks": {
"type": "array",
"items": {
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
}
},
"spend": {
"type": "object",
"required": [
"actualUsdc",
"actualizedAt",
"estimatedUsdc"
],
"additionalProperties": false,
"properties": {
"actualUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"actualizedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimatedUsdc": {
"type": "number",
"minimum": 0
}
}
}
}
},
"spend": {
"type": "object",
"required": [
"actualUsdc",
"actualizedAt",
"estimatedAt",
"estimatedUsdc",
"payer",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"actualUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"actualizedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimatedAt": {
"type": "string"
},
"estimatedUsdc": {
"type": "number",
"minimum": 0
},
"payer": {
"anyOf": [
{
"type": "object",
"required": [
"address",
"did"
],
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"did": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
},
"template": {
"type": "object",
"required": [
"description",
"id",
"name"
],
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"id": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
},
"name": {
"type": "string"
}
}
},
"unitPrice": {
"type": "string"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"citations",
"delivery",
"freshness",
"publication",
"schema"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"citations": {
"type": "object",
"required": [
"checkedAt",
"issues",
"passed",
"referenceCount",
"sourceCount"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"passed": {
"type": "boolean"
},
"referenceCount": {
"type": "integer",
"minimum": 0
},
"sourceCount": {
"type": "integer",
"minimum": 0
}
}
},
"delivery": {
"anyOf": [
{
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"target"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"detail": {
"type": "string"
},
"passed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"target": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
},
"freshness": {
"type": "object",
"required": [
"checkedAt",
"maxAgeSeconds",
"passed",
"reason",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"selectedReportPublishedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"maxAgeSeconds": {
"type": "integer",
"minimum": 0
},
"passed": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"type": "boolean"
},
"selectedReportPublishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"publication": {
"type": "object",
"required": [
"checkedAt",
"detail",
"nodeId",
"passed",
"publishedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"detail": {
"type": "string"
},
"nodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"passed": {
"type": "boolean"
},
"publishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"schema": {
"type": "object",
"required": [
"checkedAt",
"issues",
"passed"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"passed": {
"type": "boolean"
}
}
}
}
}
}
},
{
"type": "null"
}
]
},
"resumePath": {
"type": "string"
},
"source": {
"type": "object",
"required": [
"payer",
"subscriptionId",
"via"
],
"additionalProperties": false,
"properties": {
"payer": {
"anyOf": [
{
"type": "object",
"required": [
"address",
"did"
],
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"did": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"subscriptionId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"via": {
"enum": [
"api",
"operator",
"subscription"
]
}
}
},
"spend": {
"type": "object",
"required": [
"actualUsdc",
"actualizedAt",
"estimatedAt",
"estimatedUsdc",
"payer",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"actualUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"actualizedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimatedAt": {
"type": "string"
},
"estimatedUsdc": {
"type": "number",
"minimum": 0
},
"payer": {
"anyOf": [
{
"type": "object",
"required": [
"address",
"did"
],
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"did": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
},
"startedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"blocked",
"completed",
"failed",
"pending_approval",
"queued",
"running"
]
},
"statusPath": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
}
},
"note": {
"type": "string"
},
"payer": {
"anyOf": [
{
"type": "object",
"required": [
"address",
"did"
],
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"did": {
"type": "string"
}
}
},
{
"type": "null"
}
]
}
}
}Integrity
{
"freshQuote": {
"asset": "0x20c000000000000000000000b9537d11c60e8b50",
"capabilityId": "temporal:workflow.jobs@1",
"endpointPath": "/api/workflows/jobs",
"paymentKind": "session",
"recipient": "0x42d3e055a371d4a58cb3df34819dfa3c395d693e",
"settlementChain": "Tempo Mainnet",
"suggestedDeposit": "5",
"unitType": "job",
"unitPrice": "0.25",
"validFrom": "2026-05-04T20:39:04.134Z",
"validUntil": "2026-05-04T20:44:04.134Z",
"quoteHash": "2c84935b3fbeaf01d5206042b1b3bf78e57146b6b759a1ab525605d8c0ef8899",
"signature": {
"alg": "hmac-sha256",
"keyId": "temporal-rest-discovery:6ad17a1eb19a",
"value": "2cab34be75021da6ca8e8007cb15974bdbe12cdf9c1151d65c0e0697bee34c63",
"signedAt": "2026-05-04T20:39:04.134Z"
},
"note": "Discovery quote is signed by the Temporal server for cache and manifest integrity. Live payment enforcement still comes from the x402 challenge on the endpoint itself."
},
"manifestHash": "ea9d9baa210e6d75f0c432dd786ad55c7d19701a1cfb07a7c44746f2d72891af",
"schemaHashes": {
"input": "0e06a03ec7119c0160dcc595e34e65cf436f54f78259e00649bc453e81ea70e3",
"output": "6566f0abb9e225f3d70c86338f0ab7a199bbb22d75abf35dee14c83a8cd8c9f7"
},
"commitments": {
"identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
"signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
}
}GET /api/workflows/run
Run a completed multi-step archive workflow job that resolves context, retrieves matches, selects signals, and can fold in private research and artifact evidence when those lanes are enabled.
Reliability
Notes
Endpoint
tempo_mpp_x402_sessiontempo_mpp_session+workflow_receiptWorkflow support
Uses the companion preview endpoint before accepting the inline paid run.
Completed inline receipts return artifact handles with selective-read support.
Inline receipts include run records plus freshness, schema, citation, and publication verification.
Inline paid runs do not attach human leases directly, but the final receipt still reports the evaluated lease snapshot that governed execution context.
Use async jobs or subscriptions when you need passkey-signed lease attachment and renewal flows.
Inline runs surface lease context in receipts, but they do not expose a lease ceremony of their own.
Examples
/api/workflows/run?template=topic_brief&topic=tempo%20mainnet/api/workflows/run?template=daily_operator_watch&focus=partners/api/workflows/run?template=competitor_watch&focus=stablecoin%20rivals/api/workflows/run?template=signal_explain&topic=Launch%20anchor%20Tempo%20mainnetInput schema
allowedCapabilitiesfocusfreshnessMaxAgeSecondsmaxSpendPerDayUsdcmaxSpendPerMonthUsdcmaxSpendPerRunUsdcpreviewHashqrequireCitationsrequireHumanLeaserequiresApprovalAboveUsdcslugsourceLeaseIdtemplatetopic{
"type": "object",
"additionalProperties": false,
"properties": {
"allowedCapabilities": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional capability allowlist. Comma-separated strings are also accepted on query surfaces."
},
"focus": {
"type": "string",
"minLength": 1,
"description": "Optional focus label for watch templates like daily_operator_watch, partner_monitor, and competitor_watch."
},
"freshnessMaxAgeSeconds": {
"type": "integer",
"minimum": 0,
"description": "Optional freshness ceiling in seconds. Runs older than this archive age are blocked."
},
"maxSpendPerDayUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional rolling 24-hour cap for this workflow lineage."
},
"maxSpendPerMonthUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional rolling 30-day cap for this workflow lineage."
},
"maxSpendPerRunUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional per-run cap. Runs above this amount are blocked."
},
"previewHash": {
"type": "string",
"minLength": 12,
"description": "Optional hash returned by /api/workflows/preview. When it still matches the live preflight state, the resulting receipt links back to that preview."
},
"q": {
"type": "string",
"minLength": 1,
"description": "Alias for topic when using brief templates like topic_brief, launch_tracker, or signal_explain."
},
"requireCitations": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional citation gate. When enabled, the workflow blocks before publish unless at least one reference is available."
},
"requireHumanLease": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"minLength": 1
}
],
"description": "Optional human-lease gate. When enabled, the job is persisted but stays blocked until a passkey-signed lease is attached."
},
"requiresApprovalAboveUsdc": {
"type": "number",
"minimum": 0,
"description": "Optional approval threshold. Runs above this estimate pause for passkey approval."
},
"slug": {
"type": "string",
"minLength": 1,
"description": "Optional report slug to anchor the workflow on a specific issue."
},
"sourceLeaseId": {
"type": "string",
"minLength": 8,
"description": "Optional attached or inherited human lease id to evaluate during job creation."
},
"template": {
"type": "string",
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
],
"description": "Workflow template to run."
},
"topic": {
"type": "string",
"minLength": 1,
"description": "Optional topic prompt for brief templates like topic_brief, launch_tracker, and signal_explain."
}
}
}Output schema
approvalartifactsarchiveContextdagjobnotepolicyEvaluationpolicyTraceproductpreviewresultrunRecordspendtemplateunitPriceverificationcapabilitypayer{
"type": "object",
"required": [
"archiveContext",
"capability",
"dag",
"job",
"note",
"payer",
"product",
"result",
"template",
"unitPrice"
],
"additionalProperties": false,
"properties": {
"approval": {
"type": "object",
"required": [
"decidedAt",
"decidedBy",
"note",
"required",
"status",
"thresholdUsdc"
],
"additionalProperties": false,
"properties": {
"decidedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"decidedBy": {
"anyOf": [
{
"type": "object",
"required": [
"credentialId",
"method"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"method": {
"enum": [
"header",
"passkey",
"secret"
]
}
}
},
{
"type": "null"
}
]
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"required": {
"type": "boolean"
},
"status": {
"enum": [
"approved",
"denied",
"not_required",
"pending"
]
},
"thresholdUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
}
}
},
"artifacts": {
"type": "array",
"items": {
"type": "object",
"required": [
"artifactId",
"capturedAt",
"contentType",
"estimatedTokens",
"hash",
"kind",
"label",
"nodeId",
"path",
"readPath",
"sizeBytes",
"slices",
"sourceUrls",
"summary"
],
"additionalProperties": false,
"properties": {
"artifactId": {
"type": "string"
},
"capturedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentType": {
"type": "string"
},
"estimatedTokens": {
"type": "integer",
"minimum": 0
},
"hash": {
"type": "string"
},
"kind": {
"enum": [
"private_capture",
"report_anchor",
"workflow_capture"
]
},
"label": {
"type": "string"
},
"nodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"readPath": {
"type": "string"
},
"sizeBytes": {
"type": "integer",
"minimum": 0
},
"slices": {
"type": "array",
"items": {
"type": "object",
"required": [
"contentType",
"estimatedTokens",
"id",
"label",
"readPath",
"sizeBytes"
],
"additionalProperties": false,
"properties": {
"contentType": {
"type": "string"
},
"estimatedTokens": {
"type": "integer",
"minimum": 0
},
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"readPath": {
"type": "string"
},
"sizeBytes": {
"type": "integer",
"minimum": 0
}
}
}
},
"sourceUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"summary": {
"type": "string"
}
}
}
},
"archiveContext": {
"type": "object",
"required": [
"latestReport",
"reportArchiveCount",
"selectedReport"
],
"additionalProperties": false,
"properties": {
"latestReport": {
"type": "object",
"required": [
"date",
"dateLabel",
"referenceCount",
"signalCount",
"slug",
"timezone",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"referenceCount": {
"type": "integer",
"minimum": 0
},
"signalCount": {
"type": "integer",
"minimum": 0
},
"slug": {
"type": "string"
},
"timezone": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"reportArchiveCount": {
"type": "integer",
"minimum": 0
},
"selectedReport": {
"type": "object",
"required": [
"date",
"dateLabel",
"referenceCount",
"signalCount",
"slug",
"timezone",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"referenceCount": {
"type": "integer",
"minimum": 0
},
"signalCount": {
"type": "integer",
"minimum": 0
},
"slug": {
"type": "string"
},
"timezone": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
}
},
"dag": {
"type": "object",
"required": [
"edges",
"nodes"
],
"additionalProperties": false,
"properties": {
"edges": {
"type": "array",
"items": {
"type": "object",
"required": [
"from",
"to"
],
"additionalProperties": false,
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
}
}
},
"nodes": {
"type": "array",
"items": {
"type": "object",
"required": [
"dependsOn",
"id",
"kind",
"label",
"status",
"summary"
],
"additionalProperties": false,
"properties": {
"attemptCount": {
"type": "integer",
"minimum": 0
},
"completedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dependsOn": {
"type": "array",
"items": {
"type": "string"
}
},
"id": {
"type": "string"
},
"kind": {
"enum": [
"analysis",
"input",
"publish",
"retrieval",
"transform"
]
},
"label": {
"type": "string"
},
"provenance": {
"anyOf": [
{
"type": "object",
"required": [
"input",
"notes",
"outputHash",
"references",
"sources"
],
"additionalProperties": false,
"properties": {
"input": {},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"outputHash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"references": {
"type": "array",
"items": {
"type": "string"
}
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"label",
"path",
"url"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"derived",
"reference",
"report"
]
},
"label": {
"type": "string"
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
}
},
{
"type": "null"
}
]
},
"startedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"enum": [
"completed"
]
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
}
},
"job": {
"type": "object",
"required": [
"completedAt",
"createdAt",
"id",
"status"
],
"additionalProperties": false,
"properties": {
"completedAt": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"id": {
"type": "string"
},
"status": {
"enum": [
"completed"
]
}
}
},
"note": {
"type": "string"
},
"policyEvaluation": {
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
},
"policyTrace": {
"type": "array",
"items": {
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
}
},
"product": {
"type": "string"
},
"preview": {
"anyOf": [
{
"type": "object",
"required": [
"hash",
"id",
"intent",
"matchedAt"
],
"additionalProperties": false,
"properties": {
"hash": {
"type": "string"
},
"id": {
"type": "string"
},
"intent": {
"enum": [
"job",
"run"
]
},
"matchedAt": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"result": {
"type": "object",
"required": [
"confidence",
"highlights",
"nextActions",
"references",
"relatedReports",
"summary",
"supportingSignals",
"topSignals",
"watchlist"
],
"additionalProperties": false,
"properties": {
"confidence": {
"enum": [
"high",
"low",
"medium",
"snapshot"
]
},
"highlights": {
"type": "array",
"items": {
"type": "object",
"required": [
"insight",
"report",
"type"
],
"additionalProperties": false,
"properties": {
"insight": {
"type": "string"
},
"report": {
"type": "object",
"required": [
"date",
"dateLabel",
"slug",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"type": {
"type": "string"
}
}
}
},
"nextActions": {
"type": "array",
"items": {
"type": "string"
}
},
"references": {
"type": "array",
"items": {
"type": "string"
}
},
"relatedReports": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"dateLabel",
"slug",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
},
"summary": {
"type": "string"
},
"supportingSignals": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"label",
"report"
],
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"label": {
"type": "string"
},
"report": {
"type": "object",
"required": [
"date",
"dateLabel",
"slug",
"title"
],
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"dateLabel": {
"type": "string"
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
}
}
},
"topSignals": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"label"
],
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"label": {
"type": "string"
}
}
}
},
"watchlist": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"runRecord": {
"type": "object",
"required": [
"conclusion",
"evidence",
"generatedAt",
"hypothesis",
"lease",
"policyChecks",
"spend"
],
"additionalProperties": false,
"properties": {
"conclusion": {
"type": "object",
"required": [
"status",
"summary"
],
"additionalProperties": false,
"properties": {
"status": {
"enum": [
"confirmed",
"qualified",
"unverified"
]
},
"summary": {
"type": "string"
}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": [
"citation",
"freshnessCheckedAt",
"id",
"kind",
"label",
"nodeId",
"path",
"summary",
"url"
],
"additionalProperties": false,
"properties": {
"citation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"freshnessCheckedAt": {
"type": "string"
},
"id": {
"type": "string"
},
"kind": {
"enum": [
"artifact",
"reference",
"report",
"signal"
]
},
"label": {
"type": "string"
},
"nodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
},
"generatedAt": {
"type": "string"
},
"hypothesis": {
"type": "object",
"required": [
"confidenceLabel",
"confidenceScore",
"summary"
],
"additionalProperties": false,
"properties": {
"confidenceLabel": {
"enum": [
"high",
"low",
"medium",
"snapshot"
]
},
"confidenceScore": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"summary": {
"type": "string"
}
}
},
"lease": {
"anyOf": [
{
"type": "object",
"required": [
"allowed",
"checkedAt",
"detail",
"currentCapability",
"inheritedFromSubscription",
"lease",
"leaseId",
"projectedSpendUsd",
"reason",
"required",
"source",
"status",
"target",
"template",
"usesPrivateRoutes",
"verification",
"webhookHost"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"checkedAt": {
"type": "string"
},
"detail": {
"type": "string"
},
"currentCapability": {
"anyOf": [
{
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"inheritedFromSubscription": {
"type": "boolean"
},
"lease": {
"anyOf": [
{
"type": "object",
"required": [
"createdAt",
"expiresAt",
"id",
"issuer",
"payloadHash",
"policy",
"scope",
"target",
"updatedAt",
"validFrom",
"verification"
],
"additionalProperties": false,
"properties": {
"createdAt": {
"type": "string"
},
"expiresAt": {
"type": "string"
},
"id": {
"type": "string"
},
"issuer": {
"type": "object",
"required": [
"credentialId",
"userId"
],
"additionalProperties": false,
"properties": {
"credentialId": {
"type": "string"
},
"userId": {
"type": "string"
}
}
},
"payloadHash": {
"type": "string"
},
"policy": {
"type": "object",
"required": [
"maxIntervalHours",
"maxRuns",
"maxSpendUsd"
],
"additionalProperties": false,
"properties": {
"maxIntervalHours": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"maxRuns": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
]
},
"maxSpendUsd": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"scope": {
"type": "object",
"required": [
"capabilityIds",
"privateRoutes",
"templates",
"webhookHosts"
],
"additionalProperties": false,
"properties": {
"capabilityIds": {
"type": "array",
"items": {
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
},
"privateRoutes": {
"type": "boolean"
},
"templates": {
"type": "array",
"items": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
}
},
"webhookHosts": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"target": {
"type": "object",
"required": [
"id",
"kind"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"job",
"subscription"
]
}
}
},
"updatedAt": {
"type": "string"
},
"validFrom": {
"type": "string"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"status",
"verifiedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detail": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"status": {
"enum": [
"invalid",
"missing",
"pending",
"verified"
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
},
{
"type": "null"
}
]
},
"leaseId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"projectedSpendUsd": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"reason": {
"anyOf": [
{
"enum": [
"expired",
"out_of_scope",
"renewal_required"
]
},
{
"type": "null"
}
]
},
"required": {
"type": "boolean"
},
"source": {
"enum": [
"attached",
"inherited_subscription",
"missing",
"operator_override"
]
},
"status": {
"enum": [
"active",
"admin_override",
"expiring_soon",
"expired",
"missing",
"rejected"
]
},
"target": {
"type": "object",
"required": [
"id",
"kind"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"kind": {
"enum": [
"job",
"subscription"
]
}
}
},
"template": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
},
"usesPrivateRoutes": {
"type": "boolean"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"status",
"verifiedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"detail": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"status": {
"enum": [
"invalid",
"missing",
"pending",
"verified"
]
},
"verifiedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"webhookHost": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
},
"policyChecks": {
"type": "array",
"items": {
"type": "object",
"required": [
"allowed",
"approvalRequired",
"blockingReasons",
"checkedAt",
"checkedEstimatedUsdc",
"checkedNodeId",
"checkedPhase",
"currentCapability",
"freshnessMaxAgeSeconds",
"referenceCount",
"remainingDailyUsdc",
"remainingMonthlyUsdc",
"requireCitations",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"allowed": {
"type": "boolean"
},
"approvalRequired": {
"type": "boolean"
},
"blockingReasons": {
"type": "array",
"items": {
"type": "string"
}
},
"checkedAt": {
"type": "string"
},
"checkedEstimatedUsdc": {
"type": "number",
"minimum": 0
},
"checkedNodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkedPhase": {
"enum": [
"preflight",
"runtime"
]
},
"currentCapability": {
"anyOf": [
{
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
},
{
"type": "null"
}
]
},
"freshnessMaxAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"referenceCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingDailyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"remainingMonthlyUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"requireCitations": {
"type": "boolean"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
}
},
"spend": {
"type": "object",
"required": [
"actualUsdc",
"actualizedAt",
"estimatedUsdc"
],
"additionalProperties": false,
"properties": {
"actualUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"actualizedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimatedUsdc": {
"type": "number",
"minimum": 0
}
}
}
}
},
"spend": {
"type": "object",
"required": [
"actualUsdc",
"actualizedAt",
"estimatedAt",
"estimatedUsdc",
"payer",
"touchedCapabilities"
],
"additionalProperties": false,
"properties": {
"actualUsdc": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"actualizedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimatedAt": {
"type": "string"
},
"estimatedUsdc": {
"type": "number",
"minimum": 0
},
"payer": {
"anyOf": [
{
"type": "object",
"required": [
"address",
"did"
],
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"did": {
"type": "string"
}
}
},
{
"type": "null"
}
]
},
"touchedCapabilities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"workflow.run",
"data.answer",
"data.signals",
"research.private",
"data.artifacts"
]
}
}
}
},
"template": {
"type": "object",
"required": [
"description",
"id",
"name"
],
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"id": {
"enum": [
"topic_brief",
"launch_tracker",
"daily_operator_watch",
"partner_monitor",
"competitor_watch",
"signal_explain",
"deep_report_create",
"deep_report_refresh"
]
},
"name": {
"type": "string"
}
}
},
"unitPrice": {
"type": "string"
},
"verification": {
"type": "object",
"required": [
"checkedAt",
"citations",
"delivery",
"freshness",
"publication",
"schema"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"citations": {
"type": "object",
"required": [
"checkedAt",
"issues",
"passed",
"referenceCount",
"sourceCount"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"passed": {
"type": "boolean"
},
"referenceCount": {
"type": "integer",
"minimum": 0
},
"sourceCount": {
"type": "integer",
"minimum": 0
}
}
},
"delivery": {
"anyOf": [
{
"type": "object",
"required": [
"checkedAt",
"detail",
"passed",
"target"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"detail": {
"type": "string"
},
"passed": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"target": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
{
"type": "null"
}
]
},
"freshness": {
"type": "object",
"required": [
"checkedAt",
"maxAgeSeconds",
"passed",
"reason",
"selectedReportAgeSeconds",
"selectedReportIsLatest",
"selectedReportPublishedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"maxAgeSeconds": {
"type": "integer",
"minimum": 0
},
"passed": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"selectedReportAgeSeconds": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"selectedReportIsLatest": {
"type": "boolean"
},
"selectedReportPublishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"publication": {
"type": "object",
"required": [
"checkedAt",
"detail",
"nodeId",
"passed",
"publishedAt"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"detail": {
"type": "string"
},
"nodeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"passed": {
"type": "boolean"
},
"publishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
},
"schema": {
"type": "object",
"required": [
"checkedAt",
"issues",
"passed"
],
"additionalProperties": false,
"properties": {
"checkedAt": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"passed": {
"type": "boolean"
}
}
}
}
},
"capability": {
"type": "object",
"required": [
"capabilityId",
"category",
"documentationPath",
"endpoint",
"manifestPath",
"schemaBoundCapabilityId"
],
"additionalProperties": false,
"properties": {
"capabilityId": {
"type": "string"
},
"category": {
"enum": [
"data",
"report",
"workflow"
]
},
"documentationPath": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"manifestPath": {
"type": "string"
},
"schemaBoundCapabilityId": {
"type": "string"
}
}
},
"payer": {
"anyOf": [
{
"type": "object",
"required": [
"address",
"did"
],
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"did": {
"type": "string"
}
}
},
{
"type": "null"
}
]
}
}
}Integrity
{
"freshQuote": {
"asset": "0x20c000000000000000000000b9537d11c60e8b50",
"capabilityId": "temporal:workflow.run@1",
"endpointPath": "/api/workflows/run",
"paymentKind": "session",
"recipient": "0x42d3e055a371d4a58cb3df34819dfa3c395d693e",
"settlementChain": "Tempo Mainnet",
"suggestedDeposit": "5",
"unitType": "job",
"unitPrice": "0.25",
"validFrom": "2026-05-04T20:39:04.151Z",
"validUntil": "2026-05-04T20:44:04.151Z",
"quoteHash": "8bdbfd0712932eb26771276fe9ab3ddaeb2400bead7c9a57bd04c5e1a23e511f",
"signature": {
"alg": "hmac-sha256",
"keyId": "temporal-rest-discovery:6ad17a1eb19a",
"value": "86f0276a211c0170483f7a69a395ddaaac5a78df016c6b52ba97cd083c2eeee0",
"signedAt": "2026-05-04T20:39:04.151Z"
},
"note": "Discovery quote is signed by the Temporal server for cache and manifest integrity. Live payment enforcement still comes from the x402 challenge on the endpoint itself."
},
"manifestHash": "9e3bccd55bcb7ee968d48689a87daa72440ad421378092138b2abb883a6ca66e",
"schemaHashes": {
"input": "0e06a03ec7119c0160dcc595e34e65cf436f54f78259e00649bc453e81ea70e3",
"output": "eb75e214afcce06fdc153ddb9a88fcdd80a4244fb998ff184bf753678fa0555e"
},
"commitments": {
"identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
"signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
}
}