{
  "openapi": "3.0.1",
  "info": {
    "title": "FBI Most Wanted Search — Watchlist Intelligence",
    "description": "Watchlist intelligence over the FBI Most Wanted database. Screen people for KYC, score risk and danger, detect captures and watchlist changes, and get prioritised review queues with recommended actions. Deterministic decisions, not raw rows. Browse, screening, and case-management modes.",
    "version": "2.5",
    "x-build-id": "qCwUPfI8bSIRkpGmm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ryanclinton~fbi-wanted-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ryanclinton-fbi-wanted-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/ryanclinton~fbi-wanted-search/runs": {
      "post": {
        "operationId": "runs-sync-ryanclinton-fbi-wanted-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/ryanclinton~fbi-wanted-search/run-sync": {
      "post": {
        "operationId": "run-sync-ryanclinton-fbi-wanted-search",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "title": {
            "title": "Name / Title",
            "type": "string",
            "description": "Browse mode: search by person name or case title."
          },
          "posterClassification": {
            "title": "Poster Classification",
            "enum": [
              "ten",
              "default",
              "information",
              "law",
              "missing",
              "kidnap",
              "parental",
              "vicap"
            ],
            "type": "string",
            "description": "Filter by FBI poster classification."
          },
          "fieldOffice": {
            "title": "FBI Field Office",
            "type": "string",
            "description": "Filter by FBI field office (e.g. newyork, losangeles, chicago, dallas, miami)."
          },
          "status": {
            "title": "Status",
            "enum": [
              "na",
              "captured",
              "recovered",
              "located",
              "surrendered",
              "deceased"
            ],
            "type": "string",
            "description": "Filter by person status."
          },
          "race": {
            "title": "Race",
            "type": "string",
            "description": "Filter by race (e.g. white, black, asian)."
          },
          "sex": {
            "title": "Sex",
            "enum": [
              "Male",
              "Female"
            ],
            "type": "string",
            "description": "Filter by sex."
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of results to return (browse mode).",
            "default": 20
          },
          "screeningSubjects": {
            "title": "Screening Subjects (KYC / due-diligence mode)",
            "maxItems": 100,
            "type": "array",
            "description": "Optional. Provide a list of people to screen against the FBI Wanted database. Each subject is fuzzy-matched (name + sex + race + age) against returned wanted persons; only candidates that match are emitted, each with a matchScore, band (strong/possible/weak), and a recommendedAction (escalate/review/no-action). Example: [{\"subjectId\":\"cust-1\",\"fullName\":\"John Smith\",\"sex\":\"Male\",\"yearOfBirth\":1980}]. When set, browse filters are ignored."
          },
          "screeningListName": {
            "title": "Saved Screening List Name",
            "type": "string",
            "description": "Optional. Save the screeningSubjects under this name (stored in the key-value store) so you can re-run continuous screening without re-uploading. Provide both screeningSubjects + screeningListName to save/update the list; provide only screeningListName on later runs to reuse it."
          },
          "mode": {
            "title": "Output Mode",
            "enum": [
              "standard",
              "case-management"
            ],
            "type": "string",
            "description": "'standard' emits full wanted-person records. 'case-management' emits lean analyst-workflow case records (recordType: case) with caseId, priority, status, reviewPriority, queuePosition — the review-queue shape compliance analysts work from.",
            "default": "standard"
          },
          "focus": {
            "title": "Focus (result filter)",
            "enum": [
              "all",
              "critical-only",
              "armed-and-dangerous",
              "terrorism",
              "children",
              "cyber",
              "financial-crime",
              "ten-most-wanted",
              "reward-above-100k",
              "new-and-changed"
            ],
            "type": "string",
            "description": "Opinionated preset that filters which records are emitted (and charged) after scoring. 'all' returns everything; the rest narrow to a single intent. 'new-and-changed' requires a watchlistName.",
            "default": "all"
          },
          "watchlistName": {
            "title": "Watchlist Name (cross-run monitoring)",
            "type": "string",
            "description": "Optional. Name a watchlist to enable change detection across scheduled runs. Each record gets a changeFlag (NEW / CAPTURED / STATUS_CHANGED / REWARD_CHANGED / UPDATED / UNCHANGED) diffed against the previous run on the same watchlist. First run marks everything NEW."
          },
          "outputProfile": {
            "title": "Output Profile",
            "enum": [
              "minimal",
              "standard",
              "full",
              "llm"
            ],
            "type": "string",
            "description": "Controls how many fields each record carries. minimal = decision essentials for Zapier/Make rules; standard = full decision layer (default); full = everything including raw FBI fields; llm = compact context for AI agents.",
            "default": "standard"
          },
          "includeSummary": {
            "title": "Include Run Summary Record",
            "type": "boolean",
            "description": "Emit a final summary record with danger/category distributions, coverage, and watchlist deltas.",
            "default": true
          },
          "webhookUrl": {
            "title": "Slack / Discord Webhook URL",
            "type": "string",
            "description": "Optional. Posts a rich alert embed when escalation-worthy records, captures, or new listings are found."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}