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
expert_idstring nullable

Changes

Changed in 4 of the 165 revisions of this API.56

  • ae1be5efc67a11See the full diff
    • ●

      added the new device_code enum value to the // response property for the response status

      response-property-enum-value-added

    • ○

      added the new device_code enum value to the request property //

      request-property-enum-value-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    This revision also has 96 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog