Documentation Index
Fetch the complete documentation index at: https://docs.notte.cc/llms.txt
Use this file to discover all available pages before exploring further.
Workflows are saved in the notte console for easy access and versioning for users
Methods
delete
Delete the workflow from the notte console
download
download(workflow_path: str | None = None, version: str | None = None, decryption_key: str | None = None, path: str | None = None) -> str
Download the function code from the notte console as a python file
Returns:
str
fork
fork() -> 'RemoteWorkflow'
Fork a shared workflow into your own private workflow
Returns:
RemoteWorkflow
get_curl
get_curl(variables: Any) -> str
Convert the workflow/run to a curl request
Returns:
str
get_run
get_run(run_id: str) -> GetFunctionRunResponse
Get a function run by its ID
Returns:
GetFunctionRunResponse
get_url
get_url(version: str | None = None, decryption_key: str | None = None) -> str
Returns:
str
replay
replay(wait: bool = True, timeout: float = 120.0, poll_interval: float = 2.0) -> ReplayResponse
Get presigned URLs for the workflow run replay.
Parameters:
wait: If True (default), poll until the replay is ready.
timeout: Maximum seconds to wait for the replay to become available. Defaults to 120.0.
poll_interval: Seconds between polling attempts. Defaults to 2.0.
Returns:
ReplayResponse: Contains presigned URLs for MP4 download and HLS playlist.
run
run(version: str | None = None, local: bool = False, restricted: bool = True, timeout: int | None = None, stream: bool = True, raise_on_failure: bool = True, function_run_id: str | None = None, log_callback: Callable[[str], None] | None = None, variables: Any) -> FunctionRunResponse
Run the function code using the specified version and variables
Returns:
FunctionRunResponse
stop_run
stop_run(run_id: str) -> UpdateFunctionRunResponse
Manually stop a function run by its ID
Returns:
UpdateFunctionRunResponse
update
update(path: str | None = None, version: str | None = None, workflow_path: str | None = None, restricted: bool = True) -> None
Update the workflow with a a new code version
Module
notte_sdk.endpoints.workflows