Get one layout
get
https://api.flactrum.com/v1/report-views/{view}
| Required scope | reports.read |
| Success status | 200 |
| Returns | One ReportView object |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| view * | path | string | ULID of the record. |
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/01m43sqb93zbg0srkx3c1cx1pn' \
-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"
}
}