| Name | Type | Description |
|---|---|---|
webhook* | prompt_webhook_test_params.Webhook | Base schema for prompt webhooks. |
extra_headers | Headers | None | Default: NoneSend extra headers |
extra_query | Query | None | Default: NoneAdd additional query parameters to the request |
extra_body | Body | None | Default: None |
timeout | float | httpx.Timeout | None | NotGiven | Default: not_given |
Test a specific prompt webhook.
Sends the sample payload to the webhook configuration in the request body without saving it, but only if the webhook's triggers include the payload's event and its prompt filters match the payload's prompt. Otherwise nothing is sent. Fails if the destination does not accept the payload.
Add additional JSON properties to the request
Override the client-level default timeout for this request, in seconds