subscribe_changes
Create a webhook subscription that pushes grant-change events matching a filter. Cost: $0.20 USDC via x402 (paid by the agent runtime). On 402 response, agent must satisfy payment and retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | Yes | At least one filter dimension required | |
| ttl_days | No | Subscription lifetime in days (1-90, default 30) | |
| hmac_secret | Yes | Shared secret used to HMAC-SHA256 sign delivery payloads (16-256 chars) | |
| callback_url | Yes | HTTPS URL that will receive POSTed event payloads |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| details | No | ||
| expires_at | No | ||
| callback_url | No | ||
| subscription_id | No | ||
| payment_required | No |