---
title: "Get contract metadata"
method: GET
path: "/groups/{groupId}/artifacts/{artifactId}/contract/metadata"
tags: ["Contracts"]
---

# Get contract metadata

`GET /groups/{groupId}/artifacts/{artifactId}/contract/metadata`

Returns the contract metadata for an artifact, projected from its labels.

## Response `200`

The contract metadata for the artifact.

- ContractMetadata — Contract metadata for an artifact.
  - `status` 'DRAFT' | 'STABLE' | 'DEPRECATED' — The contract lifecycle status.
  - `ownerTeam` string — The team that owns the contract.
  - `ownerDomain` string — The domain the contract belongs to.
  - `supportContact` string — Support contact email.
  - `classification` 'PUBLIC' | 'INTERNAL' | 'CONFIDENTIAL' | 'RESTRICTED' — Data classification level.
  - `stage` 'DEV' | 'STAGE' | 'PROD' — Promotion stage.
  - `stableDate` string — ISO-8601 date when contract became stable.
  - `deprecatedDate` string — ISO-8601 date when contract was deprecated.
  - `deprecationReason` string — Reason for deprecation.
  - `compatibilityGroup` string — Compatibility group for schema evolution scoping.

## Other responses

- `404` — Common response for all operations that can return a `404` error.
- `500` — Common response for all operations that can fail with an unexpected server error.

---

[API](https://skmtc.net/apicurio/apis/apicurio-registry-api-v3.md) · [All operations](https://skmtc.net/apicurio/apis/apicurio-registry-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apicurio/apicurio-registry-api-v3/revisions/c39cb56d7dbc/schema)
