Decisions
List Decisions
/ api/ v1/ decisionsThe decisions the key can read, highest priority first. A list, paged by cursor.
By QueryRev AI Published Updated 2 min read
Request
Send the key in the Authorization header. Path parameters are written into the address; query parameters are optional.
# The decisions the key can read, highest priority firstcurl "https://app.queryrev.com/api/v1/decisions?limit=50" \ -H "Authorization: Bearer $QUERYREV_API_KEY"Parameters
site_idOptionalQuerystring (uuid)stateOptionalQuerystringComma-separated decision states. Default: the open states and approved.limitOptionalQueryinteger, at least 1Rows in the page: 1 to the endpoint's maximum (200 unless stated), 50 by default.cursorOptionalQuerystringThenext_cursorof the previous answer, unchanged. Opaque; bound to the endpoint that made it and to the filters of the request (the site or report in the path,site_id, state): used with other filters it is refused asinvalid_cursor.
| Name | In | Type | What it is |
|---|---|---|---|
site_idOptional | Query | string (uuid) | |
stateOptional | Query | string | Comma-separated decision states. Default: the open states and approved. |
limitOptional | Query | integer, at least 1 | Rows in the page: 1 to the endpoint's maximum (200 unless stated), 50 by default. |
cursorOptional | Query | string | The next_cursor of the previous answer, unchanged. Opaque; bound to the endpoint that made it and to the filters of the request (the site or report in the path, site_id, state): used with other filters it is refused as invalid_cursor. |
Response
A list of DecisionSummary, with next_cursor and meta.
DecisionSummarynumberintegeridstring (uuid)site_idstring (uuid)opportunity_familystringcategorystringtypestring or nullfamilystring or nullactionstring or nullcandidate_actionsarray of stringai_searchbooleanstatestringstate_changed_atstring (date-time)priorityPriorityevidence_strengthstringrisk_classstringeffortintegerreason_codesarray of stringdue_onstring or nullneeds_review_reasonstring or nullvaluesarray of objectmoney_valueMoneyValue
| Field | Type and meaning |
|---|---|
number | integer |
id | string (uuid) |
site_id | string (uuid) |
opportunity_family | string |
category | string |
type | string or null |
family | string or null |
action | string or null |
candidate_actions | array of string |
ai_search | boolean |
state | string |
state_changed_at | string (date-time) |
priority | Priority |
evidence_strength | string |
risk_class | string |
effort | integer |
reason_codes | array of string |
due_on | string or null |
needs_review_reason | string or null |
values | array of object |
money_value | MoneyValue |
{ "data": [ { "number": 412, "id": "3f6c1a52-8d4e-4b7a-9c21-5e0f7b3d9a14", "site_id": "9b2e7d41-0c5a-4f8e-8a63-2d1b6c9e4f07", "opportunity_family": "update_page", "category": "content", "type": "update", "family": "improve", "action": "refresh_content", "candidate_actions": [ "refresh_content" ], "ai_search": false, "state": "proposed", "state_changed_at": "2026-10-28T09:14:00Z", "priority": { "score": 0.82, "rank": 1 }, "evidence_strength": "strong", "risk_class": "low", "effort": 2, "reason_codes": [ "decay_clicks" ], "due_on": "2026-11-20", "needs_review_reason": null, "values": [], "money_value": { "status": "shown", "name": "Revenue at stake a year", "figure": { "kind": "modeled", "kind_label": "Modeled", "unit": "currency_per_year", "low": 6500, "high": 7300, "currency": "USD", "period": null, "flags": [], "confidence": { "basis": "range_from_inputs", "sample_count": null } }, "inputs": [] } } ], "next_cursor": "eyJ2IjoxLCJlIjoic2l0ZXMiLCJmIjoiIn0", "meta": { "revenue_view": "full" }}Sample values from an example site. Free-form fields, whose entries differ from one item to the next, are shown empty.
Figures and their kinds
data[].money_value.figure
| Field | Kind |
|---|---|
data[].money_value.figure |
data[].values[]Each entry carries its ownkindandkind_label.data[].money_value.inputs[]Each entry carries its ownkindandkind_label.
| Field | Kind |
|---|---|
data[].values[] | Each entry carries its own kind and kind_label. |
data[].money_value.inputs[] | Each entry carries its own kind and kind_label. |
Errors
- 400A parameter or the cursor is not valid (
invalid_parameter,invalid_cursor). - 401No key, or a key that is wrong, revoked or expired (
missing_api_key,invalid_api_key). - 403The workspace's access is suspended, or its plan is one the limits table does not know (
plan_unavailable). The API fails closed. A workspace with no subscription is served at the smallest plan's rate, and a read-only one (payment overdue, canceled or ended) still reads at its plan's rate. - 429Over the plan's requests a minute (
rate_limited), or too many refused requests (401 or 403) from one network in a minute: then the answer hasRetry-Afteronly. - 500Something went wrong on our side (
internal_error). The answer never carries detail. - 503The API cannot answer right now (unavailable): a request that cannot be checked or counted is not served. Try again shortly. The answer never carries detail.
| Status | When |
|---|---|
| 400 | A parameter or the cursor is not valid (invalid_parameter, invalid_cursor). |
| 401 | No key, or a key that is wrong, revoked or expired (missing_api_key, invalid_api_key). |
| 403 | The workspace's access is suspended, or its plan is one the limits table does not know (plan_unavailable). The API fails closed. A workspace with no subscription is served at the smallest plan's rate, and a read-only one (payment overdue, canceled or ended) still reads at its plan's rate. |
| 429 | Over the plan's requests a minute (rate_limited), or too many refused requests (401 or 403) from one network in a minute: then the answer has Retry-After only. |
| 500 | Something went wrong on our side (internal_error). The answer never carries detail. |
| 503 | The API cannot answer right now (unavailable): a request that cannot be checked or counted is not served. Try again shortly. The answer never carries detail. |
In the MCP server
In @queryrev/mcp this endpoint is the tool list_decisions, with the same inputs.
Cite this page
A suggested citation. Its link goes to this page, whose address does not change.
QueryRev AI. “List Decisions.” QueryRev AI, 7 Nov 2026. https://queryrev.com/docs/api/list-decisions
# The decisions the key can read, highest priority firstcurl "https://app.queryrev.com/api/v1/decisions?limit=50" \ -H "Authorization: Bearer $QUERYREV_API_KEY"{ "data": [ { "number": 412, "id": "3f6c1a52-8d4e-4b7a-9c21-5e0f7b3d9a14", "site_id": "9b2e7d41-0c5a-4f8e-8a63-2d1b6c9e4f07", "opportunity_family": "update_page", "category": "content", "type": "update", "family": "improve", "action": "refresh_content", "candidate_actions": [ "refresh_content" ], "ai_search": false, "state": "proposed", "state_changed_at": "2026-10-28T09:14:00Z", "priority": { "score": 0.82, "rank": 1 }, "evidence_strength": "strong", "risk_class": "low", "effort": 2, "reason_codes": [ "decay_clicks" ], "due_on": "2026-11-20", "needs_review_reason": null, "values": [], "money_value": { "status": "shown", "name": "Revenue at stake a year", "figure": { "kind": "modeled", "kind_label": "Modeled", "unit": "currency_per_year", "low": 6500, "high": 7300, "currency": "USD", "period": null, "flags": [], "confidence": { "basis": "range_from_inputs", "sample_count": null } }, "inputs": [] } } ], "next_cursor": "eyJ2IjoxLCJlIjoic2l0ZXMiLCJmIjoiIn0", "meta": { "revenue_view": "full" }}Sample values from an example site. Free-form fields, whose entries differ from one item to the next, are shown empty.