Outcomes
Get Outcome
/ api/ v1/ outcomes/ {decision_number}The verification of one decision: reads, outcomes and values.
By QueryRev AI Published Updated 1 min read
Request
Send the key in the Authorization header. Path parameters are written into the address; query parameters are optional.
# The verification of one decision: reads, outcomes and valuescurl "https://app.queryrev.com/api/v1/outcomes/412" \ -H "Authorization: Bearer $QUERYREV_API_KEY"Parameters
decision_numberRequiredPathinteger, at least 1
| Name | In | Type | What it is |
|---|---|---|---|
decision_numberRequired | Path | integer, at least 1 |
Response
One Outcome in data, with meta.
Outcomedecision_numberintegeroutcomenull or OutcomeCurrentoutcomes_writtenintegerreadsarray of OutcomeReadvaluesarray of OutcomeValue
| Field | Type and meaning |
|---|---|
decision_number | integer |
outcome | null or OutcomeCurrent |
outcomes_written | integer |
reads | array of OutcomeRead |
values | array of OutcomeValue |
{ "data": { "decision_number": 412, "outcome": { "class": "successful", "at_final_read": true, "verified": true, "primary_layer": "search", "layers": {}, "reasons": [ "estimate_above_threshold" ], "flags": [], "joint_with": [], "classified_at": "2026-10-28T06:00:00Z" }, "outcomes_written": 2, "reads": [ { "layer": "search", "role": "primary", "metric": "clicks", "kind": "final", "status": "estimated", "status_reason": null, "estimator": "difference_in_differences", "as_of": "2026-10-28", "waits_for": null, "days_used_pre": 56, "days_used_post": 56, "effect": { "kind": "incremental", "kind_label": "Incremental", "unit": "relative", "value": 0.12, "low": 0.05, "high": 0.19, "base_kind": "known", "period": { "from": "2026-10-01", "to": "2026-10-28" }, "flags": [], "confidence": { "basis": "interval", "sample_count": null } }, "interval_level": 0.9, "sample": false } ], "values": [ { "line": "search_revenue", "measure": "currency", "period": "window", "basis": "measured_on_series", "window": { "from": "2026-10-01", "to": "2026-10-28" }, "sample": false, "figure": { "kind": "incremental", "kind_label": "Incremental", "unit": "currency", "value": 1840, "low": 920, "high": 2760, "currency": "USD", "base_kind": "known", "period": { "from": "2026-10-01", "to": "2026-10-28" }, "flags": [], "confidence": { "basis": "interval", "sample_count": null } } } ] }, "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.reads[].effectOrnullwhere there is nothing to measure.data.values[].figure
| Field | Kind |
|---|---|
data.reads[].effect | Or null where there is nothing to measure. |
data.values[].figure |
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. - 404Nothing for this address, or nothing the key may read (
not_found). A key never learns whether another workspace has it. - 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. |
| 404 | Nothing for this address, or nothing the key may read (not_found). A key never learns whether another workspace has it. |
| 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 get_outcome, with the same inputs.
Cite this page
A suggested citation. Its link goes to this page, whose address does not change.
QueryRev AI. “Get Outcome.” QueryRev AI, 7 Nov 2026. https://queryrev.com/docs/api/get-outcome
# The verification of one decision: reads, outcomes and valuescurl "https://app.queryrev.com/api/v1/outcomes/412" \ -H "Authorization: Bearer $QUERYREV_API_KEY"{ "data": { "decision_number": 412, "outcome": { "class": "successful", "at_final_read": true, "verified": true, "primary_layer": "search", "layers": {}, "reasons": [ "estimate_above_threshold" ], "flags": [], "joint_with": [], "classified_at": "2026-10-28T06:00:00Z" }, "outcomes_written": 2, "reads": [ { "layer": "search", "role": "primary", "metric": "clicks", "kind": "final", "status": "estimated", "status_reason": null, "estimator": "difference_in_differences", "as_of": "2026-10-28", "waits_for": null, "days_used_pre": 56, "days_used_post": 56, "effect": { "kind": "incremental", "kind_label": "Incremental", "unit": "relative", "value": 0.12, "low": 0.05, "high": 0.19, "base_kind": "known", "period": { "from": "2026-10-01", "to": "2026-10-28" }, "flags": [], "confidence": { "basis": "interval", "sample_count": null } }, "interval_level": 0.9, "sample": false } ], "values": [ { "line": "search_revenue", "measure": "currency", "period": "window", "basis": "measured_on_series", "window": { "from": "2026-10-01", "to": "2026-10-28" }, "sample": false, "figure": { "kind": "incremental", "kind_label": "Incremental", "unit": "currency", "value": 1840, "low": 920, "high": 2760, "currency": "USD", "base_kind": "known", "period": { "from": "2026-10-01", "to": "2026-10-28" }, "flags": [], "confidence": { "basis": "interval", "sample_count": null } } } ] }, "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.