---
title: "Create sieve data"
method: POST
path: "/sieves/{sieve_id}/data"
tags: ["Sieve Data"]
---

# Create sieve data

`POST /sieves/{sieve_id}/data`

## Request

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

## Request body

- object
  - `id` string, uuid
  - `data_type` integer, required
  - `data` string, nullable
  - `text` string, required
  - `client_id` string, uuid, nullable
  - `meta` object, nullable
  - `triggered` boolean
  - `text_hash` string, nullable
  - `snapshot` string, nullable
  - `ts` string, date-time
  - `workspace_id` string, uuid

## Response `200`

Success

- object
  - `id` string, uuid, required
  - `sieve_id` string, uuid, required
  - `data_type` integer
  - `data` string, nullable
  - `text` string, nullable
  - `client_id` string, uuid, nullable
  - `meta` object, nullable
  - `triggered` boolean
  - `text_hash` string, nullable
  - `ts_mod` string, date-time, required
  - `ts` string, date-time, required
  - `summary` object, nullable
  - `snapshot` string, nullable
  - `workspace_id` string, uuid

## 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)
