Functions JavaScript SDK

Functions is a Catalyst Serverless component, that provides you with the ideal coding structure to define and code your business logic in Java, Node.js, or Python runtimes. Functions allow you to store the functionality of the application in a centralized and secure place, rather than storing it within the application’s main code. You can create your functions in the Catalyst console or using the Catalyst CLI. The business logic coded in the Functions component can be executed in the testing and production environment.

The Functions JavaScript SDK package enables you to execute your required functions through code.

Prerequisites

You will need to install the following package to be able to use the Function SDK methods.

copy
$
npm install @zcatalyst/functions
Info: Ensure that you have applied the required authentication configuration to use the SDK methods of this component.

Import Requirement

You will need to import the following modules to use the Function SDK methods.

copy
const { Functions } = require('@zcatalyst/functions');

List of SDK Methods

The following table contains the list of SDK methods that can be used to perform operations with the Function component through code.

Category SDK Method Required Scope
General Operations Get Function Instance No requirement
Function Operations Execute Function Admin

Last Updated 2026-07-02 14:51:41 +0530 IST