Preview

invokeFunction is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.

invokeFunction

Invoke function.

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:

    Scopes

    functions.functions.invoke.instance

    functions.functions.invoke.tenant

    Arguments

    input InvokeFunctionInput! PREVIEW

    InvokeFunctionInput fields

    id ID!

    Identifier of the function to invoke.

    context String

    JSON payload passed directly to the function Example: {"orderId": "12345", "action": "process"} If omitted, an empty string is passed to the function.

    Return Fields

    invocation FunctionInvocation PREVIEW

    Function invocation if the function was invoked.

    userErrors [InvokeFunctionError!] PREVIEW

    User errors preventing function from being invoked.

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.