---
title: "Get Contracts By Registry"
method: GET
path: "/registries/{registry_id}/contracts/"
tags: ["CONTRACT"]
deprecated: true
---

# Get Contracts By Registry

`GET /registries/{registry_id}/contracts/`

> **Deprecated.**

Fetches all the contracts for a tenant in a registry.
param db: The database session for accessing the database and the tenant schema.
param registry: The registry the contract is being fetched from
param auth: The authorization token for the request.
return: A dictionary containing all the contracts

## Path parameters

- `registry_id` integer, required

## Response `200`

Successful Response

- ContractFetchMultipleResponse
  - `contracts` AppSchemasContractsContractFetchResponse[], required
    - `id` integer, required
    - `name` string, required
    - `description` string, nullable
    - `data_store_type` string, required
    - `data_store_name` string, required
    - `registry_name` string, required
    - `status` string, required
    - `fqn_path` string, required
    - `created_on` string, required
    - `updated_on` string, required
    - `created_by` string, required
    - `last_modified_by` string, required
    - `version` string, required

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
