Skip to main content
POST
Execute Custom Function
Execute a custom function directly with the provided parameters. The function must be in ready status. Parameters are passed as key-value pairs matching the function’s input_schema.

Path Parameters

function_id
string
required
Unique identifier of the custom function to execute

Request Body

Pass parameters as key-value pairs matching the function’s input_schema. The exact fields depend on the function definition.

Response

Returns the function execution result.

Example Request

Notes

  • The function must be in ready status — functions in analysing or error status cannot be executed
  • Parameters must match the function’s input_schema (see Get Custom Function)
  • Useful for testing functions before attaching them to agents

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

function_id
string
required

Response

Successful Response