🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@emergentmethods/flowdapt-ts-sdk

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emergentmethods/flowdapt-ts-sdk

Rest API Client for Flowdapt

latest
Source
npmnpm
Version
1.0.8
Version published
Maintainers
2
Created
Source

Flowdapt TypeScript SDK

This is the official TypeScript SDK for the Flowdapt API. It provides a simple way to programmatically interact with Flowdapt in TypeScript. It is asynchronous and uses fetch as the underlying HTTP client but is written in a way that allows you to override and use your own HTTP client.

Installation

npm install @emergentmethods/flowdapt-ts-sdk

Usage

import { FlowdaptSDK } from '@emergentmethods/flowdapt-ts-sdk'

async function main() {
  const client = new FlowdaptSDK()

  console.log(await client.ping())

  const workflows = await client.workflows.listWorkflows({
    version: 'v1alpha1',
  })
  console.log(workflows)

  const workflow = await client.workflows.getWorkflow({
    identifier: 'my-workflow',
    version: 'v1alpha1',
  })
  console.log(workflow)

  const result = await client.workflows.runWorkflow({
    identifier: 'my-workflow',
    input: { x: 5 },
    wait: true,
    namespace: 'default',
    version: 'v1alpha1',
  })
  console.log(result)
}

Keywords

machine learning

FAQs

Package last updated on 29 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts