Report View
The report view resource.
Basehttps://rest.carbon.ms/reportView
GET
/reportViewList report views
Retrieve a paginated list of report views. Filter, order, and select columns with PostgREST query parameters.
Query parameters
selectstringComma-separated columns to return. Defaults to all.
orderstringColumn to sort by, e.g. `createdAt.desc`.
limitintegerMaximum rows to return.
offsetintegerRows to skip, for pagination.
GEThttps://rest.carbon.ms/reportView
curl --request GET \
--url 'https://rest.carbon.ms/reportView?select=*&limit=10' \
--header 'Authorization: Bearer <api-key>'Response
[
{
"id": "abc123def456",
"companyId": "xyz789",
"reportKey": "string",
"name": "Example",
"config": "string",
"visibility": "string",
"createdBy": "string",
"createdAt": "2026-01-01T00:00:00Z"
}
]GET
/reportViewRetrieve a report view
Fetch a single report view by filtering on `id`.
Query parameters
idstringMatch on the report view's `id`, e.g. `eq.{id}`.
GEThttps://rest.carbon.ms/reportView
curl --request GET \
--url 'https://rest.carbon.ms/reportView?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'Response
{
"id": "abc123def456",
"companyId": "xyz789",
"reportKey": "string",
"name": "Example",
"config": "string",
"visibility": "string",
"createdBy": "string",
"createdAt": "2026-01-01T00:00:00Z"
}POST
/reportViewCreate a report view
Create a new report view.
Body parameters
reportKeystringrequirednamestringrequiredconfigobjectrequiredvisibilityreportViewVisibilityrequiredPOSThttps://rest.carbon.ms/reportView
curl --request POST \
--url https://rest.carbon.ms/reportView \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"reportKey":"string","name":"Example","config":"string","visibility":"string"}'Response
{
"id": "abc123def456",
"companyId": "xyz789",
"reportKey": "string",
"name": "Example",
"config": "string",
"visibility": "string",
"createdBy": "string",
"createdAt": "2026-01-01T00:00:00Z"
}PATCH
/reportViewUpdate a report view
Update an existing report view, matched on `id`.
Body parameters
reportKeystringrequirednamestringrequiredconfigobjectrequiredvisibilityreportViewVisibilityrequiredPATCHhttps://rest.carbon.ms/reportView
curl --request PATCH \
--url 'https://rest.carbon.ms/reportView?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>' \
--header 'Content-Type: application/json' \
--header 'Prefer: return=representation' \
--data '{"reportKey":"string"}'Response
{
"id": "abc123def456",
"companyId": "xyz789",
"reportKey": "string",
"name": "Example",
"config": "string",
"visibility": "string",
"createdBy": "string",
"createdAt": "2026-01-01T00:00:00Z"
}DELETE
/reportViewDelete a report view
Delete a report view, matched on `id`. Returns 204 No Content.
Query parameters
idstringThe `id` of the report view to delete, e.g. `eq.{id}`.
DELETEhttps://rest.carbon.ms/reportView
curl --request DELETE \
--url 'https://rest.carbon.ms/reportView?id=eq.%7Bid%7D' \
--header 'Authorization: Bearer <api-key>'204 No Content