$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "assessments": [
< {
< "actorRef": {
< "actorId": "example-actor-id",
< "slug": "page-metadata-extractor",
< "name": "Page Metadata Extractor"
< },
< "correlationId": "example-1",
< "manifest": {
< "name": "page-metadata-extractor",
< "title": "Page Metadata Extractor",
< "description": "Turn public webpage URLs into structured metadata records.",
< "version": "0.1"
< },
< "inputSchema": {
< "type": "object",
< "properties": {
< "urls": {
< "type": "array",
< "items": {
< "type": "string"
< }
< }
< },
< "required": [
< "urls"
< ],
< "additionalProperties": false
< },
< "exampleInput": {
< "urls": [
< "https://example.com"
< ]
< },
< "pricing": {
< "pricingModel": "PAY_PER_EVENT",
< "events": {
< "page-processed": {
< "priceUsd": 0.001
< }
< }
< }
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/skilled_glee~actor-quality-guard/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'