Capabilities

Every public endpoint, documented.

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

10 endpoints across 3 categories

Reports

3

Packaged daily research with open public access.

Data

3

Machine-readable feeds for repeated queries.

Workflows

4

Multi-step research jobs run on demand.

Status

0/10 healthy

Last published Mar 21, 2026, 12:00 PM.

Browse

Filter by category

Report · FreeStale

Temporal standard report

GET /api/report/standard

Full latest nightly synthesis as structured JSON with open public access.

daily-briefnightlyreporttempo

Reliability

Uptime and freshness

  • Last published: Mar 21, 2026, 12:00 PM
  • On-time 1d: 0% (0/1)
  • On-time 7d: 0% (0/7)
  • On-time 30d: 0% (0/30)
  • Median latency: 900ms
  • Freshness: Refreshes on the next nightly publication cycle.

Notes

  • Median latency currently mirrors the capability's published latency hint; live request telemetry is not yet persisted publicly.

Examples

Try it

Schema and integrity details →

Input schema

No parameters

{
  "type": "object",
  "required": [],
  "additionalProperties": false,
  "properties": {}
}

Output schema

8 fields

  • capability
  • commitments
  • metadata
  • payer
  • price
  • product
  • report
  • unitEndpoints
{
  "type": "object",
  "required": [
    "capability",
    "commitments",
    "metadata",
    "payer",
    "price",
    "product",
    "report",
    "unitEndpoints"
  ],
  "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"
        }
      }
    },
    "commitments": {
      "type": "object",
      "required": [
        "identityLedger",
        "signalScoreboard"
      ],
      "additionalProperties": false,
      "properties": {
        "identityLedger": {
          "type": "string"
        },
        "signalScoreboard": {
          "type": "string"
        }
      }
    },
    "metadata": {
      "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"
        }
      }
    },
    "payer": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "address",
            "did"
          ],
          "additionalProperties": false,
          "properties": {
            "address": {
              "type": "string"
            },
            "did": {
              "type": "string"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "price": {
      "type": "string"
    },
    "product": {
      "type": "string"
    },
    "report": {
      "type": "object",
      "required": [
        "distilledSignals",
        "ecosystemWatch",
        "executiveSummary",
        "references",
        "researchNotes"
      ],
      "additionalProperties": false,
      "properties": {
        "distilledSignals": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "description",
              "label"
            ],
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "ecosystemWatch": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "executiveSummary": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "references": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "researchNotes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "unitEndpoints": {
      "type": "object",
      "required": [
        "signals"
      ],
      "additionalProperties": false,
      "properties": {
        "signals": {
          "type": "string"
        }
      }
    }
  }
}

Integrity

Quote signature and hashes

