{
  "openapi": "3.0.1",
  "info": {
    "title": "SEC Filing Intelligence Monitor",
    "description": "Monitor SEC/EDGAR filing snapshots, company facts, and watchlists. produce structured rows without live network calls.",
    "version": "1.0",
    "x-build-id": "1ewXI8cVeYWd45igN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/junipr~sec-filing-intelligence-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-junipr-sec-filing-intelligence-monitor",
        "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/junipr~sec-filing-intelligence-monitor/runs": {
      "post": {
        "operationId": "runs-sync-junipr-sec-filing-intelligence-monitor",
        "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/junipr~sec-filing-intelligence-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-junipr-sec-filing-intelligence-monitor",
        "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": {
          "targets": {
            "title": "Watchlist Targets",
            "type": "array",
            "description": "SEC filing watchlist targets. In fixture mode, provide previous/current filing and fact snapshots. In EDGAR mode, each target must include a CIK.",
            "items": {
              "type": "object"
            },
            "default": [
              {
                "sourceId": "example-sec-watchlist",
                "sourceUrl": "",
                "cik": "0000000000",
                "ticker": "EXM",
                "companyName": "Example Technology Holdings (fixture)",
                "previousFilings": [
                  {
                    "accessionNumber": "0000000000-26-000041",
                    "form": "10-Q",
                    "filingDate": "2026-05-05",
                    "acceptedAt": "2026-05-05T20:14:00Z",
                    "reportDate": "2026-03-31",
                    "primaryDocument": "exm-20260331.htm",
                    "filingUrl": "",
                    "items": [],
                    "description": "Quarterly report for the prior fixture period."
                  },
                  {
                    "accessionNumber": "0000000000-26-000039",
                    "form": "8-K",
                    "filingDate": "2026-05-01",
                    "acceptedAt": "2026-05-01T12:04:00Z",
                    "reportDate": "2026-05-01",
                    "primaryDocument": "exm-8k.htm",
                    "filingUrl": "",
                    "items": [
                      "Item 8.01"
                    ],
                    "description": "Other events fixture filing already seen in the previous snapshot."
                  }
                ],
                "currentFilings": [
                  {
                    "accessionNumber": "0000000000-26-000054",
                    "form": "8-K",
                    "filingDate": "2026-06-30",
                    "acceptedAt": "2026-06-30T21:02:00Z",
                    "reportDate": "2026-06-30",
                    "primaryDocument": "exm-20260630-8k.htm",
                    "filingUrl": "",
                    "items": [
                      "Item 2.02",
                      "Item 5.02"
                    ],
                    "description": "Fixture 8-K covering results of operations and officer changes."
                  },
                  {
                    "accessionNumber": "0000000000-26-000052",
                    "form": "10-Q/A",
                    "filingDate": "2026-06-24",
                    "acceptedAt": "2026-06-24T18:45:00Z",
                    "reportDate": "2026-03-31",
                    "primaryDocument": "exm-20260331-10qa.htm",
                    "filingUrl": "",
                    "items": [],
                    "description": "Fixture amendment to quarterly report."
                  },
                  {
                    "accessionNumber": "0000000000-26-000041",
                    "form": "10-Q",
                    "filingDate": "2026-05-05",
                    "acceptedAt": "2026-05-05T20:14:00Z",
                    "reportDate": "2026-03-31",
                    "primaryDocument": "exm-20260331.htm",
                    "filingUrl": "",
                    "items": [],
                    "description": "Quarterly report for the prior fixture period."
                  }
                ],
                "previousFacts": [
                  {
                    "name": "Revenue",
                    "value": 825000000,
                    "unit": "USD",
                    "period": "CY2026Q1",
                    "filedAt": "2026-05-05"
                  },
                  {
                    "name": "CashAndCashEquivalents",
                    "value": 210000000,
                    "unit": "USD",
                    "period": "CY2026Q1",
                    "filedAt": "2026-05-05"
                  }
                ],
                "currentFacts": [
                  {
                    "name": "Revenue",
                    "value": 1090000000,
                    "unit": "USD",
                    "period": "CY2026Q2",
                    "filedAt": "2026-06-30"
                  },
                  {
                    "name": "CashAndCashEquivalents",
                    "value": 198000000,
                    "unit": "USD",
                    "period": "CY2026Q2",
                    "filedAt": "2026-06-30"
                  }
                ]
              }
            ]
          },
          "fetchMode": {
            "title": "Fetch Mode",
            "enum": [
              "fixtures",
              "edgar-submissions"
            ],
            "type": "string",
            "description": "fixtures uses only provided snapshots. edgar-submissions optionally fetches capped public submissions JSON from data.sec.gov and requires CIK, secUserAgent, and contactEmail.",
            "default": "fixtures"
          },
          "forms": {
            "title": "SEC Forms",
            "type": "array",
            "description": "SEC forms to include. Amendment forms match either exact form names or their base forms.",
            "items": {
              "type": "string"
            },
            "default": [
              "8-K",
              "10-K",
              "10-Q",
              "10-K/A",
              "10-Q/A",
              "S-1",
              "S-3",
              "4",
              "SC 13D",
              "SC 13G",
              "NT 10-K",
              "NT 10-Q"
            ]
          },
          "lookbackDays": {
            "title": "Lookback Days",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Only return current filings accepted or filed within this many days of the run timestamp. Use 0 to disable the date filter.",
            "default": 45
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Alias for Max Targets/Maximum Records used by the Junipr actor baseline. When both are provided, actor-specific limits still apply.",
            "default": 1
          },
          "maxTargets": {
            "title": "Maximum Targets",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum watchlist targets to process. EDGAR fetch mode is additionally capped at 5 targets.",
            "default": 1
          },
          "maxFilingsPerTarget": {
            "title": "Maximum Filings Per Target",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum current filings to inspect per target.",
            "default": 10
          },
          "maxRows": {
            "title": "Maximum Output Rows",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum dataset rows to emit after sorting by severity and recency.",
            "default": 50
          },
          "includeCompanyFacts": {
            "title": "Include Company Fact Changes",
            "type": "boolean",
            "description": "Compare previous/current company facts included in the input snapshots.",
            "default": true
          },
          "includeReport": {
            "title": "Generate Summary Report",
            "type": "boolean",
            "description": "Store JSON results, JSON summary, and a Markdown report in the default key-value store after the report-generated event is charged.",
            "default": true
          },
          "dryRun": {
            "title": "Dry Run",
            "type": "boolean",
            "description": "Analyze input and log counts without pushing dataset rows or key-value-store report artifacts.",
            "default": false
          },
          "secUserAgent": {
            "title": "SEC User-Agent",
            "type": "string",
            "description": "Required only for edgar-submissions fetch mode. Use a declared application or organization name, for example My Company Research Bot.",
            "default": ""
          },
          "contactEmail": {
            "title": "SEC Contact Email",
            "type": "string",
            "description": "Required only for edgar-submissions fetch mode. Added to the declared User-Agent for responsible SEC API access.",
            "default": ""
          },
          "debug": {
            "title": "Debug Logging",
            "type": "boolean",
            "description": "Enable additional normalization and billing-flow logs.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}