CLI

The SignalStack CLI lets you run verifications directly from your terminal — no SDK or API client needed. It is ideal for quick checks, CI/CD pipelines, batch processing, and interactive debugging.

Installation

bash
npm install -g @signalstack/cli

Requires Node.js 18 or later.

Quick setup

Run signalstack init to configure your API key interactively:

bash
signalstack init

This stores your API key in ~/.signalstack/config.json. Alternatively, set the SIGNALSTACK_API_KEY environment variable.

Commands

verify business

Verify a business entity across 14+ data sources.

bash
signalstack verify business --name "Acme Corp" --jurisdiction gb --pretty
OptionDescription
--nameCompany name (required)
--jurisdictionISO country code (e.g. gb, us)
--tax-idTax / registration ID
--addressCompany address
--prettyPretty-print the JSON output

verify claim

Fact-check a claim against knowledge sources.

bash
signalstack verify claim --claim "The Eiffel Tower is located in Berlin" --pretty
OptionDescription
--claimThe claim to verify (required)
--contextAdditional context for the verification
--prettyPretty-print the JSON output

verify document

Analyze document authenticity, extract text, and detect tampering.

bash
signalstack verify document --url https://example.com/invoice.pdf --pretty
OptionDescription
--urlURL of the document to analyze (required)
--typeDocument type hint (e.g. invoice, contract)
--prettyPretty-print the JSON output

verify media

Analyze media provenance and synthetic score for images and video.

bash
signalstack verify media --url https://example.com/photo.jpg --pretty
OptionDescription
--urlURL of the media to analyze (required)
--prettyPretty-print the JSON output

init

Interactively configure your API key and preferences. Stores config in ~/.signalstack/config.json.

bash
signalstack init

open

Open the SignalStack dashboard in your default browser.

bash
signalstack open

Global flags

FlagDescription
--prettyPretty-print JSON output
--no-colorDisable colored output
--helpShow help for any command

CI/CD usage

In CI/CD environments, set the SIGNALSTACK_API_KEY environment variable and use the --no-interactive flag to skip prompts:

bash
# CI/CD — set SIGNALSTACK_API_KEY as an environment variable
SIGNALSTACK_API_KEY=ssk_live_YOUR_KEY signalstack verify business --name "Acme Corp" --pretty --no-interactive

Output format

All verify commands return the full SignalStack API response as JSON. Use --pretty for human-readable output:

json
{
  "trust_score": 0.92,
  "verdict": "verified",
  "evidence": [
    {
      "source": "Companies House",
      "match_type": "primary",
      "confidence": 0.95,
      "details": { ... }
    }
  ],
  "latency_ms": 843
}

Config file

The CLI stores configuration at ~/.signalstack/config.json:

json
{
  "api_key": "ssk_live_abc123",
  "default_format": "pretty"
}

Next steps