$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "records": [
< {
< "bill/BillingPeriodStartDate": "2026-10-01T00:00:00Z",
< "lineItem/LineItemType": "Usage",
< "lineItem/UsageAccountId": "111111111111",
< "lineItem/ProductCode": "AmazonEC2",
< "lineItem/UnblendedCost": "80.00",
< "lineItem/ResourceId": "i-example-prod",
< "lineItem/CurrencyCode": "USD",
< "resourceTags/user:CostCenter": "Platform"
< },
< {
< "bill/BillingPeriodStartDate": "2026-10-01T00:00:00Z",
< "lineItem/LineItemType": "Usage",
< "lineItem/UsageAccountId": "111111111111",
< "lineItem/ProductCode": "AmazonEC2",
< "lineItem/UnblendedCost": "20.00",
< "lineItem/ResourceId": "i-example-review",
< "lineItem/CurrencyCode": "USD",
< "resourceTags/user:CostCenter": ""
< },
< {
< "bill/BillingPeriodStartDate": "2026-10-01T00:00:00Z",
< "lineItem/LineItemType": "Usage",
< "lineItem/UsageAccountId": "111111111111",
< "lineItem/ProductCode": "AmazonEC2",
< "lineItem/UnblendedCost": "10.00",
< "lineItem/ResourceId": "",
< "lineItem/CurrencyCode": "USD",
< "resourceTags/user:CostCenter": ""
< },
< {
< "bill/BillingPeriodStartDate": "2026-10-01T00:00:00Z",
< "lineItem/LineItemType": "Usage",
< "lineItem/UsageAccountId": "222222222222",
< "lineItem/ProductCode": "AmazonS3",
< "lineItem/UnblendedCost": "5.00",
< "lineItem/ResourceId": "bucket-example",
< "lineItem/CurrencyCode": "USD",
< "resourceTags/user:CostCenter": ""
< },
< {
< "bill/BillingPeriodStartDate": "2026-10-01T00:00:00Z",
< "lineItem/LineItemType": "Usage",
< "lineItem/UsageAccountId": "222222222222",
< "lineItem/ProductCode": "AmazonS3",
< "lineItem/UnblendedCost": "1.00",
< "lineItem/ResourceId": "bucket-tagged",
< "lineItem/CurrencyCode": "USD",
< "resourceTags/user:CostCenter": "Data"
< },
< {
< "bill/BillingPeriodStartDate": "2026-10-01T00:00:00Z",
< "lineItem/LineItemType": "SavingsPlanCoveredUsage",
< "lineItem/UsageAccountId": "111111111111",
< "lineItem/ProductCode": "AmazonEC2",
< "lineItem/UnblendedCost": "40.00",
< "lineItem/ResourceId": "i-sp-covered",
< "lineItem/CurrencyCode": "USD",
< "resourceTags/user:CostCenter": ""
< },
< {
< "bill/BillingPeriodStartDate": "2026-10-01T00:00:00Z",
< "lineItem/LineItemType": "Usage",
< "lineItem/UsageAccountId": "333333333333",
< "lineItem/ProductCode": "AmazonRDS",
< "lineItem/UnblendedCost": "2.00",
< "lineItem/ResourceId": "db-tagged",
< "lineItem/CurrencyCode": "USD",
< "resourceTags/user:CostCenter": "Team"
< },
< {
< "bill/BillingPeriodStartDate": "2026-10-01T00:00:00Z",
< "lineItem/LineItemType": "Usage",
< "lineItem/UsageAccountId": "111111111111",
< "lineItem/ProductCode": "AmazonEC2",
< "lineItem/UnblendedCost": "0.00",
< "lineItem/ResourceId": "i-zero",
< "lineItem/CurrencyCode": "USD",
< "resourceTags/user:CostCenter": ""
< }
< ],
< "tagKey": "CostCenter",
< "billingMonth": "2026-10"
<}
<EOF
$curl "https://api.apify.com/v2/actors/natstandridge~aws-cur-tag-coverage-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'