---
title: "Create and stream a web/media search job"
method: POST
path: "/v1/web-search/stream"
tags: ["web-search"]
---

# Create and stream a web/media search job

`POST /v1/web-search/stream`

Create a persisted web-search job and immediately stream typed server-sent events until completion. Use the `X-Job-Id` response header to reconnect at `GET /v1/web-search/jobs/{job_id}/stream` with `Last-Event-ID`.

## Request body

- WebSearchRequest — Supported request payload for the web/media capability.
  - `adverseTerms` string[] — Optional adverse-media terms to search alongside the subject. The service also uses a built-in adverse/legal/regulatory term pack.
  - `dateRange` WebSearchDateRange — Date-range filter for web search.
    - `from` string, date, required
    - `to` string, date, required
  - `maxResults` integer
  - `platformFilters` WebPlatform[]
  - `seedUrls` string[]
  - `socialAccounts` WebSearchSocialAccount[]
    - `platform` 'x' | 'instagram' | 'telegram' | 'youtube' | 'facebook'
    - `profileUrl` string, uri, nullable
    - `username` string, nullable
  - `subject` WebSearchSubject, required — Search subject definition for web/media lookups.
    - `aliases` string[]
    - `approximateAge` integer, nullable
    - `bodyTypeBuild` 'Slim' | 'Average' | 'Athletic / Fit' | 'Muscular' | 'Heavyset' | 'Unknown'
    - `dateOfBirth` string, date, nullable
    - `driversLicenseState` 'AL' | 'AK' | 'AZ' | 'AR' | 'CA' | 'CO' | 'CT' | 'DE' | 'DC' | 'FL' | 'GA' | 'HI' | 'ID' | 'IL' | 'IN' | 'IA' | 'KS' | 'KY' | 'LA' | 'ME' | 'MD' | 'MA' | 'MI' | 'MN' | 'MS' | 'MO' | 'MT' | 'NE' | 'NV' | 'NH' | 'NJ' | 'NM' | 'NY' | 'NC' | 'ND' | 'OH' | 'OK' | 'OR' | 'PA' | 'RI' | 'SC' | 'SD' | 'TN' | 'TX' | 'UT' | 'VT' | 'VA' | 'WA' | 'WV' | 'WI' | 'WY'
    - `emailAddress` string, email, nullable
    - `employer` string, nullable
    - `employmentDateOfHire` string, date, nullable
    - `employmentDepartment` string, nullable
    - `employmentLocation` string, nullable
    - `employmentRole` string, nullable
    - `employmentStatus` 'Employee' | 'Contractor' | 'Former Employee' | 'Terminated' | 'Applicant' | 'Unknown'
    - `ethnicity` 'American Indian or Alaska Native' | 'Asian' | 'Black or African American' | 'Hispanic or Latino' | 'Middle Eastern or North African' | 'Native Hawaiian or Other Pacific Islander' | 'White' | 'Other' | 'Unknown'
    - `gender` 'Male' | 'Female' | 'Non-binary' | 'Other' | 'Unknown'
    - `imageFileId` string, nullable
    - `imageUrl` string, uri, nullable
    - `languages` string[]
    - `militaryStatus` 'No Military Service' | 'Active Duty' | 'Reserve' | 'National Guard' | 'Veteran' | 'Unknown'
    - `mobilePhoneNumber` string, nullable
    - `name` string, required
    - `placeOfBirth` string, nullable
    - `regions` string[]
    - `socialMediaUrls` WebSearchSubjectSocialMediaUrl[]
      - `platform` 'x' | 'instagram' | 'telegram' | 'youtube' | 'facebook'
      - `url` string, uri, required
    - `terminationDate` string, date, nullable
    - `type` 'person' | 'organization' | 'keyword', required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/intraceai/apis/intelligence-api.md) · [All operations](https://skmtc.net/intraceai/apis/intelligence-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/intraceai/intelligence-api/revisions/c0216eef7380/schema)
