---
title: "List contracts"
method: GET
path: "/api/v1/contracts"
tags: ["Contracts"]
---

# List contracts

`GET /api/v1/contracts`

This endpoint allows you to list contracts in your organization.

This GET is a paginated API that uses the following parameters to request specific details:

- `size`: Supply an integer value between 10 and 1000, inclusive. The default value is 10.

- `page`: Supply an integer value. The default value is 0.

- `datasetId`: Optionally, use this parameter to list only the contracts for a specific dataset.

- `datasetQualifiedName`: Optionally, use this parameter instead of `datasetId` to identify the dataset by its qualified name. Do not supply both `datasetId` and `datasetQualifiedName`.

## Authorization

When filtering by dataset, only users with **View dataset** permission on the specified dataset can list its contracts. When no dataset filter is supplied, all contracts in the organization are returned.

## Authentication

User authentication required: `true`

This endpoint accepts authentication via API keys in the `Basic` authentication header, or a pre-authenticated token in HTTP cookie `token`. Cookie sessions extend automatically on each request.

## Tags

`Contracts`

## Rate limiting

60 requests/60 seconds

## Query parameters

- `datasetId` string
- `datasetQualifiedName` string
- `page` integer
- `size` integer

## Response `200`

Successful response

- PublicApiListContractsResponse
  - `content` ContractContentDTO[], required
    - `contents` string
    - `created` string, date-time
    - `datasetId` string
    - `datasetQualifiedName` string
    - `id` string
    - `lastUpdated` string, date-time
  - `first` boolean, required
  - `last` boolean, required
  - `number` integer, required
  - `size` integer, required
  - `totalElements` integer, required
  - `totalPages` integer, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `429` — Too many requests
- `500` — Internal server error

---

[API](https://skmtc.dev/soda/apis/soda-cloud-api-v4.md) · [All operations](https://skmtc.dev/soda/apis/soda-cloud-api-v4/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/soda/soda-cloud-api-v4/revisions/ce87192b6b72/schema)
