---
title: "Partial update sieve"
method: PATCH
path: "/sieves/{id}"
tags: ["Sieves"]
---

# Partial update sieve

`PATCH /sieves/{id}`

## Request

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

Auth: Write — Workspace member with write access or higher.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `name` string
  - `uri` string
  - `content_type` integer
  - `config` string, nullable
  - `schedule` string, nullable
  - `state` 0 | 20 | 40 | 45 | 90 | 100
  - `tags` string, nullable
  - `client_id` string, uuid
  - `session_id` string, uuid, nullable
  - `proxy_id` string, uuid, nullable
  - `macro_id` string, uuid, nullable
  - `rule_id` string, uuid, nullable
  - `datasource_id` string, uuid, nullable
  - `crawler_id` string, uuid, nullable
  - `prefs` object, nullable
  - `ts_view` string, date-time, nullable
  - `ts_mod` string, date-time, nullable
  - `text` string, nullable
  - `ts_data` string, date-time, nullable
  - `err` string, nullable
  - `sieve_data_id` string, uuid, nullable

## Response `200`

Success

- object
  - `id` string, uuid, required
  - `ts_mod` string, date-time, required

## Other responses

- `400`: Validation error
- `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)
