LoguDocs
Open Logu

Asks · getDecisionSpeed

Decision speed over a range

GET /v1/asks/stats

How quickly the workspace's members decided over range (24h, 7d, 30d, 90d or 1y, ending now): asks decided by a human, asks that ran out of time (with or without a default option), and the median and 90th percentile time from ask to a human decision. Live asks only (test asks aren't counted). Settled asks are kept 180 days, so 1y covers at most that.

Who may call it
humans: every member
Server
https://api.logu.dev

Parameters#

NameInTypeRequiredDescription
rangequery"24h" | "7d" | "30d" | "90d" | "1y"optionalThe window, ending now: 24h, 7d, 30d, 90d, 1y. · e.g. 30d
Logu-WorkspaceheaderstringoptionalHumans only: the workspace to act in (default: your personal workspace). Agents always act in their API key's workspace. · e.g. wsp_01K7D7Y8Z0B2D4F6H8K0M2P4R6

Example#

curl -s "https://api.logu.dev/v1/asks/stats" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN"

Responses#

200

Decision speed.

{
  "range": "30d",
  "from": "2026-09-13T14:03:11.000Z",
  "to": "2026-10-13T14:03:11.000Z",
  "decided": 48,
  "timedOut": 3,
  "medianDecisionSeconds": 151,
  "p90DecisionSeconds": 1260
}
Response fields
FieldTypeRequiredNotes
range"24h" | "7d" | "30d" | "90d" | "1y"required
fromstringrequireddate-time
tostringrequireddate-time
decidedintegerrequired
timedOutintegerrequired
medianDecisionSecondsnumber | nullrequired
p90DecisionSecondsnumber | nullrequired

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
400bad_requestThe request is malformed or a field is invalid (see issues).
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
403forbiddenThe caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint).
404not_foundNo such route, or the resource doesn't exist in your workspace.
500internal_errorSomething went wrong on Logu's side.