Skip to main content
POST
/
projects
/
{project_id}
/
extraction-flows
/
{flow_id}
/
publish
Publish an extraction flow
import requests

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

payload = { "document_ids": ["550e8400-e29b-41d4-a716-446655440000"] }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.text)
{
  "message": "Publish started.",
  "pipeline_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

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
document_ids
string<uuid>[]

Optional list of document UUIDs to scope publishing to. When omitted, publishing covers all documents in the project.

Response

Publish started

message
string
Example:

"Publish started."

pipeline_run_id
string<uuid>