$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "schemaVersion": "2.0",
< "authorization": {
< "basis": "buyer_owned_export",
< "provider": "licensed newsroom export",
< "reference": "internal-approval-2026-08",
< "confirmed": true
< },
< "records": [
< {
< "recordId": "detik-bank-indonesia-001",
< "query": "Bank Indonesia",
< "title": "Bank Indonesia policy update",
< "excerpt": "Buyer-supplied licensed excerpt for normalization.",
< "url": "https://finance.detik.com/moneter/d-9000001/bank-indonesia-policy-update",
< "articleId": "d-9000001",
< "section": "detikFinance",
< "publishedAt": "2026-08-12T08:00:00.000Z",
< "publishedText": "12 Agustus 2026",
< "observedAt": "2026-08-12T09:00:00.000Z"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/zinin~detik-news-search/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'