Hooks

Creates a new hook configuration

post/v1/orgs/{org_id}/hooks

Request

  • Base URL
    https://api.arcade.dev
  • Auth
    API key in header Authorization

Path parameters

org_idstring required

Organization ID

Request body

failure_mode'fail_closed' | 'fail_open' required
hook_point'tool.access' | 'tool.pre' | 'tool.post' required
namestring required
phase'before' | 'after' required
plugin_idstring required
priorityinteger
status'inactive' | 'active'
timeout_msinteger

Response

Created

cache_enabledboolean
cache_ttl_msinteger
created_atstring
failure_mode'fail_closed' | 'fail_open'
hook_pointstring
idstring
namestring
phase'before' | 'after'
plugin_idstring
priorityinteger
status'inactive' | 'active'
timeout_msinteger
updated_atstring
versioninteger

Changes