{
  "freshQuote": {
    "asset": "0x20c000000000000000000000b9537d11c60e8b50",
    "capabilityId": "temporal:report.standard@1",
    "endpointPath": "/api/report/standard",
    "paymentKind": "free",
    "recipient": "0x42d3e055a371d4a58cb3df34819dfa3c395d693e",
    "settlementChain": "Tempo Mainnet",
    "suggestedDeposit": null,
    "unitType": "request",
    "unitPrice": "0",
    "validFrom": "2026-05-04T19:44:30.140Z",
    "validUntil": "2026-05-04T19:49:30.140Z",
    "quoteHash": "9638be240ddf71a665e0b4f86860d708aaa481783ee6eef8c66287a23c681ac7",
    "signature": {
      "alg": "hmac-sha256",
      "keyId": "temporal-rest-discovery:6ad17a1eb19a",
      "value": "9ab3a8373aa5300ec18dd4ed95fa329562bae092665ec9c47170b4ad1a0044ba",
      "signedAt": "2026-05-04T19:44:30.140Z"
    },
    "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": "2417a1f2c73367e19ad40ab5e439816cceed3921cf970a260a72937792abb590",
  "schemaHashes": {
    "input": "d746974fa9afd5e951f76f9af38954b0ad7f436f2120dc974da65e5ee39f856f",
    "output": "9533c399a7e05bd2bbf1d9a7f20049803a8a801b5e69276db2d55ed590c95ced"
  },
  "commitments": {
    "identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
    "signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
  }
}
Report · FreeStale

Temporal alpha report

GET /api/report/alpha

Higher-conviction framing and operator packaging with open public access.

alphaoperatorreporttempo

Reliability

Uptime and freshness

  • Last published: Mar 21, 2026, 12:00 PM
  • On-time 1d: 0% (0/1)
  • On-time 7d: 0% (0/7)
  • On-time 30d: 0% (0/30)
  • Median latency: 1000ms
  • Freshness: Refreshes on the next nightly publication cycle.

Notes

  • Median latency currently mirrors the capability's published latency hint; live request telemetry is not yet persisted publicly.

Examples

Try it

Schema and integrity details →

Input schema

No parameters

{
  "type": "object",
  "required": [],
  "additionalProperties": false,
  "properties": {}
}

Output schema

9 fields

  • capability
  • commitments
  • metadata
  • operatorFrame
  • payer
  • price
  • product
  • report
  • unitEndpoints
{
  "type": "object",
  "required": [
    "capability",
    "commitments",
    "metadata",
    "operatorFrame",
    "payer",
    "price",
    "product",
    "report",
    "unitEndpoints"
  ],
  "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"
        }
      }
    },
    "commitments": {
      "type": "object",
      "required": [
        "identityLedger",
        "signalScoreboard"
      ],
      "additionalProperties": false,
      "properties": {
        "identityLedger": {
          "type": "string"
        },
        "signalScoreboard": {
          "type": "string"
        }
      }
    },
    "metadata": {
      "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"
        }
      }
    },
    "operatorFrame": {
      "type": "object",
      "required": [
        "highConvictionSignals",
        "references",
        "topThemes"
      ],
      "additionalProperties": false,
      "properties": {
        "highConvictionSignals": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "description",
              "label"
            ],
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "references": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "topThemes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "payer": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "address",
            "did"
          ],
          "additionalProperties": false,
          "properties": {
            "address": {
              "type": "string"
            },
            "did": {
              "type": "string"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "price": {
      "type": "string"
    },
    "product": {
      "type": "string"
    },
    "report": {
      "type": "object",
      "required": [
        "distilledSignals",
        "ecosystemWatch",
        "executiveSummary"
      ],
      "additionalProperties": false,
      "properties": {
        "distilledSignals": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "description",
              "label"
            ],
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "ecosystemWatch": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "executiveSummary": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "unitEndpoints": {
      "type": "object",
      "required": [
        "signals"
      ],
      "additionalProperties": false,
      "properties": {
        "signals": {
          "type": "string"
        }
      }
    }
  }
}

Integrity

Quote signature and hashes

{
  "freshQuote": {
    "asset": "0x20c000000000000000000000b9537d11c60e8b50",
    "capabilityId": "temporal:report.alpha@1",
    "endpointPath": "/api/report/alpha",
    "paymentKind": "free",
    "recipient": "0x42d3e055a371d4a58cb3df34819dfa3c395d693e",
    "settlementChain": "Tempo Mainnet",
    "suggestedDeposit": null,
    "unitType": "request",
    "unitPrice": "0",
    "validFrom": "2026-05-04T19:44:30.141Z",
    "validUntil": "2026-05-04T19:49:30.141Z",
    "quoteHash": "1b8a152f158fa2e62440f940b0c746cef166f51d0c1ced0ddf838d61d520f30b",
    "signature": {
      "alg": "hmac-sha256",
      "keyId": "temporal-rest-discovery:6ad17a1eb19a",
      "value": "bf9f08ed9bab904eb37830cecdc7deff8531ab5240b85a3b31457159fa9b5358",
      "signedAt": "2026-05-04T19:44:30.141Z"
    },
    "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": "dc17435031ce1f578fd3bdff1b052da03b0b1f258f11ec0d18e9bef5c5986e46",
  "schemaHashes": {
    "input": "d746974fa9afd5e951f76f9af38954b0ad7f436f2120dc974da65e5ee39f856f",
    "output": "4aecba61ec6468b03a1dda23f1e1e9731f1414a67b4f67684b761502bff57bef"
  },
  "commitments": {
    "identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
    "signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
  }
}
Report · FreeStale

Temporal executive brief

GET /api/report/executive

Most compressed decision memo for the current issue with open public access.

executivebriefreporttempo

Reliability

Uptime and freshness

  • Last published: Mar 21, 2026, 12:00 PM
  • On-time 1d: 0% (0/1)
  • On-time 7d: 0% (0/7)
  • On-time 30d: 0% (0/30)
  • Median latency: 800ms
  • Freshness: Refreshes on the next nightly publication cycle.

Notes

  • Median latency currently mirrors the capability's published latency hint; live request telemetry is not yet persisted publicly.
Schema and integrity details →

Input schema

No parameters

{
  "type": "object",
  "required": [],
  "additionalProperties": false,
  "properties": {}
}

Output schema

8 fields

  • brief
  • capability
  • commitments
  • metadata
  • payer
  • price
  • product
  • unitEndpoints
{
  "type": "object",
  "required": [
    "brief",
    "capability",
    "commitments",
    "metadata",
    "payer",
    "price",
    "product",
    "unitEndpoints"
  ],
  "additionalProperties": false,
  "properties": {
    "brief": {
      "type": "object",
      "required": [
        "marketWatch",
        "summary",
        "topSignals",
        "whyNow"
      ],
      "additionalProperties": false,
      "properties": {
        "marketWatch": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "summary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "topSignals": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "description",
              "label"
            ],
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        },
        "whyNow": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "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"
        }
      }
    },
    "commitments": {
      "type": "object",
      "required": [
        "identityLedger",
        "signalScoreboard"
      ],
      "additionalProperties": false,
      "properties": {
        "identityLedger": {
          "type": "string"
        },
        "signalScoreboard": {
          "type": "string"
        }
      }
    },
    "metadata": {
      "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"
        }
      }
    },
    "payer": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "address",
            "did"
          ],
          "additionalProperties": false,
          "properties": {
            "address": {
              "type": "string"
            },
            "did": {
              "type": "string"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "price": {
      "type": "string"
    },
    "product": {
      "type": "string"
    },
    "unitEndpoints": {
      "type": "object",
      "required": [
        "signals"
      ],
      "additionalProperties": false,
      "properties": {
        "signals": {
          "type": "string"
        }
      }
    }
  }
}

