$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "id": "r1",
< "url": "https://docs.example.com/guide",
< "title": "API Guide",
< "description": "Integration documentation",
< "text": "This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. This guide explains authentication, endpoints, pagination, retries and examples. ",
< "headings": [
< "Authentication",
< "Endpoints",
< "Pagination"
< ],
< "jsonLd": [
< {
< "@type": "TechArticle"
< }
< ]
< },
< {
< "id": "r2",
< "url": "https://docs.example.com/changelog",
< "title": "Changelog",
< "description": "Product updates",
< "text": "Version 2.4 adds batch operations and retry controls. Version 2.4 adds batch operations and retry controls. Version 2.4 adds batch operations and retry controls. Version 2.4 adds batch operations and retry controls. Version 2.4 adds batch operations and retry controls. Version 2.4 adds batch operations and retry controls. Version 2.4 adds batch operations and retry controls. Version 2.4 adds batch operations and retry controls. ",
< "headings": [
< "Version 2.4"
< ]
< }
< ],
< "previousItems": [
< {
< "id": "r1",
< "url": "https://docs.example.com/guide",
< "title": "API Guide",
< "description": "Integration documentation",
< "text": "This guide explains authentication, endpoints and examples. This guide explains authentication, endpoints and examples. This guide explains authentication, endpoints and examples. This guide explains authentication, endpoints and examples. This guide explains authentication, endpoints and examples. This guide explains authentication, endpoints and examples. This guide explains authentication, endpoints and examples. This guide explains authentication, endpoints and examples. This guide explains authentication, endpoints and examples. ",
< "headings": [
< "Authentication",
< "Endpoints"
< ],
< "jsonLd": [
< {
< "@type": "TechArticle"
< }
< ]
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~rag-ready-web-research-crawler/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'