Generate a billing-records CSV report for an NGC organization
Generate a billing-records CSV report for an NGC organization
Generate a billing-records CSV report for a given `query`. The CSV columns are chosen via `columns` in the payload. Any query parameter accepted by the `list` endpoint may be used in the `query` of the payload. Returns a time-limited `report_link` to download the report.
**Required role:** `air_org_admin`
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
columns
Columns to include in the CSV, in order. At least one is required.
query
Filter, ordering, and search parameters keyed like the list endpoint. The query object from the billing summary response can be posted here as-is.
Response
report_link
Presigned, time-limited URL to download the generated CSV.
record_count
Number of billing records written to the CSV.
filename
Suggested filename for the downloaded CSV.
columns
Resolved column header labels, in order.
generated_at
When the export was generated.
expires_at
When report_link stops working.
Errors
400
Bad Request Error
403
Forbidden Error
500
Internal Server Error