---
title: "Retrieve the list of export jobs for a meter"
method: GET
path: "/meters/{meterId}/auditTrail/export"
tags: ["Audit Trail"]
---

# Retrieve the list of export jobs for a meter

`GET /meters/{meterId}/auditTrail/export`

Retrieves the list of previously initiated export jobs for a specific meter in Zuora Mediation.
You can filter the results by export type, session IDs, or request ID by using the `exportType`, 
`sessionIds`, and `requestId` query parameters. Use the `requestId` returned when you create an export 
job to retrieve a specific job. If `requestId` is omitted, the API returns the list of export jobs. 
Use the `status` and `fileList` fields to determine whether a job is complete and which files to download. 
Then use the "Retrieve the presigned URL for an export job" operation with each `fileKey` in `fileList` 
to obtain the download URLs.

## Path parameters

- `meterId` integer, required

## Query parameters

- `exportType` 'SAMPLE' | 'ERROR'
- `sessionIds` string[]
- `requestId` string
- `pageSize` integer
- `page` integer

## Headers

- `Content-Type` string, required
- `Accept-Encoding` string
- `Content-Encoding` string
- `Zuora-Entity-Ids` string
- `Zuora-Org-Ids` string
- `Zuora-Track-Id` string

## Response `200`

OK

- GetAuditTrailExportResponse
  - `success` boolean — Indicates whether the request was successful.
  - `data` object — Container for pagination metadata and the list of audit trail export jobs for the specified meter.
    - `page` integer — Current page number.
    - `pageSize` integer — Number of jobs returned on this page.
    - `jobs` object[] — List of export jobs for the specified meter.
  - `previousPage` string, nullable — Cursor for the previous page of export jobs, if available. Used for backward pagination.
  - `nextPage` string, nullable — Cursor for the next page of export jobs, if available. Used for forward pagination.
  - `error` Error
    - `code` string — Machine-readable error code identifying the failure type.
    - `message` string — Human-readable description of the error that provides more context about what went wrong.
    - `detail` object — Additional structured details about the error, such as validation issues or parameter-specific information.

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.dev/zuora/apis/api-reference.md) · [All operations](https://skmtc.dev/zuora/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/zuora/api-reference/revisions/d11e237f3e54/schema)
