GET
/
rest
/
api
/
v1
/
governance
/
data
/
reports
/
{id}
/
download
from glean import Glean
import os


with Glean(
    api_token=os.getenv("GLEAN_API_TOKEN", ""),
) as g_client:

    res = g_client.client.governance.data.reports.download(id="<id>")

    # Handle response
    print(res)
"<string>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The id of the report to download violations for.

Response

200
text/csv; charset=UTF-8

Downloads csv of one-time report violations.

CSV of all the violations found for this report.