Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

1.6 KB
Raw Blame
"""Modular API Client Components

This package contains specialized API clients that have been extracted from the monolithic
InternalAPIClient to improve maintainability, testability, and performance.

Each client handles a specific domain of operations:
- BaseAPIClient: Core HTTP functionality, session management, retry logic
- ExecutionAPIClient: Workflow execution operations
- FileAPIClient: File execution and file history operations
- ManualReviewAPIClient: Manual review/HITL operations
- WebhookAPIClient: Webhook operations
- OrganizationAPIClient: Organization context management
- ToolAPIClient: Tool execution operations

For backward compatibility, the original InternalAPIClient is still available
as a facade that delegates to these specialized clients.
"""

from .base_client import BaseAPIClient
from .execution_client import ExecutionAPIClient
from .file_client import FileAPIClient

# Manual review client - use null client as default, plugin registry handles dynamic loading
from .manual_review_stub import ManualReviewNullClient as ManualReviewAPIClient
from .organization_client import OrganizationAPIClient
from .prompt_studio_client import PromptStudioAPIClient
from .tool_client import ToolAPIClient
from .usage_client import UsageAPIClient
from .webhook_client import WebhookAPIClient
from .workflow_client import WorkflowAPIClient

__all__ = [
    "BaseAPIClient",
    "ExecutionAPIClient",
    "FileAPIClient",
    "PromptStudioAPIClient",
    "UsageAPIClient",
    "ManualReviewAPIClient",
    "WebhookAPIClient",
    "OrganizationAPIClient",
    "ToolAPIClient",
    "WorkflowAPIClient",
]