Create Hook
Creates a new hook in Cradl AI.
POST
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
string
Hook name.
string
Hook description.
string
Trigger type for the hook.
boolean
Whether the hook is enabled.
string
Function identifier used by the hook.
string
Action to run when the hook evaluates true.
string
Action to run when the hook evaluates false.
object
Hook configuration object.
object
Metadata attached to the hook.