Integrity

Quote signature and hashes

{
  "freshQuote": {
    "asset": "0x20c000000000000000000000b9537d11c60e8b50",
    "capabilityId": "temporal:report.executive@1",
    "endpointPath": "/api/report/executive",
    "paymentKind": "free",
    "recipient": "0x42d3e055a371d4a58cb3df34819dfa3c395d693e",
    "settlementChain": "Tempo Mainnet",
    "suggestedDeposit": null,
    "unitType": "request",
    "unitPrice": "0",
    "validFrom": "2026-05-04T19:44:30.141Z",
    "validUntil": "2026-05-04T19:49:30.141Z",
    "quoteHash": "0f9c098c22fe3fb2d277b04721272da5de54942fbcde9be19cc9b4abc2cbcf3d",
    "signature": {
      "alg": "hmac-sha256",
      "keyId": "temporal-rest-discovery:6ad17a1eb19a",
      "value": "2b8d757cfeea3a5bbe369b6e26771e2ab9b783f9b9a8287ff7f0bab15f791f4e",
      "signedAt": "2026-05-04T19:44:30.141Z"
    },
    "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": "705d5ba6fbc0a94c563e6ee4f1766c28dbf6fbedc94b321d51e2333b56e29b87",
  "schemaHashes": {
    "input": "d746974fa9afd5e951f76f9af38954b0ad7f436f2120dc974da65e5ee39f856f",
    "output": "1e84c467a77cb134ad0f295be4a127516f7b601311aee85392bd9417cd50c832"
  },
  "commitments": {
    "identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
    "signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
  }
}
Data · FreeStale

Temporal latest data snapshot

GET /api/data/latest

Machine-readable latest snapshot of the published archive with open public access.

snapshotdataarchivetempo

Reliability

Uptime and freshness

  • Last published: Mar 21, 2026, 12:00 PM
  • On-time 1d: 0% (0/1)
  • On-time 7d: 0% (0/7)
  • On-time 30d: 0% (0/30)
  • Median latency: 450ms
  • Freshness: Tracks the latest published nightly report until the next cycle lands.

Notes

  • Median latency currently mirrors the capability's published latency hint; live request telemetry is not yet persisted publicly.

Examples

Try it

  • Fetch latest data snapshot: Read the latest machine-facing daily payload. /api/data/latest
Schema and integrity details →

Input schema

No parameters

{
  "type": "object",
  "required": [],
  "additionalProperties": false,
  "properties": {}
}

Output schema

7 fields

  • capability
  • commitments
  • payer
  • product
  • snapshot
  • unitEndpoints
  • unitPrice
{
  "type": "object",
  "required": [
    "capability",
    "commitments",
    "payer",
    "product",
    "snapshot",
    "unitEndpoints",
    "unitPrice"
  ],
  "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"
        }
      }
    },
    "commitments": {
      "type": "object",
      "required": [
        "identityLedger",
        "signalScoreboard"
      ],
      "additionalProperties": false,
      "properties": {
        "identityLedger": {
          "type": "string"
        },
        "signalScoreboard": {
          "type": "string"
        }
      }
    },
    "payer": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "address",
            "did"
          ],
          "additionalProperties": false,
          "properties": {
            "address": {
              "type": "string"
            },
            "did": {
              "type": "string"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "product": {
      "type": "string"
    },
    "snapshot": {
      "type": "object",
      "required": [
        "ecosystemWatch",
        "latestReport",
        "references",
        "reportArchiveCount",
        "signals"
      ],
      "additionalProperties": false,
      "properties": {
        "ecosystemWatch": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "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"
            }
          }
        },
        "references": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "reportArchiveCount": {
          "type": "integer",
          "minimum": 0
        },
        "signals": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "description",
              "label"
            ],
            "additionalProperties": false,
            "properties": {
              "description": {
                "type": "string"
              },
              "label": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "unitEndpoints": {
      "type": "object",
      "required": [
        "signals"
      ],
      "additionalProperties": false,
      "properties": {
        "signals": {
          "type": "string"
        }
      }
    },
    "unitPrice": {
      "type": "string"
    }
  }
}

