$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "items": [
< {
< "claim": "The Constitution's preamble says the people ordained it to form a more perfect Union.",
< "url": "http://www.archives.gov/founding-docs/constitution-transcript",
< "quote": "We the People of the United States, in Order to form a more perfect Union"
< },
< {
< "claim": "The preamble still begins with the words We the People.",
< "url": "https://www.archives.gov/founding-docs/constitution-transcript",
< "quote": "we the people of the united states, in order to form a more perfect union"
< },
< {
< "claim": "The Constitution's preamble names a colony on Mars.",
< "url": "https://www.archives.gov/founding-docs/constitution-transcript",
< "quote": "We the Robots of Mars, in Order to form a more perfect Colony"
< },
< {
< "claim": "The National Archives publishes a transcription of the Declaration of Independence.",
< "url": "https://www.archives.gov/founding-docs/declaration-transcript",
< "quote": null
< },
< {
< "claim": "Python is a high-level, general-purpose programming language.",
< "url": "https://en.wikipedia.org/wiki/Python_(programming_language)",
< "quote": "Python is a high-level, general-purpose programming language"
< },
< {
< "claim": "Python was invented by Linus Torvalds as a spreadsheet macro language.",
< "url": "https://en.wikipedia.org/wiki/Python_(programming_language)",
< "quote": "Python was invented by Linus Torvalds as a spreadsheet macro language"
< },
< {
< "claim": "A National Archives page documents this citation-verifier demo.",
< "url": "https://www.archives.gov/founding-docs/citation-claim-verifier-missing-page",
< "quote": "This page documents the citation verifier."
< },
< {
< "claim": "The W3C dummy PDF says Dummy PDF file.",
< "url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
< "quote": "Dummy PDF file"
< }
< ],
< "inlineText": "",
< "maxItems": 50,
< "maxChargeUsd": 5,
< "llmProvider": "none",
< "llmModel": "",
< "checkWayback": true,
< "browserFallback": false,
< "alertOnlyOnChange": false,
< "dedupe": true,
< "requestTimeoutSecs": 20,
< "maxConcurrency": 4,
< "maxRedirects": 5
<}
<EOF
$curl "https://api.apify.com/v2/actors/plusonets~citation-claim-verifier/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'