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#
| Name | In | Type | Required | Description |
|---|---|---|---|---|
range | query | "24h" | "7d" | "30d" | "90d" | "1y" | optional | The window, ending now: 24h, 7d, 30d, 90d, 1y. · e.g. 30d |
Logu-Workspace | header | string | optional | Humans 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
| Field | Type | Required | Notes |
|---|---|---|---|
range | "24h" | "7d" | "30d" | "90d" | "1y" | required | |
from | string | required | date-time |
to | string | required | date-time |
decided | integer | required | |
timedOut | integer | required | |
medianDecisionSeconds | number | null | required | |
p90DecisionSeconds | number | null | required |
Errors#
Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request | The request is malformed or a field is invalid (see issues). |
| 401 | unauthorized | No credentials, or the API key or session is invalid or revoked. |
| 403 | forbidden | The caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint). |
| 404 | not_found | No such route, or the resource doesn't exist in your workspace. |
| 500 | internal_error | Something went wrong on Logu's side. |