Integrity

Quote signature and hashes

{
  "freshQuote": {
    "asset": "0x20c000000000000000000000b9537d11c60e8b50",
    "capabilityId": "temporal:data.latest@1",
    "endpointPath": "/api/data/latest",
    "paymentKind": "free",
    "recipient": "0x42d3e055a371d4a58cb3df34819dfa3c395d693e",
    "settlementChain": "Tempo Mainnet",
    "suggestedDeposit": null,
    "unitType": "request",
    "unitPrice": "0",
    "validFrom": "2026-05-04T19:44:30.142Z",
    "validUntil": "2026-05-04T19:49:30.142Z",
    "quoteHash": "a3e6943b4b56219c8d0b3655a0ecb46d2d12f26823e879a0b593d691588a6dd4",
    "signature": {
      "alg": "hmac-sha256",
      "keyId": "temporal-rest-discovery:6ad17a1eb19a",
      "value": "a21fdf24eeeb243cb2d70a33a0f706c84b2e97b5a19be5aea88b91955fd85d2a",
      "signedAt": "2026-05-04T19:44:30.142Z"
    },
    "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": "7f98f1e5a48e12d61ff2dfc51760e9df2dc640c4a8f83cc7e770564aa62377b1",
  "schemaHashes": {
    "input": "d746974fa9afd5e951f76f9af38954b0ad7f436f2120dc974da65e5ee39f856f",
    "output": "428c24bf857dba1d68d8f9b6c4346c15c823233ee1b610e03fe4aacbb8a1f450"
  },
  "commitments": {
    "identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
    "signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
  }
}
Data · FreeStale

Temporal archive answer

GET /api/data/answer

Query the published archive for a topic-specific answer with open public access.

answerarchivequerytempo

Reliability

Uptime and freshness

  • Last published: Mar 21, 2026, 12:00 PM
  • On-time 1d: 0% (0/1)
  • On-time 7d: 0% (0/7)
  • On-time 30d: 0% (0/30)
  • Median latency: 900ms
  • Freshness: Answers are derived from the currently published archive and improve when the next nightly report lands.

Notes

  • Median latency currently mirrors the capability's published latency hint; live request telemetry is not yet persisted publicly.
Schema and integrity details →

Input schema

2 fields

  • q
  • topic
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "q": {
      "type": "string",
      "minLength": 1,
      "description": "Primary topic query."
    },
    "topic": {
      "type": "string",
      "minLength": 1,
      "description": "Alias for q."
    }
  }
}

Output schema

13 fields

  • answer
  • archiveContext
  • capability
  • confidence
  • highlights
  • note
  • payer
  • product
  • query
  • references
  • relatedReports
  • supportingSignals
  • unitPrice
{
  "type": "object",
  "required": [
    "answer",
    "archiveContext",
    "capability",
    "confidence",
    "highlights",
    "note",
    "payer",
    "product",
    "query",
    "references",
    "relatedReports",
    "supportingSignals",
    "unitPrice"
  ],
  "additionalProperties": false,
  "properties": {
    "answer": {
      "type": "string"
    },
    "archiveContext": {
      "type": "object",
      "required": [
        "latestReport",
        "reportArchiveCount"
      ],
      "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
        }
      }
    },
    "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"
        }
      }
    },
    "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"
          }
        }
      }
    },
    "note": {
      "type": "string"
    },
    "payer": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "address",
            "did"
          ],
          "additionalProperties": false,
          "properties": {
            "address": {
              "type": "string"
            },
            "did": {
              "type": "string"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "product": {
      "type": "string"
    },
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "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"
          }
        }
      }
    },
    "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"
              }
            }
          }
        }
      }
    },
    "unitPrice": {
      "type": "string"
    }
  }
}

