---
title: "Update sieve action"
method: PUT
path: "/sieves/{sieve_id}/actions/{id}"
tags: ["Sieve Actions"]
---

# Update sieve action

`PUT /sieves/{sieve_id}/actions/{id}`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/sieves/{sieve_id}/actions/{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

- `sieve_id` string, uuid, required
- `id` string, uuid, required

## Request body

- object
  - `type` integer
  - `config` string, nullable
  - `state` 0 | 100
  - `ts_mod` string, date-time, 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)
