---
title: "Get an ODCS contract"
method: GET
path: "/groups/{groupId}/contracts/{contractId}"
tags: ["Contracts"]
---

# Get an ODCS contract

`GET /groups/{groupId}/contracts/{contractId}`

Returns the ODCS contract YAML for the specified contract.

## Response `200`

The ODCS contract YAML.

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