List saved report layouts
get
https://api.flactrum.com/v1/report-views
| Required scope | reports.read |
| Panel screen | Finance → Report studio |
| Success status | 200 |
| Returns | A paginated list of ReportView objects |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| search | query | string | — |
| page | query | integer | Page number. |
| per_page | query | integer | Page size. Values above the maximum are rejected rather than silently clamped. |
| sort | query | string | Column to sort by. Each endpoint lists what it accepts. |
| direction | query | string | Sort direction. |
Response fields
| Field | Type | Description |
|---|---|---|
| id | string | — |
| name | string | — |
| config | object | The same body reports/run takes: dimensions, metrics, range, from, to, region, branches, channels, sort, direction. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/report-views' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": [
{
"id": "01m43sqb93zbg0srkx3c1cx1pn",
"name": "Şube cirosu",
"config": {
"range": "last_30",
"metrics": [
"orders",
"revenue"
],
"dimensions": [
"branch"
]
},
"created_at": "2026-10-04T15:50:05+00:00",
"updated_at": "2026-10-04T15:50:05+00:00"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 25,
"last_page": 1
}
}