Outerview

CLI

Search the physical world and follow dataset changes from your terminal. Human-readable by default, JSON with --json.

Command
outerview
Version
0.2.0
Requires
Node 18+

Install

Run it once with npx, or install it globally to get the outerview command.

bash
npx @outerview/cli discover "public parks in Brooklyn"
bash
npm install -g @outerview/cli

Sign in

Create a key

Open API keys in the console and create one.

Save it

bash
outerview login
# Paste your key (ov_…): ********
# ✓ Signed in. 4,000 credits available.

The key is saved to ~/.outerview/config.json (readable only by you). OUTERVIEW_API_KEY in the environment always wins, which is what you want in CI. outerview logout removes the saved key.

Run a search

bash
outerview discover "EV chargers along I-80 in Nebraska" --limit 5 --answer
text
 1  Tesla Supercharger  Charging station · 2100 N Lincoln Ave
    41.13652, -100.77032
 2  Electrify America  Charging station · 4720 Hwy 30
    40.69811, -99.08187
 …
5 results in Nebraska · https://outerview.ai/discover/eabf9ebb-…

Commands

CommandWhat it does
outerview login [--key ov_…]Verify and save an API key.
outerview logoutRemove the saved key.
outerview discover "<question>" [--limit n] [--answer] [--focus id] [--json]Search. One credit per call.
outerview result <id> [--json]Print a stored Discover result.
outerview artifacts [name] [--type t] [--json]Find datasets and their ids.
outerview stream <dataset> [--region id] [--since iso] [--follow] [--cursor c] [--json]Print new changes in a dataset; --follow keeps polling.
outerview stream subscribe <dataset> --webhook https://…Push changes to a webhook.
outerview stream list | pause id | resume id | delete idManage webhook subscriptions.
outerview usageCredit balance.
outerview helpAll commands and flags.

Datasets can be given by name ("building permit") or id; names resolve to the closest streamable match from outerview artifacts.

JSON and piping

--json prints the raw API response. stream --json prints one event per line (NDJSON), with progress messages on stderr so pipes stay clean.

bash
# Save a GeoJSON file
outerview discover "hospitals in Lisbon" --limit 50 --json | jq .data.geojson > hospitals.geojson

# Names only
outerview discover "ports on the Baltic Sea" --json | jq -r '.data.geojson.features[].properties.name'

# Tail a dataset forever and keep only addresses
outerview stream "building permit" --follow --json | jq -r .feature.properties.address

Following a dataset

bash
# Changes from the last day, then stop
outerview stream "building permit" --since 2026-12-01T00:00:00Z
# … Caught up. Resume with --cursor eyJiaW5kaW5nIjoi…

# Pick up exactly where you left off
outerview stream "building permit" --cursor eyJiaW5kaW5nIjoi…

# Keep polling every 30 seconds
outerview stream "building permit" --follow --interval 30

# Or have Outerview push changes to you
outerview stream subscribe "building permit" --webhook https://your-app.com/webhooks/outerview

Verify webhook signatures with the SDK's verifyWebhook, or see Stream API for the scheme.

Environment variables

VariableDescription
OUTERVIEW_API_KEYAPI key. Overrides the saved key.
OUTERVIEW_BASE_URLAPI host. Default https://api.outerview.ai.
NO_COLORDisable colored output.

Troubleshooting

MessageFix
Not signed inRun outerview login or set OUTERVIEW_API_KEY.
A valid Outerview API key is requiredThe key was revoked or mistyped. Create a new one under API keys.
Add credits to your developer walletTop up under Billing. Stream and lookups stay free.
Too many requestsWait a minute; limits are 60 requests per minute per workspace.
Cursor expiredCursors last seven days. Start again without --cursor (or with --since).

Next steps