CentralCSP
APIReports

Export a drill-down view

Streams the whole drill-down as CSV, with the same filters as the view endpoint and no pagination.

Requires the viewer role on the website and the report type's plan feature.

GET
/v1/workspaces/{workspaceId}/websites/{websiteId}/reports/{type}/views/{view}/export

Authorization

AuthorizationBearer <token>

An OpenID Connect access token issued by Keycloak, acting as the signed-in user.

In: header

Path Parameters

workspaceId*string
websiteId*string
type*string
view*string

Query Parameters

key?string

The key of the row you are drilling into. Without it the view covers the whole website.

range*|||

How far back to look, counted from now. Reports are kept for 90 days, so 90d is the widest range available.

Default"7d"
search?string

Match part of a URL or value in the row.

Lengthlength <= 4096

Response Body

text/csv

curl -X GET "https://api-next.centralcsp.com/v1/workspaces/string/websites/string/reports/string/views/string/export?range=7d"
"string"