functions

Function Metadata Update

patch/functions/{function_id}

Path parameters

function_idstring required

Headers

x-notte-request-originstring nullable
x-notte-sdk-versionstring nullable

Request body

instructionsstring nullable
self_healingboolean nullable

Response

Successful Response

function_idstring required

The ID of the function

created_atstring date-time required

The creation time of the workflow

updated_atstring date-time required

The last update time of the workflow

latest_versionstring required

The version of the workflow

versionsstring[] required

The versions of the workflow

statusstring required

The status of the workflow

namestring nullable

The name of the workflow

descriptionstring nullable

The description of the workflow

sharedboolean

Whether the workflow is public and can beshared with other users

reference_workflow_idstring nullable

The ID of the reference workflow (i.e wether the workflow was forked from another workflow or not)

publishedboolean
required_secretsstring[]
sourcestring nullable

Where the function was created from, stamped at creation. Read-only.

self_healingboolean

Whether the build is finished and the function may be healed automatically. Can only be enabled on a function that has a thread for self-heal to resume.

instructionsstring nullable

Builder's operating notes: typical run duration, known failure modes, which parameters matter.

schedule_cronstring nullable

Cron expression the function runs on, or null if it is not scheduled.

schedule_variablesobject nullable

Variables passed to each scheduled run, or null if it is not scheduled.

schedule_state'enabled' | 'paused' nullable

'enabled' while the schedule fires, 'paused' once the backend disabled it after a deterministic failure (exhausted credit, or an inactive function), null when there is no schedule.

workflow_idstring required

Changes