Skip to main content
GET
/
api
/
v1
/
user-defined-functions
/
dependents
GetUserDefinedFunctionDependents
curl --request GET \
  --url https://your-sift-api-url.com/api/v1/user-defined-functions/dependents \
  --header 'Authorization: Bearer <token>'
{
  "userDefinedFunctions": [
    {
      "userDefinedFunctionId": "<string>",
      "name": "<string>",
      "archivedDate": "2023-11-07T05:31:56Z",
      "userDefinedFunctionVersionId": "<string>",
      "version": 123,
      "description": "<string>",
      "changeMessage": "<string>",
      "userNotes": "<string>",
      "expression": "<string>",
      "functionInputs": [
        {
          "identifier": "<string>",
          "dataType": "FUNCTION_DATA_TYPE_UNSPECIFIED",
          "constant": true
        }
      ],
      "functionOutputType": "FUNCTION_DATA_TYPE_UNSPECIFIED",
      "functionDependencies": [
        {
          "userDefinedFunctionVersionId": "<string>"
        }
      ],
      "createdDate": "2023-11-07T05:31:56Z",
      "modifiedDate": "2023-11-07T05:31:56Z",
      "createdByUserId": "<string>",
      "modifiedByUserId": "<string>",
      "metadata": [
        {
          "key": "<any>",
          "stringValue": "<any>",
          "numberValue": "<any>",
          "booleanValue": "<any>",
          "archivedDate": "<any>"
        }
      ]
    }
  ],
  "nextPageTokenUserDefinedFunction": "<string>",
  "calculatedChannels": [
    {
      "calculatedChannelId": "<string>",
      "organizationId": "<string>",
      "clientKey": "<string>",
      "archivedDate": "2023-11-07T05:31:56Z",
      "versionId": "<string>",
      "version": 123,
      "name": "<string>",
      "description": "<string>",
      "changeMessage": "<string>",
      "userNotes": "<string>",
      "units": "<string>",
      "createdDate": "2023-11-07T05:31:56Z",
      "modifiedDate": "2023-11-07T05:31:56Z",
      "calculatedChannelConfiguration": {
        "assetConfiguration": {
          "allAssets": true,
          "selection": {
            "assetIds": [
              "<string>"
            ],
            "tagIds": [
              "<string>"
            ]
          }
        },
        "queryConfiguration": {
          "sel": {
            "expression": "<string>",
            "expressionChannelReferences": [
              {
                "channelReference": "<string>",
                "channelIdentifier": "<string>"
              }
            ]
          }
        }
      },
      "createdByUserId": "<string>",
      "modifiedByUserId": "<string>",
      "functionDependencies": [
        {
          "userDefinedFunctionVersionId": "<string>"
        }
      ],
      "metadata": [
        {
          "key": "<any>",
          "stringValue": "<any>",
          "numberValue": "<any>",
          "booleanValue": "<any>",
          "archivedDate": "<any>"
        }
      ]
    }
  ],
  "nextPageTokenCalculatedChannel": "<string>",
  "rules": [
    {
      "ruleId": "<string>",
      "assetId": "<string>",
      "name": "<string>",
      "description": "<string>",
      "isEnabled": true,
      "createdDate": "2023-11-07T05:31:56Z",
      "modifiedDate": "2023-11-07T05:31:56Z",
      "createdByUserId": "<string>",
      "modifiedByUserId": "<string>",
      "organizationId": "<string>",
      "conditions": [
        {
          "ruleConditionId": "<string>",
          "ruleId": "<string>",
          "expression": {
            "singleChannelComparison": {
              "channelComponent": "<string>",
              "channelName": "<string>",
              "comparator": "CONDITION_COMPARATOR_UNSPECIFIED",
              "double": 123,
              "string": "<string>",
              "lastValue": {}
            },
            "calculatedChannel": {
              "channelReferences": {},
              "expression": "<string>",
              "functionDependencies": [
                {
                  "userDefinedFunctionVersionId": "<string>"
                }
              ]
            }
          },
          "createdDate": "2023-11-07T05:31:56Z",
          "modifiedDate": "2023-11-07T05:31:56Z",
          "createdByUserId": "<string>",
          "modifiedByUserId": "<string>",
          "actions": [
            {
              "ruleActionId": "<string>",
              "ruleConditionId": "<string>",
              "actionType": "ACTION_KIND_UNSPECIFIED",
              "configuration": {
                "notification": {
                  "recipientUserIds": [
                    "<string>"
                  ]
                },
                "annotation": {
                  "tagIds": [
                    "<string>"
                  ],
                  "annotationType": "ANNOTATION_TYPE_UNSPECIFIED",
                  "assignedToUserId": "<string>",
                  "metadata": [
                    {
                      "key": "<any>",
                      "stringValue": "<any>",
                      "numberValue": "<any>",
                      "booleanValue": "<any>",
                      "archivedDate": "<any>"
                    }
                  ]
                }
              },
              "createdDate": "2023-11-07T05:31:56Z",
              "modifiedDate": "2023-11-07T05:31:56Z",
              "createdByUserId": "<string>",
              "modifiedByUserId": "<string>",
              "ruleActionVersionId": "<string>"
            }
          ],
          "ruleConditionVersionId": "<string>"
        }
      ],
      "ruleVersion": {
        "ruleId": "<string>",
        "ruleVersionId": "<string>",
        "version": "<string>",
        "createdDate": "2023-11-07T05:31:56Z",
        "createdByUserId": "<string>",
        "versionNotes": "<string>",
        "generatedChangeMessage": "<string>",
        "deletedDate": "2023-11-07T05:31:56Z"
      },
      "clientKey": "<string>",
      "assetConfiguration": {
        "assetIds": [
          "<string>"
        ],
        "tagIds": [
          "<string>"
        ]
      },
      "contextualChannels": {
        "channels": [
          {
            "name": "<string>",
            "component": "<string>"
          }
        ]
      },
      "deletedDate": "2023-11-07T05:31:56Z",
      "isExternal": true,
      "metadata": [
        {
          "key": "<any>",
          "stringValue": "<any>",
          "numberValue": "<any>",
          "booleanValue": "<any>",
          "archivedDate": "<any>"
        }
      ]
    }
  ],
  "nextPageTokenRule": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

pageSize
integer
userDefinedFunctionId
string
userDefinedFunctionName
string
userDefinedFunctionVersionId
string

Response

A successful response.

userDefinedFunctions
object[]
required
calculatedChannels
object[]
required
rules
object[]
required
nextPageTokenUserDefinedFunction
string
nextPageTokenCalculatedChannel
string
nextPageTokenRule
string