Integrity

Quote signature and hashes

{
  "freshQuote": {
    "asset": "0x20c000000000000000000000b9537d11c60e8b50",
    "capabilityId": "temporal:data.answer@1",
    "endpointPath": "/api/data/answer",
    "paymentKind": "free",
    "recipient": "0x42d3e055a371d4a58cb3df34819dfa3c395d693e",
    "settlementChain": "Tempo Mainnet",
    "suggestedDeposit": null,
    "unitType": "request",
    "unitPrice": "0",
    "validFrom": "2026-05-04T19:44:30.142Z",
    "validUntil": "2026-05-04T19:49:30.142Z",
    "quoteHash": "16cd14ad7cbe2140881f87074b06d01e13f62670d3afc1af880196136e7c0c79",
    "signature": {
      "alg": "hmac-sha256",
      "keyId": "temporal-rest-discovery:6ad17a1eb19a",
      "value": "78db5f0624a4ed7705d5968c7c9395d8e006e3afff7ed520127b29ec78626664",
      "signedAt": "2026-05-04T19:44:30.142Z"
    },
    "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": "1cb394b14e35667749c44e29af419e874d148a022c239c3a5fe48204b828b0a1",
  "schemaHashes": {
    "input": "acd766f27a8d14bf9aee6d693854b64035ec47447633499e1d67162351e0df15",
    "output": "704494ad47275f059aa74fb956951ade6c03cc8e8be86fb74e679c4cc17de6f0"
  },
  "commitments": {
    "identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
    "signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
  }
}
Data · FreeStale

Temporal signals unit API

GET /api/data/signals

Retrieve distilled signals, optionally filtered by report slug or signal label, with open public access.

signalsunit-accessarchivetempo

Reliability

Uptime and freshness

  • Last published: Mar 21, 2026, 12:00 PM
  • On-time 1d: 0% (0/1)
  • On-time 7d: 0% (0/7)
  • On-time 30d: 0% (0/30)
  • Median latency: 500ms
  • Freshness: Signals update when the next nightly report is published.

Notes

  • Median latency currently mirrors the capability's published latency hint; live request telemetry is not yet persisted publicly.
Schema and integrity details →

Input schema

3 fields

  • label
  • q
  • slug
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "label": {
      "type": "string",
      "minLength": 1,
      "description": "Optional signal label substring filter."
    },
    "q": {
      "type": "string",
      "minLength": 1,
      "description": "Alias for label."
    },
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "Optional report slug; latest published report is used when omitted."
    }
  }
}

Output schema

