v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01302395850.8 KB
v2
presets

Setup Trigger

Sets up a webhook-triggered LibraryAgentPreset for a LibraryAgent. Returns the correspondingly created LibraryAgentPreset with webhook_id set.

post/api/library/presets/setup-trigger

Request body

namestring required
descriptionstring
graph_idstring required
graph_versioninteger required
trigger_configobject required
agent_credentialsobject

Response

Successful Response

graph_idstring required
graph_versioninteger required
inputsobject required
credentialsobject required
namestring required
descriptionstring required
is_activeboolean
idstring required
user_idstring required
created_atstring date-time required
updated_atstring date-time required
organization_idstring nullable
team_idstring nullable
webhook_idstring nullable