
# List Contracts

```
GET /api/v1/conformance-contracts
```

Returns your organization's conformance contracts, sorted by id.

CLI: [`fob-mdm contracts list`](/docs/cli/contracts#contracts-list)

## Query Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `integration` | number |  | Only this integration's contracts |
| `object` | number |  | Only contracts on this object's fields |
| `page` | number | `1` | Page number |
| `limit` | number | `100` | Items per page (max 500) |
| `fields` | string | `all` | Comma-separated fields to return |

## Example Request

```bash
curl -X GET "https://mdm.finopsbricks.com/api/v1/conformance-contracts?integration=5" \
  -H "api-key: $MDM_API_KEY" \
  -H "api-secret: $MDM_API_SECRET"
```

## Response

`200 OK`

```json
{
  "data": [
    {
      "id": 3,
      "integration": 5,
      "object": 1,
      "field": 12,
      "field_key": "bank_ifsc",
      "must_match": true,
      "enforcement_mode": "ticket",
      "created_at": "2026-11-26T07:20:08.000Z",
      "updated_at": "2026-11-26T07:20:08.000Z"
    }
  ],
  "page_context": {
    "count": 1,
    "page": 1,
    "per_page": 100,
    "total": 1,
    "has_more": false
  }
}
```

## Errors

| Status | Code | When |
|---|---|---|
| 401 | `UNAUTHORIZED` | Missing, wrong or expired API credentials |
| 403 | `FORBIDDEN` | The key lacks `conformance:read` permission |

See [Errors](/docs/api/errors) for the envelope.
