---
title: "GET /api/database/field-rules/{table_id}/"
method: GET
path: "/api/database/field-rules/{table_id}/"
tags: ["Field rules"]
---

# GET /api/database/field-rules/{table_id}/

`GET /api/database/field-rules/{table_id}/`

Get a list of field rules for the table

## Path parameters

- `table_id` integer, required

## Response `200`

- FieldRulesResponseFieldRule[]
  - `id` integer, required
  - `table_id` integer, required — The table that this field rule applies to.
  - `is_valid` boolean, required — Tells if the rule is valid in the context of a table. This field is read-only.
  - `error_text` string, nullable, required — Stores information about validation error, if it's present. This field is read-only.
  - `is_active` boolean, required — Whether the date dependency is active or not. If set to false, all other values in the payload will be ignored.
  - `type` 'date_dependency', required — * `date_dependency` - date_dependency
  - `start_date_field_id` integer — Start date field id
  - `end_date_field_id` integer — End date field id
  - `duration_field_id` integer — Duration field id
  - `dependency_linkrow_field_id` integer, nullable — Linkrow field id

## Other responses

- `400`
- `404`

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/revisions/0c490e5b0c7f/schema)
