help / router / lookup_get

lookup_getread

GET /api/lookup/:key (read; a prompt or a missing/stale/low-confidence key triggers an LLM assessment that spends tokens) · auth: authenticated

GET /api/lookup/:key

signature sha256:554c576c8a9a548557451f771fe24a12

Parameters

nametyperequirednotes
keystringyes
confidencenumber | nullnoMinimum decayed-confidence threshold in [0,1]. Default 0.
max_agestring | nullnoDuration (24h/7d/30m). Older newest assessment → re-assess.
promptstring | nullnoHow to figure out the value; saved to prompt history.
syncboolean | nullnoDefault true. false → enqueue and return current value.

Response

nametypedescription
keystring
valuestring | null
confidencenumber
assessed_atstring | null
assessment_countinteger
cost_nanointegerCumulative cost across all assessments, in nanodollars (0 today).

Call it

read requires auth: authenticated