Create a new prompt webhook.
LangSmith sends a POST request to the webhook URL for each event listed in triggers on the prompts it matches. A workspace can have one prompt webhook unless its limit was raised; creating one past the limit returns 400.
create(body: PromptWebhookCreateParams, options: RequestOptions): APIPromise<PromptWebhook>| Name | Type | Description |
|---|---|---|
body* | PromptWebhookCreateParams | |
options | RequestOptions |