Triggers
List all triggers
GET /api/workspaces/{workspaceId}/triggers
List all created triggers in the workspace
Path parameters
-
workspaceId
string base64uuid RequiredThe workspace ID
Returns
200
OK
Create a new trigger for a template
POST /api/workspaces/{workspaceId}/triggers
Creates a new trigger for a template
Path parameters
-
workspaceId
string base64uuid RequiredThe workspace ID
Body parameters
Template URL or body
-
title
string Required -
templateName
string name Required -
defaultArguments
object
Returns
200
OK
Retrieve a trigger
GET /api/triggers/{triggerId}
Retrieves a trigger from a workspace by its ID
Path parameters
-
triggerId
string base64uuid RequiredID of the trigger
Returns
200
OK
Delete a trigger
DELETE /api/triggers/{triggerId}
Deletes a trigger from a workspace by its ID
Path parameters
-
triggerId
string base64uuid RequiredID of the trigger
Returns
200
OK
Invoke a trigger
POST /api/triggers/{triggerId}/{secretKey}
Invoke a trigger to create a notebook from the associated template
Path parameters
-
triggerId
string base64uuid RequiredID of the trigger
-
secretKey
string RequiredSecret key of the trigger (included in the response when the trigger is first created)
Returns
200
OK