Skip to main content
POST
/
workflows
/
{workflow_id}
/
fork
python
from notte_sdk import NotteClient

notte = NotteClient()
workflow = notte.Workflow("<public_workflow_id>")
# creates a private copy of the workflow (only works for public workflows)
workflow = workflow.fork()
{
  "workflow_id": "<string>",
  "variables": [
    {
      "name": "<string>",
      "type": "<string>",
      "default": "<string>"
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "latest_version": "<string>",
  "versions": [
    "<string>"
  ],
  "status": "<string>",
  "name": "<string>",
  "description": "<string>",
  "shared": false,
  "reference_workflow_id": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-notte-request-origin
string | null
x-notte-sdk-version
string | null

Path Parameters

workflow_id
string
required

Response

Successful Response

workflow_id
string
required

The ID of the workflow

created_at
string<date-time>
required

The creation time of the workflow

updated_at
string<date-time>
required

The last update time of the workflow

latest_version
string
required

The version of the workflow

versions
string[]
required

The versions of the workflow

status
string
required

The status of the workflow

variables
ParameterInfo · object[] | null

The variables to run the workflow with

name
string | null

The name of the workflow

description
string | null

The description of the workflow

shared
boolean
default:false

Whether the workflow is public and can beshared with other users

reference_workflow_id
string | null

The ID of the reference workflow (i.e wether the workflow was forked from another workflow or not)