$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "items",
< "items": [
< {
< "vendorName": "Acme API",
< "source": "Developer changelog",
< "changeType": "deprecation",
< "severity": "breaking",
< "changeTitle": "Legacy Charges API is deprecated",
< "description": "The /v1/charges endpoint and synchronous charge confirmation flow are deprecated. All integrations must migrate to Payment Intents v2 before 2026-09-01. Checkout, billing, and webhook handlers may require code changes.",
< "affectedApis": [
< "/v1/charges",
< "synchronous charge confirmation"
< ],
< "replacementApi": "Payment Intents v2",
< "deadlineAt": "2026-09-01",
< "changeUrl": "https://developers.example.com/changelog/legacy-charges-api-deprecated"
< },
< {
< "vendorName": "CloudDesk",
< "source": "GitHub Releases",
< "changeType": "security update",
< "severity": "high",
< "changeTitle": "SDK 4.8.2 patches webhook signature verification edge case",
< "description": "A webhook signature verification bug was fixed in SDK 4.8.2. Customers using webhooks should upgrade from SDK 4.7.x. No exploitability statement is provided in this release note.",
< "affectedApis": [
< "Webhook SDK",
< "signature verification"
< ],
< "replacementApi": "SDK 4.8.2",
< "publishedAt": "2026-07-01T12:00:00.000Z",
< "changeUrl": "https://github.com/example/clouddesk-sdk/releases/tag/v4.8.2"
< },
< {
< "vendorName": "Acme API",
< "source": "API docs diff",
< "changeType": "new feature",
< "severity": "info",
< "changeTitle": "New reporting endpoint added",
< "description": "A new /v2/reports endpoint is available for analytics exports. Existing endpoints are unchanged.",
< "affectedApis": [
< "/v2/reports"
< ],
< "changeUrl": "https://developers.example.com/docs/reports"
< }
< ],
< "yourStack": "SaaS checkout and billing platform using Acme API for charges, webhooks, and customer payment events",
< "trackedApis": [
< "/v1/charges",
< "Payment Intents",
< "webhooks",
< "signature verification"
< ],
< "criticalSystems": [
< "checkout",
< "billing",
< "webhooks",
< "auth"
< ],
< "ownerTeams": [
< "platform engineering",
< "payments squad",
< "customer support"
< ],
< "scrapedAt": "2026-07-07T00:00:00.000Z"
<}
<EOF
$curl "https://api.apify.com/v2/acts/rotvuvo~api-deprecation-migration-risk-scorer/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'