functions

Function Run Start

Changed on
post/functions/{function_id}/runs/start

Request

  • Base URL
    https://api.notte.cc (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: token

Path parameters

function_idstring required

Headers

x-notte-api-keystring required
x-db-previewstring nullable
x-notte-request-originstring nullable
x-notte-sdk-versionstring nullable

Request body

workflow_idstring required

The ID of the function to run

variablesobject

The variables to run the function with

runtime'standard' | 'extended' nullable

Override the saved function runtime; omit to inherit its default

streamboolean

Whether to stream logs, or only return final response

callback_urlstring nullable

Optional https URL to POST the final status to once this reaches a terminal state, instead of polling for it. The body is the status endpoint's response plus an event field.

versionstring nullable

Run this saved version of the function instead of the latest. Only the function's owner can choose a version other than the latest.

Response

Successful Response

unknown required

Changes