Get function schema
GET
Get function schema

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

functionID
string
required

Query Parameters

projectID
string
required

The ID of the project to operate on.

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

Response

200 - application/json

Returns the function's inputs, output variables, and exit path names.

inputs
object[]
required

The inputs execute takes, one per input variable, sorted by name. Every one is a required string.

outputs
object[]
required

The output variables the function may return, sorted by name.

paths
string[]
required

The exit path names the function may return with next: { path }, in path order.

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.