Overview
The Builder API provides endpoints for creating, managing, and deploying visual workflows. All endpoints (except health and static assets) require JWT authentication.Base URL
Authentication
All API endpoints (except/health and static assets) require JWT authentication:
Health Endpoints
GET /api/builder/health
Health check endpoint (no authentication required). Response:GET /
Serves the React SPA frontend (no authentication required). Response: HTML content with React application.Workflow Endpoints
POST /api/builder/workflows
Create a new workflow. Request:GET /api/builder/workflows
List all workflows for the authenticated user. Request:GET /api/builder/workflows/
Get details for a specific workflow. Path Parameters: Request:PUT /api/builder/workflows/
Update an existing workflow. Request:DELETE /api/builder/workflows/
Delete a workflow. Request:Validation Endpoints
POST /api/builder/validate
Validate a workflow definition without saving. Request:Code Generation Endpoints
POST /api/builder/generate
Generate LangGraph Python code from a workflow. Request:MCP Integration Endpoints
GET /api/builder/tools
List available MCP tools for workflow integration. Request:GET /api/builder/resources
List available MCP resources. Request:Version History Endpoints
GET /api/builder/workflows//versions
List version history for a workflow. Request:GET /api/builder/workflows//versions/
Get a specific version of a workflow. Request:POST /api/builder/workflows//rollback
Rollback to a previous version. Request:Error Responses
All endpoints may return the following errors:400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
422 Unprocessable Entity
Node Type Reference
Start Node
Agent Node
Router Node
Tool Node
Human Node
End Node
SDK Examples
Python
JavaScript/TypeScript
Related Documentation
Builder Guide
Learn how to use the builder
Authentication API
Authentication endpoints
LangGraph Concepts
Understand LangGraph fundamentals
MCP Tools
Configure MCP tools
Full API access! Use these endpoints to programmatically manage workflows and integrate with your development pipeline.