NewsService

GetSummarizeArticleCache

GetSummarizeArticleCache looks up a cached summary by deterministic key (CDN-cacheable GET).

get/api/news/v1/summarize-article-cache

Request

  • Base URL: https://api.worldmonitor.app
  • URL: https://api.worldmonitor.app/api/news/v1/summarize-article-cache
  • Auth: one of:
    • API key in header X-WorldMonitor-Key
    • API key in header X-Api-Key

Query parameters

cache_keystring

Deterministic cache key computed by buildSummaryCacheKey().

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

summarystring

The generated summary text.

modelstring

Model identifier used for generation.

providerstring

Provider that produced the result (or "cache").

tokensinteger

Token count from the LLM response.

fallbackboolean

Whether the client should try the next provider in the fallback chain.

errorstring

Error message if the request failed.

errorTypestring

Error type/name (e.g. "TypeError").

status'SUMMARIZE_STATUS_UNSPECIFIED' | 'SUMMARIZE_STATUS_SUCCESS' | 'SUMMARIZE_STATUS_CACHED' | 'SUMMARIZE_STATUS_SKIPPED' | 'SUMMARIZE_STATUS_ERROR'

SummarizeStatus indicates the outcome of a summarization request.

statusDetailstring

Human-readable detail for non-success statuses (skip reason, etc.).

Changes

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