Langflow · JSON Structure

Langflow Flow Structure

Structural shape of a Langflow Flow — the canonical graph of components, vertices, and edges that defines an AI agent or workflow.

Type: object Properties: 10 Required: 2
Artificial IntelligenceAgentsWorkflowsLow-CodeVisual BuilderLangChainRAGMCPOpen-SourceFastAPI

Langflow Flow Structure is a JSON Structure definition published by Langflow, describing 10 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/2025-01/schema meta-schema.

Properties

id name description endpoint_name is_component tags data user_id folder_id updated_at

Meta-schema: https://json-structure.org/draft/2025-01/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2025-01/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/langflow/main/json-structure/langflow-flow-structure.json",
  "title": "Langflow Flow Structure",
  "description": "Structural shape of a Langflow Flow — the canonical graph of components, vertices, and edges that defines an AI agent or workflow.",
  "type": "object",
  "properties": {
    "id": {"type": "string", "description": "Unique flow identifier (UUID)."},
    "name": {"type": "string", "description": "Human-readable flow name."},
    "description": {"type": "string"},
    "endpoint_name": {"type": "string", "description": "Slug used as the URL path component for /api/v1/run/{endpoint_name}."},
    "is_component": {"type": "boolean", "description": "True if the flow is exported as a reusable component."},
    "tags": {"type": "array", "items": {"type": "string"}},
    "data": {
      "type": "object",
      "description": "React Flow graph payload.",
      "properties": {
        "nodes": {
          "type": "array",
          "description": "Vertices in the flow graph; each node has an id, type (component class), position, and data.",
          "items": {
            "type": "object",
            "properties": {
              "id": {"type": "string"},
              "type": {"type": "string", "description": "Component class — e.g. ChatInput, OpenAIModel, AstraDB, AgentExecutor."},
              "position": {
                "type": "object",
                "properties": {"x": {"type": "number"}, "y": {"type": "number"}}
              },
              "data": {"type": "object", "description": "Component configuration: parameter values, template, and tweaks."}
            }
          }
        },
        "edges": {
          "type": "array",
          "description": "Connections between component output ports and component input ports.",
          "items": {
            "type": "object",
            "properties": {
              "source": {"type": "string", "description": "Source node id."},
              "target": {"type": "string", "description": "Target node id."},
              "sourceHandle": {"type": "string", "description": "Source port name."},
              "targetHandle": {"type": "string", "description": "Target port name."}
            }
          }
        },
        "viewport": {
          "type": "object",
          "properties": {"x": {"type": "number"}, "y": {"type": "number"}, "zoom": {"type": "number"}}
        }
      }
    },
    "user_id": {"type": "string"},
    "folder_id": {"type": "string", "description": "Parent project id."},
    "updated_at": {"type": "string", "format": "date-time"}
  },
  "required": ["name", "data"]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/langflow-flow-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.