---
title: "Get plan constraints"
method: GET
path: "/constraints"
tags: ["Users"]
---

# Get plan constraints

`GET /constraints`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/constraints`
- Auth: one of:
  - API key in cookie `connect.sid`
  - HTTP bearer
  - API key in query parameter `api_key`

Auth: Auth — Any authenticated user.

## Response `200`

Success

- object
  - `id` string, uuid, required
  - `type` string
  - `owner_id` string, uuid, required
  - `plan_id` string, uuid, required
  - `interval` integer, required
  - `item` integer
  - `run` integer, required
  - `action` integer
  - `email` integer
  - `sms` integer
  - `push` integer
  - `device` integer
  - `sync` string
  - `flexi` boolean
  - `history` integer
  - `sieve` integer
  - `workers` integer
  - `session` integer
  - `macro` integer
  - `price` integer
  - `org` boolean
  - `action_macro` integer
  - `crawl_pages` integer
  - `tokens` integer
  - `ts_mod` string, date-time
  - `ts` string, date-time

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/distill/apis/distill-io-api-v2.md) - [All operations](https://skmtc.dev/distill/apis/distill-io-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/distill/apis/distill-io-api-v2/revisions/c55722ccfe14?raw)
