---
title: "Get Contract Configuration For Profile"
method: GET
path: "/registries/{registry_id}/contracts/{contract_id}/configurations"
tags: ["CONTRACT"]
deprecated: true
---

# Get Contract Configuration For Profile

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

> **Deprecated.**

Gets the metric configuration for all the contracts of a source.
:param auth: The authentication header.
:param db_registry: The registry contains the contract.
:param db_contract: The contract to get the configuration for.
:return: A dictionary containing the profile configuration.

## Path parameters

- `registry_id` integer, required
- `contract_id` integer, required

## Response `200`

Successful Response

- ProfileConfigResponse
  - `policies` PolicyConfigResponse[], required
    - `policy_index` integer, required
    - `policy_type` string, required
    - `resources` ResourceConfigResponse[], required
      - `identifier` string, required
      - `filters` string, nullable
      - `options` object, nullable
    - `filters` string, nullable
    - `terms` TermConfigResponse[], required
      - `term_index` integer, required
      - `alias` string, required
      - `metric` string, required
      - `params` object, 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/revisions/6aa0788aa5dc/schema)
