---
title: "Export details of a specific meter"
method: GET
path: "/meters/export/{meterId}"
tags: ["Meters"]
---

# Export details of a specific meter

`GET /meters/export/{meterId}`

## Request

- Base URL: `https://rest.test.zuora.com`
- URL: `https://rest.test.zuora.com/meters/export/{meterId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/zuora/apis/zuora/docs/meters/export/:meterId/get.ts> (a function with typed inputs; its response is checked against the schema)

The Export Meter operation exports the full definition of a specific meter in Zuora Mediation, including metadata, all versions, event schemas, and operator configurations (source, processor, sink). It's useful for reviewing, backing up, or replicating meter setups across environments.

## Path parameters

- `meterId` string, required

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

Successful response with meter export data

- ExportMeterResponse
  - `name` string: Meter name
  - `description` string: Meter description
  - `type` string: Meter type (e.g., CUSTOM, STANDARD)
  - `typeDefinition` MeterTypeDefinition
    - `sourceType` string: Source type, e.g., ZUORA_BULK_API or LOCAL_FILE
    - `schemaId` string: Event definition ID
    - `fieldMappings` UsageFieldMapping[]: Field mappings from event definition to Zuora usage
      - `name` string: Field name
      - `field` string: Mapped field name
      - `required` boolean: Indicates if the field is required
      - `dateFormat` string: Date format if applicable
    - `configs` object: Configurations for accumulated meters (e.g., SUM)
  - `latestVersion` string: The latest version of the meter
  - `versions` MeterVersionExportResult[]: List of all versions for the meter
    - `version` string: The initial version of meter, default is 0.0.1
    - `versionDetail` string: Detail description of this version
    - `metadata` string: Version metadata, UI stores meter position data into this field
    - `tasks` MeterTask[]: List of tasks for this version
      - `id` string: Operator ID
      - `name` string: Operator name
      - `nodeType` string: Operator node type (e.g., SOURCE, PROCESSOR, SINK)
      - `operatorType` string: Operator type (e.g., KAFKA, S3, LOCAL_FILE)
      - `metadata` object: Operator metadata
      - `predecessors` TransitionNode[]: Predecessor operators
        - `id` string: Operator ID
      - `extraConfig` object: Extra configurations for the operator
      - `setting` object: Runtime settings for the operator
  - `schemas` EventSchemaExportResult[]: List of event schemas used by this meter
    - `name` string: Event definition name
    - `type` integer: Schema type (1 = simple, 2 = advanced)
    - `schema` object: JSON schema
      - `description` string: Schema description
      - `type` 'object': Schema base type
      - `title` string: Schema title
      - `required` string[]: Required fields in the event
      - `properties` object: Field definitions in the schema

## Other responses

- `400`: Bad Request
- `404`: Meter not found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/zuora/apis/zuora.md) - [All operations](https://skmtc.dev/zuora/apis/zuora/llms.txt) - [OpenAPI document](https://skmtc.dev/zuora/apis/zuora/revisions/3740c9728ad5?raw)
