IntelligenceService

GetIntelTimeline

GetIntelTimeline returns the durable historical intelligence store newest-first for one domain and/or country. Pure index read — no embedding, no ranking. Premium-gated. PRO-gated. Requires entitlement tier >= 1.

get/api/intelligence/v1/get-intel-timeline

Request

  • Base URL: https://api.worldmonitor.app
  • URL: https://api.worldmonitor.app/api/intelligence/v1/get-intel-timeline
  • Auth: one of:
    • API key in header X-WorldMonitor-Key
    • API key in header X-Api-Key
    • HTTP bearer

Query parameters

domainstring

Restrict to one producing domain. Required unless country is set.

countrystring

Restrict to one ISO 3166-1 alpha-2 country. Required unless domain is set. Supplying both narrows to their intersection.

fromstring int64

Earliest occurred_at to return, Unix epoch milliseconds, inclusive. 0 or omitted means no lower bound.

tostring int64

Latest occurred_at to return, Unix epoch milliseconds, inclusive. 0 or omitted means no upper bound.

limitinteger

Maximum events to return. Defaults to 50 server-side when omitted or <= 0; the handler caps it at 200, the TIMELINE_MAX_LIMIT the Convex query clamps to (convex/intelHistory.ts).

cursorstring

Opaque next_cursor from the preceding response. Omit for the first page. Keep domain, country, from and to unchanged between pages.

jmespathstring

Optional JMESPath expression applied server-side to project or reduce the JSON response before it is returned (mirrors the MCP jmespath argument). Invalid expressions, expressions larger than 1024 UTF-8 bytes, or projections that exceed the 256 KB output cap return HTTP 400 with a {_jmespath_error, original_keys} envelope. Grammar and worked examples: https://www.worldmonitor.app/docs/mcp-jmespath.

Response

OK

partialboolean

True when more history may remain after this bounded page. Continue with next_cursor, including when records is empty.

upstreamUnavailableboolean

True when the history store could not be reached. The gateway reads this flag out of the body and switches the response to Cache-Control: no-store, so a transient outage is never pinned as a false-empty timeline for the tier's full TTL.

nextCursorstring

Continue with this cursor, even when records is empty. Empty means the scoped archive is exhausted. Also empty when upstream_unavailable is true.

Changes

No recorded changes to this operation across all 1 revision of this API.