Skip to main content
GET
GetSummarizeArticleCache

Authorizations

X-WorldMonitor-Key
string
header
required

User-issued WorldMonitor API key.

Query Parameters

cache_key
string

Deterministic cache key computed by buildSummaryCacheKey().

Pattern: ^summary:v\d+:[a-z0-9:_-]{3,120}$
jmespath
string

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

Successful response

SummarizeArticleResponse contains the LLM summarization result.

summary
string

The generated summary text.

model
string

Model identifier used for generation.

provider
string

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

tokens
integer<int32>

Token count from the LLM response.

fallback
boolean

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

error
string

Error message if the request failed.

errorType
string

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

status
enum<string>

SummarizeStatus indicates the outcome of a summarization request.

Available options:
SUMMARIZE_STATUS_UNSPECIFIED,
SUMMARIZE_STATUS_SUCCESS,
SUMMARIZE_STATUS_CACHED,
SUMMARIZE_STATUS_SKIPPED,
SUMMARIZE_STATUS_ERROR
statusDetail
string

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