Skip to main content

Installation

Import

Requirements

  • Python version: 3.10 or higher
  • Dependencies: Automatically managed by pip

Self-hosted Engine and contract waits

These examples target Python SDK 0.3 and later.
The SDK derives both WebSocket and GraphQL paths from engine_url, retaining reverse-proxy prefixes. Wait timeouts use seconds. wait_for requests Engine permission; use wait_for_notification for the older notification-only behavior. Cancel a pending wait by cancelling its task. await grant.cancel() closes a granted invocation without restoring any consumed fresh prerequisites. Install threadify-sdk[otel] for the OTEL exporter. Recorded span and span-event timestamps are preserved even when export happens later.

Next Steps

Connecting

Connect to Threadify Engine with your API key

Tracking Workflows

Start tracking your first workflow