Beam AI · Schema

UpdateAgentGraphDto

CompanyArtificial IntelligenceAutomationEnterprisePlatform

Properties

Name Type Description
agentName string New name for the agent. Leave undefined to keep the current name
agentDescription string New description for the agent. Leave undefined to keep the current description
settings object Updated configuration settings. Leave undefined to keep current settings
nodes array The complete updated list of nodes for the agent graph. This replaces all existing nodes - provide the full node structure including any unchanged nodes
View JSON Schema on GitHub

JSON Schema

beam-ai-update-agent-graph-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/beam-ai/json-schema/beam-ai-update-agent-graph-dto-schema.json",
  "title": "UpdateAgentGraphDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/beam-ai-complete-agent-graph-api-openapi.yml#/components/schemas/UpdateAgentGraphDto",
  "type": "object",
  "properties": {
    "agentName": {
      "type": "string",
      "description": "New name for the agent. Leave undefined to keep the current name"
    },
    "agentDescription": {
      "type": "string",
      "description": "New description for the agent. Leave undefined to keep the current description"
    },
    "settings": {
      "description": "Updated configuration settings. Leave undefined to keep current settings",
      "allOf": [
        {
          "$ref": "#/$defs/AgentSettingsDto"
        }
      ]
    },
    "nodes": {
      "description": "The complete updated list of nodes for the agent graph. This replaces all existing nodes - provide the full node structure including any unchanged nodes",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CompleteAgentGraphNodeDto"
      }
    }
  },
  "required": [
    "nodes"
  ],
  "$defs": {
    "AgentGraphNodeToolConfigurationInputParamDto": {
      "type": "object",
      "properties": {
        "fillType": {
          "type": "string",
          "description": "Determines how the parameter value is populated. Options: \"ai_fill\" (AI determines value), \"static\" (fixed value), \"linked\" (from previous node output), \"user_input\" (user provides value)"
        },
        "position": {
          "type": "number",
          "description": "The display order position of this parameter (0-indexed). Lower numbers appear first in the UI"
        },
        "question": {
          "type": [
            "string",
            "null"
          ],
          "description": "When fillType is \"user_input\", this question is displayed to prompt the user for input"
        },
        "linkedOutputParamNodeId": {
          "type": [
            "string",
            "null"
          ],
          "description": "When fillType is \"linked\", this is the node ID that contains the output parameter to link to"
        },
        "linkedOutputParamName": {
          "type": [
            "string",
            "null"
          ],
          "description": "When fillType is \"linked\", this is the name of the output parameter from the referenced node to link to"
        },
        "staticValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "When fillType is \"static\", this is the fixed value that will always be used for this parameter"
        },
        "required": {
          "type": "boolean",
          "description": "Whether this parameter must be provided for the tool to execute. Required parameters must have a value"
        },
        "dataType": {
          "type": "string",
          "description": "The expected data type for this parameter. Common types: string, number, boolean, object, array"
        },
        "outputExample": {
          "type": [
            "string",
            "null"
          ],
          "description": "An example value showing the expected format, helpful for AI or users when providing input"
        },
        "reloadProps": {
          "type": "boolean",
          "description": "When true, changing this parameter value triggers a reload of dependent parameters or options"
        },
        "remoteOptions": {
          "type": "boolean",
          "description": "When true, the available options for this parameter are fetched from an external API rather than being static"
        },
        "options": {
          "description": "For dropdown/select parameters, the list of available options to choose from",
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ParamOptionDto"
          }
        },
        "paramName": {
          "type": "string",
          "description": "The technical name/key of this parameter, used in API calls and data mapping"
        },
        "paramDescription": {
          "type": "string",
          "description": "Human-readable description explaining what this parameter is for and what value is expected"
        },
        "paramTip": {
          "type": [
            "string",
            "null"
          ],
          "description": "Additional helpful tip or hint displayed in the UI to guide users when filling this parameter"
        },
        "linkedOutputParamRules": {
          "description": "Array of linked output param rules for conditional input resolution",
          "type": "array",
          "items": {
            "$ref": "#/$defs/LinkedOutputParamRuleDto"
          }
        },
        "linkedParamRulePrompt": {
          "type": "string",
          "description": "Prompt for the linked param rule (used with LLM-based conditions)"
        },
        "linkedParamConfigurations": {
          "description": "Configuration for linked param condition (conditionType, llmModel)",
          "allOf": [
            {
              "$ref": "#/$defs/ParamRuleConditionConfig"
            }
          ]
        }
      },
      "required": [
        "fillType",
        "position",
        "required",
        "dataType",
        "reloadProps",
        "remoteOptions",
        "paramName",
        "paramDescription"
      ]
    },
    "AgentGraphNodeToolConfigurationOutputParamDto": {
      "type": "object",
      "properties": {
        "isArray": {
          "type": "boolean",
          "description": "Whether this output parameter returns an array of values rather than a single value"
        },
        "paramName": {
          "type": "string",
          "description": "The technical name/key of this output parameter, used when accessing the value in subsequent nodes"
        },
        "position": {
          "type": "number",
          "description": "The display order position of this parameter (0-indexed). Lower numbers appear first in the UI"
        },
        "paramDescription": {
          "type": "string",
          "description": "Human-readable description explaining what this output contains and how it can be used"
        },
        "parentId": {
          "type": [
            "string",
            "null"
          ],
          "description": "For nested/hierarchical outputs, the UUID of the parent parameter. Null for top-level parameters"
        },
        "paramPath": {
          "type": [
            "string",
            "null"
          ],
          "description": "JSON path showing where this value is located in a nested response structure"
        },
        "outputExample": {
          "type": "string",
          "description": "Example value demonstrating the expected output format"
        },
        "dataType": {
          "type": "string",
          "description": "The data type of this output. Common types: string, number, boolean, object, array"
        },
        "typeOptions": {
          "type": [
            "object",
            "null"
          ],
          "description": "Additional type configuration (e.g., enum values, format specifications, nested structure definitions)"
        }
      },
      "required": [
        "isArray",
        "paramName",
        "position",
        "paramDescription",
        "dataType"
      ]
    },
    "AgentSettingsDto": {
      "type": "object",
      "properties": {
        "prompts": {
          "description": "List of suggested prompts shown to users as conversation starters. These help users understand what the agent can do",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "AgentTriggerConfigurationFiltersConditions": {
      "type": "object",
      "properties": {
        "condition": {
          "enum": [
            "is",
            "is_not",
            "contain",
            "does_not_contain",
            "any",
            "all",
            "less_than",
            "GREATER_than",
            "count",
            "exist",
            "does_not_exist"
          ],
          "type": "string"
        },
        "operator": {
          "enum": [
            "AND",
            "OR"
          ],
          "type": "string"
        },
        "property": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "required": [
        "condition",
        "operator",
        "property",
        "value"
      ]
    },
    "AgentTriggerConfigurationFiltersGroup": {
      "type": "object",
      "properties": {
        "operator": {
          "enum": [
            "AND",
            "OR"
          ],
          "type": "string"
        },
        "conditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AgentTriggerConfigurationFiltersConditions"
          }
        }
      },
      "required": [
        "operator",
        "conditions"
      ]
    },
    "CompleteAgentGraphEdgeDto": {
      "type": "object",
      "properties": {
        "sourceAgentGraphNodeId": {
          "type": "string",
          "description": "The UUID source node where this edge originates from (the \"from\" node)"
        },
        "targetAgentGraphNodeId": {
          "type": "string",
          "description": "The UUID of the target node where this edge leads to (the \"to\" node)"
        },
        "condition": {
          "type": "string",
          "description": "A condition expression that must evaluate to true for the agent to follow this edge. Empty string means unconditional transition"
        },
        "isAttachmentDataPulledIn": {
          "type": "boolean",
          "description": "When true, any file attachments from the conversation are passed along this edge to the next node"
        },
        "conditionGroups": {
          "description": "Condition groups for rule-based condition evaluation",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConditionGroupDto"
          }
        }
      },
      "required": [
        "sourceAgentGraphNodeId",
        "targetAgentGraphNodeId",
        "condition",
        "isAttachmentDataPulledIn"
      ]
    },
    "CompleteAgentGraphNodeDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier (UUID). This ID is used to reference the node in edge connections (sourceAgentGraphNodeId/targetAgentGraphNodeId)"
        },
        "objective": {
          "type": "string",
          "description": "The goal or purpose of this node - what the AI should accomplish when it reaches this step. This is the main instruction for the node"
        },
        "evaluationCriteria": {
          "description": "List of criteria used to evaluate if the node executed successfully. Each criterion is checked after node execution",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "isEntryNode": {
          "type": "boolean",
          "description": "When true, this is the starting node of the graph. The agent begins execution here. Each graph must have exactly one entry node"
        },
        "isExitNode": {
          "type": "boolean",
          "description": "When true, reaching this node ends the graph execution. A graph can have multiple exit nodes for different outcomes"
        },
        "nodeType": {
          "enum": [
            "executionNode",
            "conditionNode",
            "waitingNode",
            "entryNode",
            "exitNode",
            "loopingNode"
          ],
          "type": "string",
          "description": "The type of node (executionNode, conditionNode, entryNode, exitNode)"
        },
        "nodeConfigurations": {
          "description": "Configuration options for condition nodes (conditionType, llmModel)",
          "allOf": [
            {
              "$ref": "#/$defs/NodeConfigurationsDto"
            }
          ]
        },
        "xCoordinate": {
          "type": "number",
          "description": "Horizontal position (in pixels) of the node in the visual graph editor UI"
        },
        "yCoordinate": {
          "type": "number",
          "description": "Vertical position (in pixels) of the node in the visual graph editor UI"
        },
        "isEvaluationEnabled": {
          "type": "boolean",
          "description": "When true, the node output is evaluated against the evaluationCriteria after each execution"
        },
        "isAttachmentDataPulledIn": {
          "type": "boolean",
          "description": "When true, any file attachments in the conversation are made available to this node during execution"
        },
        "onError": {
          "type": "string",
          "description": "Defines what happens when the node encounters an error. Options: \"STOP\" (halt execution), \"CONTINUE\" (proceed to next node)"
        },
        "autoRetryWhenAccuracyLessThan": {
          "type": "number",
          "description": "When enableAutoRetryWhenAccuracyIsLow is true, the node will retry if the accuracy score falls below this threshold (0-100)"
        },
        "autoRetryLimitWhenAccuracyIsLow": {
          "type": "number",
          "description": "Maximum number of retry attempts when the accuracy is below the threshold"
        },
        "autoRetryCountWhenFailure": {
          "type": "number",
          "description": "Maximum number of retry attempts when the node execution fails with an error"
        },
        "autoRetryWaitTimeWhenFailureInMs": {
          "type": "number",
          "description": "Time to wait (in milliseconds) between retry attempts after a failure"
        },
        "enableAutoRetryWhenAccuracyIsLow": {
          "type": "boolean",
          "description": "When true, automatically retry the node if the accuracy score is below autoRetryWhenAccuracyLessThan"
        },
        "enableAutoRetryWhenFailure": {
          "type": "boolean",
          "description": "When true, automatically retry the node if execution fails with an error"
        },
        "toolConfiguration": {
          "description": "The tool configuration for this node. If the node needs to execute a specific tool (like calling an API), configure it here. Nodes without tools are handled by the AI directly",
          "allOf": [
            {
              "$ref": "#/$defs/CompleteAgentGraphNodeToolConfigurationDto"
            }
          ]
        },
        "parentNodeId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The customId of the parent loop node when this node is a child inside a loop. Used to associate loop body nodes with their parent loop."
        },
        "childEdges": {
          "description": "List of edges that go OUT from this node to other nodes. Each edge defines a possible path the agent can take after completing this node",
          "type": "array",
          "items": {
            "$ref": "#/$defs/CompleteAgentGraphEdgeDto"
          }
        },
        "parentEdges": {
          "description": "List of edges that come IN to this node from other nodes. These represent the paths that lead to this node from previous steps",
          "type": "array",
          "items": {
            "$ref": "#/$defs/CompleteAgentGraphEdgeDto"
          }
        }
      },
      "required": [
        "id",
        "objective",
        "evaluationCriteria",
        "isEntryNode",
        "isExitNode",
        "xCoordinate",
        "yCoordinate",
        "isEvaluationEnabled",
        "isAttachmentDataPulledIn",
        "onError",
        "autoRetryWhenAccuracyLessThan",
        "autoRetryLimitWhenAccuracyIsLow",
        "autoRetryCountWhenFailure",
        "autoRetryWaitTimeWhenFailureInMs",
        "enableAutoRetryWhenAccuracyIsLow",
        "enableAutoRetryWhenFailure",
        "childEdges",
        "parentEdges"
      ]
    },
    "CompleteAgentGraphNodeToolConfigurationDto": {
      "type": "object",
      "properties": {
        "toolFunctionName": {
          "type": "string",
          "description": "The unique function name used to invoke this tool"
        },
        "toolName": {
          "type": "string",
          "description": "The display name of the tool shown in the UI"
        },
        "iconSrc": {
          "type": [
            "string",
            "null"
          ],
          "description": "URL to the tool icon image"
        },
        "description": {
          "type": "string",
          "description": "Brief explanation of what this tool does"
        },
        "requiresConsent": {
          "type": "boolean",
          "description": "When true, the agent will ask for user confirmation before executing this tool"
        },
        "isMemoryTool": {
          "type": "boolean",
          "description": "When true, this tool can access and search the agent memory/knowledge base"
        },
        "memoryLookupInstruction": {
          "type": "string",
          "description": "Instructions for how to search the memory when isMemoryTool is true"
        },
        "isBackgroundTool": {
          "type": "boolean",
          "description": "When true, the tool runs in the background without blocking the conversation flow"
        },
        "isBatchExecutionEnabled": {
          "type": "boolean",
          "description": "When true, the tool can process multiple items in a single execution (batch mode)"
        },
        "accuracyScore": {
          "type": [
            "number",
            "null"
          ],
          "description": "A score (0-100) indicating the historical accuracy/success rate of this tool. Null if not yet measured"
        },
        "preferredModel": {
          "type": [
            "string",
            "null"
          ],
          "description": "The preferred AI model to use when executing this tool. If not specified, the system default model will be used. Common values: \"gpt-4\", \"gpt-4o\", \"gpt-3.5-turbo\""
        },
        "fallbackModels": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "/^[^\\s]*$/",
          "description": "Comma-separated list of fallback models. No spaces allowed."
        },
        "prompt": {
          "type": [
            "string",
            "null"
          ],
          "description": "The prompt template that guides the AI when executing this tool. This defines how the AI should process inputs and generate outputs. Required for custom GPT tools"
        },
        "inputParams": {
          "description": "List of input parameters that define what data this tool needs to execute. These can be filled by AI, static values, user input, or linked from previous node outputs",
          "type": "array",
          "items": {
            "$ref": "#/$defs/AgentGraphNodeToolConfigurationInputParamDto"
          }
        },
        "outputParams": {
          "description": "List of output parameters that this tool produces after execution. These outputs can be linked to input parameters of subsequent nodes in the graph",
          "type": "array",
          "items": {
            "$ref": "#/$defs/AgentGraphNodeToolConfigurationOutputParamDto"
          }
        }
      },
      "required": [
        "toolFunctionName",
        "toolName",
        "description",
        "requiresConsent",
        "isMemoryTool",
        "memoryLookupInstruction",
        "isBackgroundTool",
        "isBatchExecutionEnabled",
        "inputParams",
        "outputParams"
      ]
    },
    "ConditionGroupDto": {
      "type": "object",
      "properties": {
        "rules": {
          "description": "Rules within this condition group",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConditionRuleDto"
          }
        },
        "nextGroupOperator": {
          "enum": [
            "AND",
            "OR"
          ],
          "type": "string",
          "description": "Logical operator to connect to the next group (AND/OR)"
        }
      },
      "required": [
        "rules"
      ]
    },
    "ConditionRuleDto": {
      "type": "object",
      "properties": {
        "sourceNodeId": {
          "type": "string",
          "description": "The node ID containing the source output parameter"
        },
        "sourceOutputParamName": {
          "type": "string",
          "description": "The name of the source output parameter to compare"
        },
        "operator": {
          "enum": [
            "equals",
            "not_equals",
            "greater_than",
            "less_than",
            "contains",
            "does_not_contain",
            "starts_with",
            "ends_with",
            "is_empty",
            "is_not_empty"
          ],
          "type": "string",
          "description": "The comparison operator"
        },
        "comparisonValueType": {
          "enum": [
            "static",
            "output_param"
          ],
          "type": "string",
          "description": "Type of comparison value (static or output_param)"
        },
        "comparisonValue": {
          "type": "string",
          "description": "Static value to compare against (when comparisonValueType is static)"
        },
        "comparisonNodeId": {
          "type": "string",
          "description": "Node ID containing the output param to compare against (when comparisonValueType is output_param)"
        },
        "comparisonOutputParamName": {
          "type": "string",
          "description": "Output param name to compare against (when comparisonValueType is output_param)"
        },
        "nextRuleOperator": {
          "enum": [
            "AND",
            "OR"
          ],
          "type": "string",
          "description": "Logical operator to connect to the next rule (AND/OR)"
        }
      },
      "required": [
        "sourceNodeId",
        "sourceOutputParamName",
        "operator",
        "comparisonValueType"
      ]
    },
    "LinkedOutputParamRuleDto": {
      "type": "object",
      "properties": {
        "elementKey": {
          "type": "string",
          "description": "Element key for the rule."
        },
        "operator": {
          "enum": [
            "equals",
            "not_equals",
            "greater_than",
            "less_than",
            "contains",
            "does_not_contain",
            "starts_with",
            "ends_with",
            "is_empty",
            "is_not_empty"
          ],
          "type": "string",
          "description": "Comparison operator for the rule."
        },
        "comparisonValueType": {
          "enum": [
            "static",
            "output_param"
          ],
          "type": "string",
          "description": "Type of the comparison value."
        },
        "comparisonValue": {
          "type": [
            "string",
            "null"
          ],
          "description": "Value to compare against."
        },
        "nextRuleOperator": {
          "enum": [
            "AND",
            "OR"
          ],
          "type": "string",
          "description": "Logical operator linking to the next rule."
        }
      },
      "required": [
        "elementKey",
        "operator",
        "comparisonValueType"
      ]
    },
    "NodeConfigurationsDto": {
      "type": "object",
      "properties": {
        "conditionType": {
          "enum": [
            "llm_based",
            "rule_based"
          ],
          "type": "string",
          "description": "Type of condition evaluation (llm_based or rule_based)"
        },
        "llmModel": {
          "type": "string",
          "description": "The LLM model to use for condition evaluation"
        },
        "fallbackModels": {
          "type": "string",
          "pattern": "/^[^\\s]*$/",
          "description": "Comma-separated fallback models for condition evaluation"
        },
        "waitType": {
          "enum": [
            "time_based",
            "condition_based"
          ],
          "type": "string",
          "description": "Type of wait (time_based or condition_based)"
        },
        "timeToWaitValue": {
          "type": "number",
          "description": "The duration value to wait"
        },
        "timeToWaitUnit": {
          "enum": [
            "minutes",
            "hours",
            "days",
            "months"
          ],
          "type": "string",
          "description": "The unit of time for the wait duration"
        },
        "linkedAgentGraphNodeId": {
          "type": "string",
          "description": "Custom id of the node linked to this node (e.g., source node for a variable-based loop, or the node a waiting node is linked to). The server resolves it to the persisted node id."
        },
        "rule": {
          "type": "string",
          "description": "Rule expression for condition-based waiting"
        },
        "conditions": {
          "description": "Condition groups for condition-based waiting",
          "type": "array",
          "items": {
            "$ref": "#/$defs/AgentTriggerConfigurationFiltersGroup"
          }
        },
        "timeoutType": {
          "enum": [
            "no_timeout",
            "set_timeout"
          ],
          "type": "string",
          "description": "Timeout type for the waiting node"
        },
        "timeoutValue": {
          "type": "number",
          "description": "Timeout duration value"
        },
        "timeoutUnit": {
          "enum": [
            "minutes",
            "hours",
            "days",
            "months"
          ],
          "type": "string",
          "description": "The unit of time for the timeout duration"
        },
        "onTimeout": {
          "enum": [
            "continue",
            "fail"
          ],
          "type": "string",
          "description": "Action to take when timeout is reached (continue or fail)"
        },
        "iterationCount": {
          "type": "number",
          "description": "Number of iterations for a count-based loop (looping node only)."
        },
        "linkedVariableId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Output parameter to loop over for a variable-based loop (looping node only). Supply as \"<sourceNodeCustomId>:<paramName>\"; the server resolves it to the output param id."
        },
        "alias": {
          "type": "string",
          "description": "Alias for nodes inside a looping node."
        }
      }
    },
    "ParamOptionDto": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string",
          "description": "Display label shown to users when selecting this option in a dropdown or selection UI"
        },
        "value": {
          "type": "string",
          "description": "The actual value submitted when this option is selected, typically used in API calls or data processing"
        }
      },
      "required": [
        "label",
        "value"
      ]
    },
    "ParamRuleConditionConfig": {
      "type": "object",
      "properties": {
        "conditionType": {
          "type": "string",
          "enum": [
            "llm_based",
            "rule_based"
          ]
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/beam-ai-update-agent-graph-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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