v2
presets

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

  • The document declares no server URL.
  • Auth
    HTTP bearer

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

    • info

      added to the response property anyOf list for the response status

    • info

      removed from the response property anyOf list for the response status

    • warning

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

    • info

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