Skip to content
Get startedDashboardSupport

Reports

The reports API lets you run SQL queries against a data lake with all of your PostGrid data. You can use this to run ad-hoc SQL queries or save them as reports. You can bulk export data from these reports to fit all of your reporting needs. A saved report can also carry a schedule, in which case PostGrid runs it for you on that cadence, producing an export each time and optionally emailing recipients you nominate. If your organization has sub-organizations, PostGrid can include their data in your data lake so that a single query spans your whole hierarchy — every table then carries an organization column identifying the organization each row belongs to. Contact support@postgrid.com to enable this. Note that the data this API provides may be up to 2 hours behind your current PostGrid environment. Your test and live data lakes are fully segregated, so you’ll need a live API key to run queries against your live data.

You can request access to this to this feature by reaching out to support@postgrid.com

Create Saved Report
POST/print-mail/v1/reports
Run Ad-hoc Query
POST/print-mail/v1/reports/samples
Update Report
POST/print-mail/v1/reports/{id}
List Saved Reports
GET/print-mail/v1/reports
Retrieve Saved Report
GET/print-mail/v1/reports/{id}
Delete Saved Report
DELETE/print-mail/v1/reports/{id}
Preview a Report Schedule
POST/print-mail/v1/reports/schedule_previews
ModelsExpand Collapse
One of the following:
One of the following:
One of the following:

The reports API lets you run SQL queries against a data lake with all of your PostGrid data. You can use this to run ad-hoc SQL queries or save them as reports. You can bulk export data from these reports to fit all of your reporting needs. A saved report can also carry a schedule, in which case PostGrid runs it for you on that cadence, producing an export each time and optionally emailing recipients you nominate. If your organization has sub-organizations, PostGrid can include their data in your data lake so that a single query spans your whole hierarchy — every table then carries an organization column identifying the organization each row belongs to. Contact support@postgrid.com to enable this. Note that the data this API provides may be up to 2 hours behind your current PostGrid environment. Your test and live data lakes are fully segregated, so you’ll need a live API key to run queries against your live data.

You can request access to this to this feature by reaching out to support@postgrid.com

Sample a Saved Report
POST/print-mail/v1/reports/{id}/samples
ModelsExpand Collapse

The reports API lets you run SQL queries against a data lake with all of your PostGrid data. You can use this to run ad-hoc SQL queries or save them as reports. You can bulk export data from these reports to fit all of your reporting needs. A saved report can also carry a schedule, in which case PostGrid runs it for you on that cadence, producing an export each time and optionally emailing recipients you nominate. If your organization has sub-organizations, PostGrid can include their data in your data lake so that a single query spans your whole hierarchy — every table then carries an organization column identifying the organization each row belongs to. Contact support@postgrid.com to enable this. Note that the data this API provides may be up to 2 hours behind your current PostGrid environment. Your test and live data lakes are fully segregated, so you’ll need a live API key to run queries against your live data.

You can request access to this to this feature by reaching out to support@postgrid.com

Create a Report Export
POST/print-mail/v1/reports/{reportID}/exports
List Report Exports
GET/print-mail/v1/reports/{reportID}/exports
Get Report Export
GET/print-mail/v1/reports/{reportID}/exports/{exportID}
Delete Report Export
DELETE/print-mail/v1/reports/{reportID}/exports/{exportID}
ModelsExpand Collapse