Skip to main content
PATCH
/
projects
/
{project_id}
/
extraction-flows
/
{flow_id}
Update an extraction flow
import requests

url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/extraction-flows/{flow_id}/"

payload = { "publish_mode": "manual_publish" }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.patch(url, json=payload, headers=headers)

print(response.text)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "publish_mode": "auto_publish",
  "dag": {},
  "tpuf_namespaces": {},
  "last_pushed_to_tpuf": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.clarifeye.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer

Path Parameters

project_id
string<uuid>
required

UUID of the project

flow_id
string<uuid>
required

UUID of the extraction flow

Body

application/json
name
string

Human-readable name of the flow

publish_mode
enum<string>

Controls whether extracted data is pushed to downstream indexes automatically after each run (auto_publish) or only on an explicit publish call (manual_publish).

Available options:
auto_publish,
manual_publish
dag
object

DAG definition (name + nodes) for the extraction flow.

Response

Flow updated successfully

id
string<uuid>
name
string
publish_mode
enum<string>
  • auto_publish — runs automatically push extracted data to downstream indexes.
  • manual_publish — publishing is triggered explicitly via the publish action.
Available options:
auto_publish,
manual_publish
dag
object

DAG definition (name + nodes) describing the extractor pipeline.

tpuf_namespaces
object

Per-namespace-type TurboPuffer namespace mapping populated on publish.

last_pushed_to_tpuf
string<date-time> | null
created_at
string<date-time>
updated_at
string<date-time>