8 fields

  • archiveContext
  • capability
  • payer
  • product
  • query
  • signalCount
  • signals
  • unitPrice
{
  "type": "object",
  "required": [
    "archiveContext",
    "capability",
    "payer",
    "product",
    "query",
    "signalCount",
    "signals",
    "unitPrice"
  ],
  "additionalProperties": false,
  "properties": {
    "archiveContext": {
      "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"
        }
      }
    },
    "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"
        }
      ]
    },
    "product": {
      "type": "string"
    },
    "query": {
      "type": "object",
      "required": [
        "label",
        "slug"
      ],
      "additionalProperties": false,
      "properties": {
        "label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "slug": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "signalCount": {
      "type": "integer",
      "minimum": 0
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "description",
          "id",
          "label",
          "ordinal",
          "references",
          "report"
        ],
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "ordinal": {
            "type": "integer",
            "minimum": 1
          },
          "references": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "report": {
            "type": "object",
            "required": [
              "date",
              "dateLabel",
              "slug"
            ],
            "additionalProperties": false,
            "properties": {
              "date": {
                "type": "string"
              },
              "dateLabel": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "unitPrice": {
      "type": "string"
    }
  }
}

Integrity

Quote signature and hashes

{
  "freshQuote": {
    "asset": "0x20c000000000000000000000b9537d11c60e8b50",
    "capabilityId": "temporal:data.signals@1",
    "endpointPath": "/api/data/signals",
    "paymentKind": "free",
    "recipient": "0x42d3e055a371d4a58cb3df34819dfa3c395d693e",
    "settlementChain": "Tempo Mainnet",
    "suggestedDeposit": null,
    "unitType": "request",
    "unitPrice": "0",
    "validFrom": "2026-05-04T19:44:30.142Z",
    "validUntil": "2026-05-04T19:49:30.142Z",
    "quoteHash": "cca0703d1bf9601a19f95f38df0a320ebda2f4ac3db37e8394010514f9204ba4",
    "signature": {
      "alg": "hmac-sha256",
      "keyId": "temporal-rest-discovery:6ad17a1eb19a",
      "value": "1523d860337d54e806fd8423b6ab73b93fee182624fe2e861eb75d7a30446b93",
      "signedAt": "2026-05-04T19:44:30.142Z"
    },
    "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": "32a7323e3eab4420e9ce4ad2a0d2bcaf2582e3dfdd0d33fd70d8aa739a6f068d",
  "schemaHashes": {
    "input": "32820153f5f2f99015218dd5b303842f23441a2d7d4a10b5b09c043e3015a7e5",
    "output": "43c46496381b28af767c0986e00da664ff20a68d20d4cb2c4a1ef76386b71cea"
  },
  "commitments": {
    "identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
    "signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
  }
}
Workflow · FreeStale

Temporal workflow preview

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.

workflowpreviewpreflightquotetempo

Reliability

Uptime and freshness

  • Last published: Mar 21, 2026, 12:00 PM
  • On-time 1d: 0% (0/1)
  • On-time 7d: 0% (0/7)
  • On-time 30d: 0% (0/30)
  • Median latency: 220ms
  • Freshness: Previews are deterministic snapshots of the current archive state and should be refreshed before acting on them.

Notes

  • Median latency currently mirrors the capability's published latency hint; live request telemetry is not yet persisted publicly.

Workflow support

Agent-native contract

Preview Before PayPreflight Verification SignalLease Visibility
  • Preview before pay: Yes via /api/workflows/preview
  • Artifact access: Estimated only at preview time
  • Verification: Preflight
  • Policy gates: Reported only
  • Approval: Reported
  • Freshness policy: Reported · default 86400s
  • Citation policy: Reported
  • Artifact handles: Previewed
  • Human lease: Reported
  • Requires human lease by default: No
  • Renewal support: expiring-soon events Yes · passkey presets Yes
  • Lease scope: capability ids · spend window · private evidence · webhook hosts
  • Operator surfaces: /api/workflows/preview · /api/workflows/jobs/:id/lease/options · /api/workflows/subscriptions/:id/lease/options

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.

Schema and integrity details →

Input schema

19 fields

  • allowedCapabilities
  • focus
  • freshnessMaxAgeSeconds
  • maxSpendPerDayUsdc
  • maxSpendPerMonthUsdc
  • maxSpendPerRunUsdc
  • previewHash
  • q
  • requireCitations
  • requireHumanLease
  • requiresApprovalAboveUsdc
  • slug
  • sourceLeaseId
  • template
  • topic
  • intent
  • job
  • leaseContext
  • subscription
{
  "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

16 fields

  • archiveContext
  • artifacts
  • capabilities
  • capability
  • estimate
  • freshness
  • generatedAt
  • id
  • intent
  • lease
  • links
  • note
  • policy
  • previewHash
  • request
  • template
{
  "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

Quote signature and hashes

{
  "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-04T19:44:30.144Z",
    "validUntil": "2026-05-04T19:49:30.144Z",
    "quoteHash": "334fdf73d19d46b0324c246989c9b131691d68839934cc764831ba9d0f7bb760",
    "signature": {
      "alg": "hmac-sha256",
      "keyId": "temporal-rest-discovery:6ad17a1eb19a",
      "value": "cc66b94af105af677a4807535543c076f889e06c372063796eaf58c18dd5c419",
      "signedAt": "2026-05-04T19:44:30.144Z"
    },
    "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": "a3a131916c023c1e755b26c103e33339e5203f29fddd38ece4e070be1608ecf0",
  "schemaHashes": {
    "input": "3c41e47bb35cb36bf10e95a1119f387094eb62efc41c3f4fe5dd279b4a149729",
    "output": "da02da51838a27662d82fae45e2990a6a3e0ac9d642d95b59e9e00a29f165321"
  },
  "commitments": {
    "identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
    "signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
  }
}
Workflow · $10/subscriptionStale

Temporal workflow subscriptions

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.

Preview available/api/workflows/preview
workflowsubscriptionwebhookautomationtempox402

Reliability

Uptime and freshness

  • Last published: Mar 21, 2026, 12:00 PM
  • On-time 1d: 0% (0/1)
  • On-time 7d: 0% (0/7)
  • On-time 30d: 0% (0/30)
  • Median latency: 650ms
  • Freshness: Each recurring run resolves against the latest published archive snapshot available at execution time.

Notes

  • Median latency currently mirrors the capability's published latency hint; live request telemetry is not yet persisted publicly.

Endpoint

How to call it

  • Auth: tempo_mpp_x402_session
  • Typical latency: 650ms (upper 1800ms)
  • Proof: tempo_mpp_session+workflow_subscription_receipt

Workflow support

Agent-native contract

Preview Before PayArtifact Handles ReturnedSelective Artifact ReadsVerification-rich ReceiptMechanical Policy GatesLease Enforcement
  • Preview before pay: Yes via /api/workflows/preview
  • Artifact access: Handle-first via /api/data/artifacts
  • Verification: Receipt-backed
  • Policy gates: Mechanical
  • Approval: Enforced
  • Freshness policy: Enforced · default 86400s
  • Citation policy: Enforced
  • Artifact handles: Returned via /api/data/artifacts
  • Human lease: Enforced
  • Requires human lease by default: No
  • Renewal support: expiring-soon events Yes · passkey presets Yes
  • Lease scope: capability ids · spend window · private evidence · webhook hosts
  • Operator surfaces: /api/workflows/preview · /api/data/artifacts · /api/workflows/subscriptions/:id/lease/options

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

Try it

Schema and integrity details →

Input schema

15 fields

  • allowedCapabilities
  • focus
  • freshnessMaxAgeSeconds
  • intervalHours
  • label
  • maxSpendPerDayUsdc
  • maxSpendPerMonthUsdc
  • maxSpendPerRunUsdc
  • notifyMode
  • requireCitations
  • requiresApprovalAboveUsdc
  • slug
  • template
  • topic
  • webhookUrl
{
  "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

6 fields

  • capability
  • createdJobId
  • events
  • note
  • payer
  • subscription
{
  "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

Quote signature and hashes

{
  "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-04T19:44:30.154Z",
    "validUntil": "2026-05-04T19:49:30.154Z",
    "quoteHash": "10eb3ab4d5c843d7f5e0424599fa931f12babd7a7837700a33d4ce158f56faaa",
    "signature": {
      "alg": "hmac-sha256",
      "keyId": "temporal-rest-discovery:6ad17a1eb19a",
      "value": "103e7d6f4f1d7a24a0560e1a21fb92f9da97729d090987ed12d75932304b308f",
      "signedAt": "2026-05-04T19:44:30.154Z"
    },
    "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": "bae535170d2020dc7bf1b515910f613a757ee5e56683c14b3132dd56e88d0b99",
  "schemaHashes": {
    "input": "0b2937388701798ef53886872eb4fccd61197232063e7e7a1525d271824e5246",
    "output": "e42c0b8142277a8606ec2d825ef719e638f9b3a4b8b2b7ad84f18673cf45ffa8"
  },
  "commitments": {
    "identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
    "signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
  }
}
Workflow · $0.25/jobStale

Temporal async workflow jobs

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.

Preview available/api/workflows/preview
workflowqueueasyncdagjobtempox402

Reliability

Uptime and freshness

  • Last published: Mar 21, 2026, 12:00 PM
  • On-time 1d: 0% (0/1)
  • On-time 7d: 0% (0/7)
  • On-time 30d: 0% (0/30)
  • Median latency: 450ms
  • Freshness: Queued jobs resolve against the latest published archive snapshot available at execution time.

Notes

  • Median latency currently mirrors the capability's published latency hint; live request telemetry is not yet persisted publicly.

Workflow support

Agent-native contract

Preview Before PayArtifact Handles ReturnedSelective Artifact ReadsVerification-rich ReceiptMechanical Policy GatesLease Enforcement
  • Preview before pay: Yes via /api/workflows/preview
  • Artifact access: Handle-first via /api/data/artifacts
  • Verification: Receipt-backed
  • Policy gates: Mechanical
  • Approval: Enforced
  • Freshness policy: Enforced · default 86400s
  • Citation policy: Enforced
  • Artifact handles: Returned via /api/data/artifacts
  • Human lease: Enforced
  • Requires human lease by default: No
  • Renewal support: expiring-soon events No · passkey presets Yes
  • Lease scope: capability ids · spend window · private evidence
  • Operator surfaces: /api/workflows/preview · /api/data/artifacts · /api/workflows/jobs/:id/lease/options

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

Try it

Schema and integrity details →

Input schema

15 fields

  • allowedCapabilities
  • focus
  • freshnessMaxAgeSeconds
  • maxSpendPerDayUsdc
  • maxSpendPerMonthUsdc
  • maxSpendPerRunUsdc
  • previewHash
  • q
  • requireCitations
  • requireHumanLease
  • requiresApprovalAboveUsdc
  • slug
  • sourceLeaseId
  • template
  • topic
{
  "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

5 fields

  • capability
  • events
  • job
  • note
  • payer
{
  "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

Quote signature and hashes

{
  "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-04T19:44:30.158Z",
    "validUntil": "2026-05-04T19:49:30.158Z",
    "quoteHash": "2fe970345992536a7887a2c5ec7437c91e1dd353a68c176dd2a1c3cd66f77cf0",
    "signature": {
      "alg": "hmac-sha256",
      "keyId": "temporal-rest-discovery:6ad17a1eb19a",
      "value": "b115f47ac459aa8ee634928b3872bfcdaa4f9227e2109e9f6d6a03ad9f0b7aa3",
      "signedAt": "2026-05-04T19:44:30.158Z"
    },
    "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": "2202e2e8c358fcc4e4f826bdfea0cdf5ea716e5a1c0e24072867b309984aab4f",
  "schemaHashes": {
    "input": "0e06a03ec7119c0160dcc595e34e65cf436f54f78259e00649bc453e81ea70e3",
    "output": "6566f0abb9e225f3d70c86338f0ab7a199bbb22d75abf35dee14c83a8cd8c9f7"
  },
  "commitments": {
    "identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
    "signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
  }
}
Workflow · $0.25/jobStale

Temporal workflow DAG job

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.

Preview available/api/workflows/preview
workflowdagjobarchivetempox402

Reliability

Uptime and freshness

  • Last published: Mar 21, 2026, 12:00 PM
  • On-time 1d: 0% (0/1)
  • On-time 7d: 0% (0/7)
  • On-time 30d: 0% (0/30)
  • Median latency: 1200ms
  • Freshness: Workflow outputs are derived from the latest published archive until the next nightly issue lands.

Notes

  • Median latency currently mirrors the capability's published latency hint; live request telemetry is not yet persisted publicly.

Workflow support

Agent-native contract

Preview Before PayArtifact Handles ReturnedSelective Artifact ReadsVerification-rich ReceiptLease Visibility
  • Preview before pay: Yes via /api/workflows/preview
  • Artifact access: Handle-first via /api/data/artifacts
  • Verification: Receipt-backed
  • Policy gates: Reported only
  • Approval: Not supported
  • Freshness policy: Reported · default 86400s
  • Citation policy: Reported
  • Artifact handles: Returned via /api/data/artifacts
  • Human lease: Reported
  • Requires human lease by default: No
  • Renewal support: expiring-soon events No · passkey presets No
  • Lease scope: No runtime lease scope
  • Operator surfaces: /api/workflows/preview · /api/data/artifacts

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

Try it

Schema and integrity details →

Input schema

15 fields

  • allowedCapabilities
  • focus
  • freshnessMaxAgeSeconds
  • maxSpendPerDayUsdc
  • maxSpendPerMonthUsdc
  • maxSpendPerRunUsdc
  • previewHash
  • q
  • requireCitations
  • requireHumanLease
  • requiresApprovalAboveUsdc
  • slug
  • sourceLeaseId
  • template
  • topic
{
  "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

18 fields

  • approval
  • artifacts
  • archiveContext
  • dag
  • job
  • note
  • policyEvaluation
  • policyTrace
  • product
  • preview
  • result
  • runRecord
  • spend
  • template
  • unitPrice
  • verification
  • capability
  • payer
{
  "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

Quote signature and hashes

{
  "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-04T19:44:30.161Z",
    "validUntil": "2026-05-04T19:49:30.161Z",
    "quoteHash": "af582c540c24a36734616277ca151cfe5194b512c579f5808519fe2b07a1bb30",
    "signature": {
      "alg": "hmac-sha256",
      "keyId": "temporal-rest-discovery:6ad17a1eb19a",
      "value": "67ef92c7f1127ef7c6d092f33936f826226313b550e68100e545c384d14e1cf5",
      "signedAt": "2026-05-04T19:44:30.161Z"
    },
    "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": "acf345deaa838dde14135f277c17181ee6b3e69cfa4288ea4c0b006a237b90ee",
  "schemaHashes": {
    "input": "0e06a03ec7119c0160dcc595e34e65cf436f54f78259e00649bc453e81ea70e3",
    "output": "eb75e214afcce06fdc153ddb9a88fcdd80a4244fb998ff184bf753678fa0555e"
  },
  "commitments": {
    "identityLedger": "0x3e952b8D270640C5a9B5711d532B984Bcd1218b8",
    "signalScoreboard": "0x8D674Bb9f0416a2D491400110fEeAD041FC2Dd35"
  }
}