Skip to main content
POST
Run a widget

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

report_id
string
required

The report's id, from GET /v1/reports

widget_id
string
required

The widget's id, from the report

Body

application/json
filters
ReportFilterValue · object[]

Values for the report's filters, each at most once. A filter left out runs with the value the reports page opens with (its default, or its date preset)

Maximum array length: 100
Example:
limit
integer
default:100

The most rows to return

Required range: 1 <= x <= 1000
offset
integer
default:0

Rows to skip first: the next_offset of the page before. A widget shows at most its first 10,000 rows

Required range: x >= 0

Response

200 - application/json

Successful Response

columns
ReportQueryColumn · object[]
required
rows
any[][]
required

Each row's values, in the columns' order

truncated
boolean
required

Whether the widget had more rows than these: more than limit, or (over MCP) more than fit in one answer of about 50 KB

next_offset
integer | null

When truncated: the offset that returns the next page. Null at the 10,000th row, the last a widget shows