---
title: "Fetch Contract List"
method: GET
path: "/contracts/list"
tags: ["CONTRACT"]
deprecated: true
---

# Fetch Contract List

`GET /contracts/list`

> **Deprecated.**

Fetches contract list by conditions. Filters based on the provided query parameters.
If None, them not filtered based on that

## Query parameters

- `sort_order` string
- `sort_column` string
- `contract_owner` string
- `contract_status` string
- `last_violation_timestamp` string, date-time
- `page` integer — Page number
- `size` integer — Page size

## Response `200`

Successful Response

- PageContractListResponse
  - `items` ContractListResponse[], required
    - `name` string, required
    - `contract_id` integer, required
    - `status` string, required
    - `last_violation_timestamp` string, date-time, nullable
    - `level` string, required
    - `filter` string, nullable
    - `tables` object[], required
    - `slack_channel` string, required
    - `no_of_violations` integer, required
    - `description` string, nullable
    - `owners` string[], nullable
    - `alias` string[], nullable
  - `total` integer, nullable, required
  - `page` integer, nullable, required
  - `size` integer, nullable, required
  - `pages` integer, nullable

## Other responses

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