---
title: "List prefetch audit records"
method: GET
path: "/meters/{meterId}/prefetchAudit"
tags: ["Audit Trail"]
---

# List prefetch audit records

`GET /meters/{meterId}/prefetchAudit`

List audit records for prefetch operations by processor ID with filtering and cursor-based pagination.

## Path parameters

- `meterId` integer, required

## Query parameters

- `operatorId` string, required
- `startDate` string
- `endDate` string
- `triggerType` 'MANUAL' | 'AUTOMATIC'
- `status` string[]
- `pageSize` integer
- `cursor` string

## 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

- GetPrefetchAuditResponse
  - `success` boolean — Indicates whether the request was successful.
  - `data` PrefetchAuditRecord[] — List of prefetch audit records for the specified processor.
    - `jobId` integer — Prefetch job ID.
    - `operatorId` string — Processor (operator) ID.
    - `definitionId` integer — Prefetch definition ID.
    - `duration` integer — Job duration in milliseconds.
    - `completedTime` string, date-time — Timestamp when the job completed.
    - `startTime` string, date-time — Timestamp when the job started.
    - `dataFreshness` string, date-time, nullable — Data freshness timestamp, if available.
    - `status` 'RUNNING' | 'CANCELED' | 'FINISHED' | 'FAILED' — Job status.
    - `triggerType` 'MANUAL' | 'AUTOMATIC' — Trigger type for the job.
    - `error` string, nullable — Error message if the job failed; otherwise null.
  - `previousPage` string — Cursor or URL for the previous page of audit records, if available. Used for backward pagination.
  - `nextPage` string — Cursor or URL for the next page of audit records, 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)
