Skip to content

Retrieve report metadata by ID or name

Request

Returns a report's identity, whether it is a standard or custom report, every field it can output, and its layouts with the default layout flagged.

Purpose: Resolve a report from a name you already know (for example from configuration) and find its default layout in a single call.

When to use: When your configuration stores report names rather than IDs, or when you need the default layout of a report in a single call.

Notes:

  • reportIdentifier is treated as a report ID when it is numeric; otherwise it is matched to the report name exactly, ignoring case and surrounding spaces. A report whose name is only digits can therefore be found only by its ID.
  • metadata.parameters and metadata.filters are reserved and currently empty. Use the layout operations to read filters.

Request definition

ParameterInTypeRequiredDefaultDescription
reportIdentifierpathstringYesReport ID (numeric) or exact report name. URL-encode spaces as %20.
Zuora-Track-IdheaderstringNoOptional correlation identifier (up to 64 characters) that you choose. The Zuora One gateway records it; quote it to Zuora Support when you report a problem.
AuthorizationheaderstringYesBearer <access_token> (Zuora OneID OAuth).

Request body: none.

Response definition

HTTP statusContent typeResponse schema
200application/jsonReportMetadata
400application/jsonSpringError
401application/jsonGatewayError
403application/jsonGatewayError
404noneNo body
429application/jsonGatewayError
500application/jsonServiceError

ReportMetadata: Report metadata: identity, type, available columns and layouts.

FieldTypeRequiredDescription
reportIdintegerNoIdentifier of the report.
reportNamestringNoName of the report.
reportTypestringNoSTANDARD for a report delivered by Zuora; CUSTOM for a report your organization created. Allowed: STANDARD, CUSTOM.
metadataReportMetadataInfoNoDescription, columns and reserved arrays.
metadata.descriptionstringNoBusiness description of the report.
metadata.parametersarray of objectNoReserved for future use. Currently always an empty array.
metadata.filtersarray of objectNoReserved for future use. Currently always an empty array. Read filters from the layout operations instead.
metadata.columnsarray of ReportMetadataColumnNoAll fields the report can output.
metadata.columns[].idintegerNoIdentifier of the report field.
metadata.columns[].fieldNamestringNoTechnical field name as stored in the report definition (UPPER_SNAKE_CASE).
metadata.columns[].aliasstringNoColumn alias used in the report output.
metadata.columns[].fieldTypestringNoData type of the field.
metadata.columns[].labelstringNoDisplay label of the field.
layoutsarray of ReportMetadataLayoutNoLayouts available for the report.
layouts[].layoutIdintegerNoIdentifier of the layout.
layouts[].layoutNamestringNoName of the layout.
layouts[].isDefaultbooleanNotrue when this is the report's default layout.

Error response schemas (GatewayError, ServiceError, SpringError, SimpleError, MissingFiltersError, RunStatusConflict, RiaError, SignedUrlError) are defined once under Error response schemas in the API overview and in components/schemas.

Response codes: 200, 400, 401, 403, 404, 429, 500. Each response with a body includes worked examples; responses without a body say so.

Security
OneIdOAuth
Path
reportIdentifierstringrequired

Report ID (numeric) or exact report name. URL-encode spaces as %20.

Example:Revenue Waterfall Report
Headers
Zuora-Track-Idstring

Optional correlation identifier (up to 64 characters) that you choose. The Zuora One gateway records it; quote it to Zuora Support when you report a problem.

Example:close-run-2026-09-001
cURL
curl -i -X GET \
  'https://one.zuora.com/revenue/services/v1/reports/Revenue Waterfall Report/metadata' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Zuora-Track-Id: close-run-2026-09-001'

Responses

Success. The report metadata.

Bodyapplication/json
reportIdinteger, (int32)

Identifier of the report.

Example:10021
reportNamestring

Name of the report.

Example:"Revenue Waterfall Report"
reportTypestring

STANDARD for a report delivered by Zuora; CUSTOM for a report your organization created.

Enum:"STANDARD""CUSTOM"
Example:"STANDARD"
metadataobject(ReportMetadataInfo)

Description, columns and reserved arrays.

layoutsArray of objects(ReportMetadataLayout)

Layouts available for the report.

Response
{ "reportId": 10021, "reportName": "Revenue Waterfall Report", "reportType": "STANDARD", "metadata": { "description": "Recognized and scheduled revenue by period for each revenue contract line", "parameters": [], "filters": [], "columns": [ … ] }, "layouts": [ { … }, { … } ] }