---
title: "Retrieve metadata object schema"
method: GET
path: "/object-metadata/{objectName}"
tags: ["Metadata"]
---

# Retrieve metadata object schema

`GET /object-metadata/{objectName}`

Returns the complete JSON Schema for the specified object.

The response includes standard JSON Schema properties and Zuora-specific
metadata extensions, including field types, constraints, relationships,
custom field indicators, and context-specific capabilities.

For Data Query(DQ) and Object Query(OQ) contexts, object name matching is case-insensitive. The
response uses the canonical object name returned by the upstream source.

For Data Source Export(DSE) or Aggregate Query API(AQuA) contexts, the response `title` and `$id` use the canonical object name returned by Billing.

## Path parameters

- `objectName` string, required

## Query parameters

- `context` 'DQ' | 'OQ' | 'DSE' | 'AQUA', required

## Headers

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

## Response `200`

JSON Schema for the specified object.

## Other responses

- `500` — Internal server error.
- `4XX` — Object not found in the specified context.

---

[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)
