Skip to content

Report Executions

The Report Executions service collection provides operations for managing scheduled report execution instances. Download generated reports, retry failed executions, retrieve execution details, and query for report execution IDs using Falcon Query Language filters.

LanguageLast Update
Pythonv1.6.5
PowerShellv2.2.9
Gov0.22.0
TypeScriptv0.6.0
Rustv0.7.1
Rubyv1.4.0

This service collection has code examples posted to the repository.



OperationDescription
report-executions-download.get
get_download
Get report entity download
report-executions.get
get_reports
Retrieve report details for the provided report IDs.
report-executions.query
query_reports
Find all report execution IDs matching the query with filter
report-executions.retry
retry_reports
This endpoint will be used to retry report executions

Get report entity download

Method GET
Route /reports/entities/report-executions-download/v1
Scope Scheduled Reports: READ
PEP 8 get_download
ids query · string
The report_execution id to download
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ReportExecutions
falcon = ReportExecutions(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_download(ids=id_list)
print(response)
{
"errors": [
{
"code": 0,
"id": "string",
"message": "string"
}
],
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
},
"powered_by": "string",
"query_time": 0.0,
"trace_id": "string",
"writes": {
"resources_affected": 0
}
}
}


Retrieve report details for the provided report IDs.

Method GET
Route /reports/entities/report-executions/v1
Scope Scheduled Reports: READ
PEP 8 get_reports
ids query · string or list of strings
The report_execution id to get details about.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ReportExecutions
falcon = ReportExecutions(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_reports(ids=id_list)
print(response)
[
{
"can_write": false,
"created_on": "string",
"customer_id": "string",
"execution_metadata": {},
"expiration_on": "string",
"id": "string",
"job_reference": "string",
"last_updated_on": "string",
"report_file_reference": "string",
"report_params": {},
"result_metadata": {},
"scheduled_report_id": "string",
"secret_references": {},
"shared_with": [],
"status": "string",
"status_display": "string",
"status_msg": "string",
"tracking": "string",
"trigger_reference": "string",
"type": "string",
"user_id": "string",
"user_uuid": "string"
}
]


Find all report execution IDs matching the query with filter

Method GET
Route /reports/queries/report-executions/v1
Scope Scheduled Reports: READ
PEP 8 query_reports
sort query · string
Possible order by fields:
Available values (2)
created_onlast_updated_on
filter query · string
FQL query specifying the filter parameters. Filter term criteria:
Available values (5)
typescheduled_report_idstatus
created_onlast_updated_on
q query · string
Match query criteria, which includes all the filter string fields
offset query · string
Starting index of overall result set from which to return ids.
limit query · integer
Number of ids to return.
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import ReportExecutions
falcon = ReportExecutions(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.query_reports(filter="string",
limit=integer,
offset="string",
q="string",
sort="string")
print(response)
[
"string"
]


This endpoint will be used to retry report executions

Method POST
Route /reports/entities/report-executions-retry/v1
Scope Scheduled Reports: READ
PEP 8 retry_reports
body body · dictionary
Full body payload as JSON formatted dictionary.
id body · string
ids body · string or list of strings
ID of the report to re-attempt execution.
from falconpy import ReportExecutions
falcon = ReportExecutions(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.retry_reports(ids=id_list)
print(response)
[
{
"can_write": false,
"created_on": "string",
"customer_id": "string",
"execution_metadata": {},
"expiration_on": "string",
"id": "string",
"job_reference": "string",
"last_updated_on": "string",
"report_file_reference": "string",
"report_params": {},
"result_metadata": {},
"scheduled_report_id": "string",
"secret_references": {},
"shared_with": [],
"status": "string",
"status_display": "string",
"status_msg": "string",
"tracking": "string",
"trigger_reference": "string",
"type": "string",
"user_id": "string",
"user_uuid": "string"
}
]