Get started
Beway LabsBeway Labs

AI workflows that deliver results.

Product

  • Use Cases
  • Pricing
  • Blog

Company

  • About
  • Careers
  • Contact

Legal

  • Privacy
  • Terms
  • Security

Resources

  • Documentation
  • Help Center
  • API Reference
© 2025 Beway Labs. All rights reserved.
TwitterLinkedInGitHub
API Reference

API Reference

Integrate Beway Labs into your existing systems with our comprehensive API.

Quick Start

1. Get Your API Key

Generate an API key from your dashboard settings.

2. Install the SDK

Choose your preferred language and install the SDK.

npm install @bewaylabs/sdk
pip install bewaylabs

3. Make Your First Call

Start deploying workflows and agents programmatically.

Example Code

Node.js
import { BewayLabs } from '@bewaylabs/sdk';

const client = new BewayLabs({
  apiKey: process.env.BEWAY_API_KEY
});

const workflow = await client.workflows.create({
  name: "Sales Follow-up",
  trigger: "new_lead",
  actions: ["classify", "respond"]
});
Python
from bewaylabs import BewayLabs

client = BewayLabs(api_key="your_api_key")

workflow = client.workflows.create(
    name="Sales Follow-up",
    trigger="new_lead",
    actions=["classify", "respond"]
)

API Endpoints

POST/v1/workflows

Create a workflow

Deploy a new AI workflow to your account

GET/v1/workflows/{id}

Get a workflow

Retrieve workflow details and status

POST/v1/agents

Deploy an agent

Launch a new autonomous AI agent

GET/v1/agents/{id}/metrics

Agent metrics

Monitor agent performance and activity

Ready to integrate?

Our team can help you set up the perfect integration for your needs.

Get StartedContact Sales