Skip to main content
GET
/
agent-graphs
/
agent-task-nodes
/
{toolFunctionName}
Get Task Nodes by Tool
curl --request GET \
  --url https://api.beamstudio.ai/agent-graphs/agent-task-nodes/{toolFunctionName} \
  --header 'current-workspace-id: <current-workspace-id>' \
  --header 'x-api-key: <api-key>'
{
  "agentTaskNodes": [
    {
      "userQuestions": [
        {
          "question": "<string>",
          "answer": "<string>",
          "parameter": "<string>",
          "memoryAnswer": true,
          "foodForThought": [
            {
              "question": "<string>",
              "answer": "<string>"
            }
          ]
        }
      ],
      "edgeEvaluations": [
        {
          "target_node_id": "<string>",
          "eval_criteria": "<string>",
          "branch_name": "<string>",
          "reason": "<string>",
          "selected": true
        }
      ],
      "input": [
        {
          "id": "<string>",
          "name": "<string>",
          "value": "<string>",
          "question": "<string>",
          "reasoning": "<string>",
          "found": true,
          "required": true,
          "answer": "<string>"
        }
      ],
      "output": {
        "value": {}
      },
      "nodeEvaluation": [
        [
          {
            "name": "<string>",
            "score": 123,
            "success": true,
            "objective": "<string>",
            "reasoning": "<string>",
            "evaluationCategory": "<string>",
            "evaluationReasoning": "<string>",
            "improvementSuggestions": "<string>"
          }
        ]
      ],
      "agentTaskId": "<string>",
      "agentGraphNodeId": "<string>",
      "status": "QUEUED",
      "userConsent": true,
      "isEverConsentRequired": true,
      "retriedCountWhenFailure": 123,
      "retriedCountWhenAccuracyIsLow": 123,
      "manualRetryCount": 123,
      "evaluationScore": 123,
      "toolData": {
        "tool_id": "<string>",
        "tool_parameters": [
          {}
        ],
        "tool_output": [
          {}
        ],
        "required_parameters": {},
        "optional_parameters": {},
        "reasoning": {},
        "filled_prompt": "<string>",
        "skip_param_extraction": [
          "<string>"
        ],
        "integration_identifier": "<string>",
        "integration_error": false
      },
      "waitSyncCreated": true,
      "agentTask": {
        "agentGraphId": "graph-123e4567-e89b-12d3-a456-426614174000",
        "manualRetryCount": 0,
        "isSuccess": false,
        "isViewed": false,
        "canRerunTaskNode": true,
        "mode": "AUTO",
        "status": "QUEUED",
        "taskReceiveAt": 123,
        "id": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "customId": "TASK-2024-001",
        "originalTaskQuery": "Generate a quarterly sales report for Q4 2024",
        "taskObjective": "Analyze sales data and create comprehensive report",
        "taskInstructions": "Include revenue breakdown by region and product category",
        "taskContext": {},
        "taskSuccessCriteria": "Report must include all regions and be formatted as PDF",
        "taskQuery": "Generate sales report for Q4 2024 with regional breakdown",
        "taskSummary": "Successfully generated Q4 sales report with 15 pages",
        "initiationDetail": {},
        "triggerRecordId": "msg-abc123",
        "startedAt": "2024-01-15T10:00:00Z",
        "endedAt": "2024-01-15T10:05:30Z",
        "userFeedback": "The report was accurate and well-formatted",
        "rating": "positive",
        "averageEvaluationScore": 0.85,
        "taskState": {
          "nodeSelections": [
            {
              "edgeId": "<string>",
              "condition": "<string>",
              "selected": true,
              "reasoning": "<string>",
              "otherEdges": "<array>"
            }
          ]
        },
        "graphState": {},
        "totalExecutionTime": 330.5,
        "tokensUsed": 15000,
        "totalCost": 0.0225,
        "tokenUsages": [
          {
            "agentTaskId": "<string>",
            "agentGraphNodeId": "<string>",
            "creditTransactionId": "<string>",
            "promptSlug": "<string>",
            "executionStage": "QUERY_REFORMULATION",
            "iteration": 123,
            "model": "<string>",
            "operation": "NORMAL",
            "inputToken": 123,
            "outputToken": 123,
            "reasoningToken": 123,
            "totalToken": 123,
            "isLatest": true,
            "agentTask": "<unknown>",
            "id": "<string>",
            "createdAt": "2023-11-07T05:31:56Z",
            "updatedAt": "2023-11-07T05:31:56Z"
          }
        ]
      },
      "agentGraphNode": {
        "evaluationCriteria": [
          "<string>"
        ],
        "toolConfiguration": {
          "toolFunctionName": "fetchCustomerData",
          "inputParams": [
            {
              "id": "param-123e4567-e89b-12d3-a456-426614174000",
              "paramName": "customerId",
              "fillType": "ai_fill",
              "agentToolConfigurationId": "config-123e4567-e89b-12d3-a456-426614174000",
              "createdAt": "2023-11-07T05:31:56Z",
              "updatedAt": "2023-11-07T05:31:56Z",
              "linkOutputParam": {
                "id": "param-123e4567-e89b-12d3-a456-426614174000",
                "agentToolConfigurationId": "config-123e4567-e89b-12d3-a456-426614174000",
                "isArray": false,
                "createdAt": "2023-11-07T05:31:56Z",
                "updatedAt": "2023-11-07T05:31:56Z",
                "paramName": "customerData",
                "position": 1,
                "paramDescription": "The customer data retrieved from the database.",
                "parentId": "<string>",
                "paramPath": "response.data.customer",
                "outputExample": "{\"name\": \"John Doe\", \"email\": \"john@example.com\"}",
                "dataType": "string",
                "typeOptions": {}
              },
              "linkedOutputParamRules": [
                {
                  "elementKey": "<string>",
                  "agentToolConfigurationInputParamsId": "<string>",
                  "operator": "equals",
                  "comparisonValueType": "static",
                  "id": "<string>",
                  "createdAt": "2023-11-07T05:31:56Z",
                  "updatedAt": "2023-11-07T05:31:56Z",
                  "comparisonValue": "<string>",
                  "nextRuleOperator": "AND"
                }
              ],
              "position": 1,
              "question": "What is the customer ID?",
              "linkParamOutputId": "<string>",
              "paramDescription": "The unique identifier for the customer record.",
              "paramTip": "Enter the 8-digit customer ID from their account.",
              "staticValue": "default_value",
              "required": true,
              "dataType": "string",
              "outputExample": "CUST-12345678",
              "reloadProps": false,
              "remoteOptions": false,
              "options": [
                {
                  "label": "<string>",
                  "value": "<string>"
                }
              ],
              "linkedParamRulePrompt": "<string>",
              "ruleConditionConfig": {
                "conditionType": "llm_based"
              }
            }
          ],
          "agentId": "agent-123e4567-e89b-12d3-a456-426614174000",
          "outputParams": [
            {
              "id": "param-123e4567-e89b-12d3-a456-426614174000",
              "agentToolConfigurationId": "config-123e4567-e89b-12d3-a456-426614174000",
              "isArray": false,
              "createdAt": "2023-11-07T05:31:56Z",
              "updatedAt": "2023-11-07T05:31:56Z",
              "paramName": "customerData",
              "position": 1,
              "paramDescription": "The customer data retrieved from the database.",
              "parentId": "<string>",
              "paramPath": "response.data.customer",
              "outputExample": "{\"name\": \"John Doe\", \"email\": \"john@example.com\"}",
              "dataType": "string",
              "typeOptions": {}
            }
          ],
          "originalTool": {
            "toolFunctionName": "<string>",
            "toolName": "<string>",
            "type": "beam_tool",
            "meta": {
              "tool_name": "<string>",
              "function_name": "<string>",
              "requires_consent": true,
              "requires_translation": true,
              "description": "<string>",
              "required_extracted_args": [
                "<string>"
              ],
              "content": "<string>",
              "prompt": "<string>",
              "type": "beam_tool",
              "isActive": true,
              "integration_provider_details": {
                "request": {
                  "endpoint": "<string>",
                  "method": "<string>",
                  "query": [
                    "<string>"
                  ],
                  "body": {},
                  "bypassTLS": true
                },
                "response": {}
              },
              "agent_category": {
                "id": "<string>",
                "title": "<string>"
              },
              "payload": "<string>",
              "optional_extracted_args": [
                "<string>"
              ],
              "integrationIdentifier": "<string>",
              "categories": [
                "<string>"
              ],
              "icon_src": "<string>",
              "integration_provider_auth": "<string>",
              "integration_provider_executor": "<string>",
              "preferred_model": "<string>",
              "integration_id": "<string>",
              "apiKeyType": "<string>",
              "parameter": "<string>",
              "tool_category_id": "<string>",
              "agent_categories": [
                "<string>"
              ],
              "required_generated_args": [
                "<string>"
              ],
              "optional_generated_args": [
                "<string>"
              ],
              "is_memory_tool": true,
              "memory_lookup_instruction": "<string>",
              "workspace_id": "<string>"
            },
            "requiresConsent": true,
            "isBackgroundTool": true,
            "isActive": true,
            "createdAt": "2023-11-07T05:31:56Z",
            "updatedAt": "2023-11-07T05:31:56Z",
            "id": "<string>",
            "iconSrc": "<string>",
            "isVisibleOnUi": true,
            "integrationId": "<string>",
            "outputId": "<string>",
            "prompt": "<string>",
            "inputParams": [
              {
                "paramName": "customerId",
                "fillType": "ai_fill",
                "position": 1,
                "question": "What is the customer ID?",
                "linkParams": {
                  "toolId": "<string>",
                  "toolFunctionName": "<string>",
                  "outputParam": "<string>",
                  "outputId": "<string>"
                },
                "linkParamOutputId": "<string>",
                "paramDescription": "The unique identifier for the customer record.",
                "paramTip": "Enter the 8-digit customer ID from their account.",
                "staticValue": "default_value",
                "required": true,
                "dataType": "string",
                "isArray": false,
                "typeOptions": {},
                "outputExample": "CUST-12345678",
                "reloadProps": false,
                "remoteOptions": false,
                "options": [
                  {
                    "label": "<string>",
                    "value": "<string>"
                  }
                ],
                "linkedOutputParamRulesData": {
                  "linkedParamConfigurations": {
                    "conditionType": "llm_based"
                  },
                  "rules": [
                    {
                      "elementKey": "<string>",
                      "operator": "equals",
                      "comparisonValueType": "static",
                      "comparisonValue": "<string>",
                      "nextRuleOperator": "AND"
                    }
                  ],
                  "linkedParamRulePrompt": "<string>"
                }
              }
            ],
            "isMemoryTool": true,
            "memoryLookupInstruction": "<string>",
            "outputParams": [
              {
                "position": 123,
                "paramName": "<string>",
                "paramDescription": "<string>",
                "id": "<string>",
                "agentToolConfigurationId": "<string>",
                "dataType": "string",
                "isArray": true,
                "typeOptions": {},
                "parentId": "<string>",
                "paramPath": "<string>",
                "outputExample": "<string>"
              }
            ],
            "isBatchExecutionEnabled": true,
            "description": "<string>",
            "workspaceId": "<string>",
            "userId": "<string>",
            "agentId": "<string>",
            "httpMethod": "post",
            "url": "<string>",
            "isAvailableToWorkspace": true,
            "preferredModel": "<string>",
            "shortDescription": "<string>",
            "isSharable": true,
            "systemIntegrationIdentifier": "<string>",
            "apiKeyType": "<string>",
            "parameter": "<string>",
            "allowWaiting": true,
            "queryParams": [
              {
                "key": "<string>",
                "parameterHint": "<string>",
                "required": true,
                "type": "<string>"
              }
            ],
            "bodyParams": [
              {
                "key": "<string>",
                "parameterHint": "<string>",
                "type": "<string>",
                "required": true
              }
            ],
            "urlParams": [
              {
                "key": "<string>",
                "parameterHint": "<string>",
                "required": true,
                "type": "<string>"
              }
            ],
            "deletedAt": "2023-11-07T05:31:56Z",
            "toolConfigurations": "<array>",
            "questions": [
              {
                "id": "<string>",
                "question": "<string>",
                "keywordInPrompt": "<string>"
              }
            ],
            "isIntegrationRequired": false,
            "isIntegrationConnected": false,
            "integrationProvider": "<string>",
            "integrationIdentifier": "<string>",
            "integrationCustomAuthParameters": {},
            "embedding": "<string>",
            "integration": {
              "id": "<string>",
              "type": "integration",
              "provider": {
                "userId": "<string>",
                "credentialId": "<string>",
                "connectionName": "<string>",
                "integration": "<string>",
                "status": "<string>",
                "isOAuth2": true,
                "provider": "custom",
                "workspace": "<string>",
                "tokenExpiresIn": 123,
                "credentials": {},
                "isDefault": true,
                "creator": {
                  "name": "John Doe",
                  "email": "<string>",
                  "cognitoUserId": "<string>",
                  "role_name": "<string>",
                  "isInternalUser": true,
                  "id": "<string>",
                  "createdAt": "2023-11-07T05:31:56Z",
                  "updatedAt": "2023-11-07T05:31:56Z",
                  "avatarSrc": "https://example.com/avatars/user123.png",
                  "socialProvider": "<string>",
                  "socialProviderId": "<string>",
                  "password": "<string>",
                  "paymentProviderCustomerId": "<string>",
                  "rememberToken": "<string>",
                  "emailVerified": true,
                  "referralCode": "<string>"
                },
                "id": "<string>",
                "createdAt": "2023-11-07T05:31:56Z",
                "updatedAt": "2023-11-07T05:31:56Z",
                "integrationId": "<string>"
              },
              "providers": [
                {
                  "userId": "<string>",
                  "credentialId": "<string>",
                  "connectionName": "<string>",
                  "integration": "<string>",
                  "status": "<string>",
                  "isOAuth2": true,
                  "provider": "custom",
                  "workspace": "<string>",
                  "tokenExpiresIn": 123,
                  "credentials": {},
                  "isDefault": true,
                  "creator": {
                    "name": "John Doe",
                    "email": "<string>",
                    "cognitoUserId": "<string>",
                    "role_name": "<string>",
                    "isInternalUser": true,
                    "id": "<string>",
                    "createdAt": "2023-11-07T05:31:56Z",
                    "updatedAt": "2023-11-07T05:31:56Z",
                    "avatarSrc": "https://example.com/avatars/user123.png",
                    "socialProvider": "<string>",
                    "socialProviderId": "<string>",
                    "password": "<string>",
                    "paymentProviderCustomerId": "<string>",
                    "rememberToken": "<string>",
                    "emailVerified": true,
                    "referralCode": "<string>"
                  },
                  "id": "<string>",
                  "createdAt": "2023-11-07T05:31:56Z",
                  "updatedAt": "2023-11-07T05:31:56Z",
                  "integrationId": "<string>"
                }
              ],
              "integrationCategory": {
                "title": "<string>",
                "id": "<string>",
                "createdAt": "2023-11-07T05:31:56Z",
                "updatedAt": "2023-11-07T05:31:56Z"
              },
              "actions": [
                {
                  "toolFunctionName": "<string>",
                  "toolName": "<string>",
                  "type": "beam_tool",
                  "meta": {
                    "tool_name": "<string>",
                    "function_name": "<string>",
                    "requires_consent": true,
                    "requires_translation": true,
                    "description": "<string>",
                    "required_extracted_args": [
                      "<string>"
                    ],
                    "content": "<string>",
                    "prompt": "<string>",
                    "type": "beam_tool",
                    "isActive": true,
                    "integration_provider_details": {
                      "request": {
                        "endpoint": "<string>",
                        "method": "<string>",
                        "query": [
                          "<string>"
                        ],
                        "body": {},
                        "bypassTLS": true
                      },
                      "response": {}
                    },
                    "agent_category": {
                      "id": "<string>",
                      "title": "<string>"
                    },
                    "payload": "<string>",
                    "optional_extracted_args": [
                      "<string>"
                    ],
                    "integrationIdentifier": "<string>",
                    "categories": [
                      "<string>"
                    ],
                    "icon_src": "<string>",
                    "integration_provider_auth": "<string>",
                    "integration_provider_executor": "<string>",
                    "preferred_model": "<string>",
                    "integration_id": "<string>",
                    "apiKeyType": "<string>",
                    "parameter": "<string>",
                    "tool_category_id": "<string>",
                    "agent_categories": [
                      "<string>"
                    ],
                    "required_generated_args": [
                      "<string>"
                    ],
                    "optional_generated_args": [
                      "<string>"
                    ],
                    "is_memory_tool": true,
                    "memory_lookup_instruction": "<string>",
                    "workspace_id": "<string>"
                  },
                  "requiresConsent": true,
                  "isBackgroundTool": true,
                  "isActive": true,
                  "createdAt": "2023-11-07T05:31:56Z",
                  "updatedAt": "2023-11-07T05:31:56Z",
                  "id": "<string>",
                  "iconSrc": "<string>",
                  "isVisibleOnUi": true,
                  "integrationId": "<string>",
                  "outputId": "<string>",
                  "prompt": "<string>",
                  "inputParams": [
                    {
                      "paramName": "customerId",
                      "fillType": "ai_fill",
                      "position": 1,
                      "question": "What is the customer ID?",
                      "linkParams": {
                        "toolId": "<string>",
                        "toolFunctionName": "<string>",
                        "outputParam": "<string>",
                        "outputId": "<string>"
                      },
                      "linkParamOutputId": "<string>",
                      "paramDescription": "The unique identifier for the customer record.",
                      "paramTip": "Enter the 8-digit customer ID from their account.",
                      "staticValue": "default_value",
                      "required": true,
                      "dataType": "string",
                      "isArray": false,
                      "typeOptions": {},
                      "outputExample": "CUST-12345678",
                      "reloadProps": false,
                      "remoteOptions": false,
                      "options": [
                        {
                          "label": "<string>",
                          "value": "<string>"
                        }
                      ],
                      "linkedOutputParamRulesData": {
                        "linkedParamConfigurations": {
                          "conditionType": "llm_based"
                        },
                        "rules": [
                          {
                            "elementKey": "<string>",
                            "operator": "equals",
                            "comparisonValueType": "static",
                            "comparisonValue": "<string>",
                            "nextRuleOperator": "AND"
                          }
                        ],
                        "linkedParamRulePrompt": "<string>"
                      }
                    }
                  ],
                  "isMemoryTool": true,
                  "memoryLookupInstruction": "<string>",
                  "outputParams": [
                    {
                      "position": 123,
                      "paramName": "<string>",
                      "paramDescription": "<string>",
                      "id": "<string>",
                      "agentToolConfigurationId": "<string>",
                      "dataType": "string",
                      "isArray": true,
                      "typeOptions": {},
                      "parentId": "<string>",
                      "paramPath": "<string>",
                      "outputExample": "<string>"
                    }
                  ],
                  "isBatchExecutionEnabled": true,
                  "description": "<string>",
                  "workspaceId": "<string>",
                  "userId": "<string>",
                  "agentId": "<string>",
                  "httpMethod": "post",
                  "url": "<string>",
                  "isAvailableToWorkspace": true,
                  "preferredModel": "<string>",
                  "shortDescription": "<string>",
                  "isSharable": true,
                  "systemIntegrationIdentifier": "<string>",
                  "apiKeyType": "<string>",
                  "parameter": "<string>",
                  "allowWaiting": true,
                  "queryParams": [
                    {
                      "key": "<string>",
                      "parameterHint": "<string>",
                      "required": true,
                      "type": "<string>"
                    }
                  ],
                  "bodyParams": [
                    {
                      "key": "<string>",
                      "parameterHint": "<string>",
                      "type": "<string>",
                      "required": true
                    }
                  ],
                  "urlParams": [
                    {
                      "key": "<string>",
                      "parameterHint": "<string>",
                      "required": true,
                      "type": "<string>"
                    }
                  ],
                  "deletedAt": "2023-11-07T05:31:56Z",
                  "toolConfigurations": "<array>",
                  "questions": [
                    {
                      "id": "<string>",
                      "question": "<string>",
                      "keywordInPrompt": "<string>"
                    }
                  ],
                  "embedding": "<string>",
                  "integration": "<unknown>",
                  "toolConfiguration": "<unknown>"
                }
              ],
              "name": "<string>",
              "description": "<string>",
              "systemIntegrationIdentifier": "<string>",
              "integrationCategoryId": "<string>",
              "iconSrc": "<string>",
              "userId": "<string>",
              "workspaceId": "<string>",
              "privacyPolicyUrl": "<string>",
              "shortDescription": "<string>",
              "longDescription": "<string>",
              "systemIntegrationProvider": "<string>",
              "customAuthParameters": {},
              "category": "<string>",
              "authenticationMeta": {
                "clientId": "<string>",
                "clientSecret": "<string>",
                "authorizationUrl": "<string>",
                "accessTokenUrl": "<string>",
                "refreshTokenUrl": "<string>",
                "scopes": [
                  "<string>"
                ],
                "apiKeyType": "default",
                "grantType": "client_credentials",
                "parameter": "<string>",
                "clientAuthentication": "headers",
                "customOAuthUrl": "<string>"
              },
              "syncModels": {},
              "isPublished": true,
              "attributes": {},
              "status": "<string>",
              "customHeaders": {},
              "allowWaiting": true,
              "authType": "<string>"
            },
            "toolConfiguration": "<unknown>"
          },
          "id": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "integrationProviderId": "provider-123e4567-e89b-12d3-a456-426614174000",
          "outputParamsData": [
            {
              "position": 123,
              "paramName": "<string>",
              "paramDescription": "<string>",
              "id": "<string>",
              "agentToolConfigurationId": "<string>",
              "dataType": "string",
              "isArray": true,
              "typeOptions": {},
              "parentId": "<string>",
              "paramPath": "<string>",
              "outputExample": "<string>"
            }
          ],
          "inputParamsData": [
            {
              "paramName": "customerId",
              "fillType": "ai_fill",
              "position": 1,
              "question": "What is the customer ID?",
              "linkParams": {
                "toolId": "<string>",
                "toolFunctionName": "<string>",
                "outputParam": "<string>",
                "outputId": "<string>"
              },
              "linkParamOutputId": "<string>",
              "paramDescription": "The unique identifier for the customer record.",
              "paramTip": "Enter the 8-digit customer ID from their account.",
              "staticValue": "default_value",
              "required": true,
              "dataType": "string",
              "isArray": false,
              "typeOptions": {},
              "outputExample": "CUST-12345678",
              "reloadProps": false,
              "remoteOptions": false,
              "options": [
                {
                  "label": "<string>",
                  "value": "<string>"
                }
              ],
              "linkedOutputParamRulesData": {
                "linkedParamConfigurations": {
                  "conditionType": "llm_based"
                },
                "rules": [
                  {
                    "elementKey": "<string>",
                    "operator": "equals",
                    "comparisonValueType": "static",
                    "comparisonValue": "<string>",
                    "nextRuleOperator": "AND"
                  }
                ],
                "linkedParamRulePrompt": "<string>"
              }
            }
          ],
          "requiresConsent": false,
          "isBackgroundTool": false,
          "isMemoryTool": false,
          "isBatchExecutionEnabled": false,
          "accuracyScore": 0.95,
          "memoryLookupInstruction": "Retrieve customer records matching the provided email address.",
          "fallbackModels": "DEEP_SEEK,BEDROCK_CLAUDE_3_7_SONNET,BEDROCK_CLAUDE_OPUS_4_5",
          "dynamicPropsId": "<string>",
          "codeLanguage": "<string>",
          "code": "<string>",
          "preferredModel": "GPT40"
        },
        "objective": "<string>",
        "customId": "<string>",
        "isExitNode": true,
        "isEntryNode": true,
        "agentGraphId": "<string>",
        "onError": "CONTINUE",
        "isEvaluationEnabled": true,
        "autoRetryWhenAccuracyLessThan": 123,
        "autoRetryLimitWhenAccuracyIsLow": 123,
        "enableAutoRetryWhenAccuracyIsLow": true,
        "enableAutoRetryWhenFailure": true,
        "autoRetryCountWhenFailure": 123,
        "autoRetryWaitTimeWhenFailureInMs": 123,
        "isAttachmentDataPulledIn": true,
        "nodeType": "executionNode",
        "saveAsVersion": true,
        "isEdited": true,
        "isActiveNodeVersion": true,
        "autoRetryDescription": "<string>",
        "enableAutoRetryDescription": true,
        "id": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "agentToolConfigurationId": "<string>",
        "xCoordinate": 123,
        "yCoordinate": 123,
        "nodeConfigurations": {
          "conditionType": "llm_based",
          "llmModel": "<string>",
          "fallbackModels": "<string>",
          "waitType": "time_based",
          "timeToWaitValue": 123,
          "timeToWaitUnit": "minutes",
          "linkedAgentGraphNodeId": "<string>",
          "rule": "<string>",
          "conditions": [
            {
              "operator": "AND",
              "conditions": [
                {
                  "condition": "is",
                  "operator": "AND",
                  "property": "<string>",
                  "value": "<string>"
                }
              ]
            }
          ],
          "timeoutType": "no_timeout",
          "timeoutValue": 123,
          "timeoutUnit": "minutes",
          "onTimeout": "continue"
        },
        "userId": "<string>"
      },
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "userFeedback": "<string>",
      "expectedOutput": "<string>",
      "rating": "positive"
    }
  ],
  "count": 123
}

Authorizations

x-api-key
string
header
required

Headers

current-workspace-id
string
required

Path Parameters

toolFunctionName
string
required

Query Parameters

pageNum
number
Required range: x >= 1
pageSize
number
Required range: 1 <= x <= 100
agentId
string
required
isRated
boolean
required

Response

200 - application/json

Task nodes retrieved successfully

agentTaskNodes
object[]
required
count
number
required