API reference · schema
PortkeyWebhookRequest
6 fields · used by 0 operations
Last reviewed 2026-10-16
Fields
| Field | Type | Meaning |
|---|---|---|
request | object | |
response | object | |
provider | string or null | |
requestType | string or null | |
metadata | object | |
eventType | string | default "beforeRequestHook" |
Smallest valid example
{
"eventType": "beforeRequestHook"
}JSON Schema
Show the raw definition
{
"properties": {
"request": {
"additionalProperties": true,
"type": "object",
"title": "Request"
},
"response": {
"additionalProperties": true,
"type": "object",
"title": "Response"
},
"provider": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Provider"
},
"requestType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Requesttype"
},
"metadata": {
"additionalProperties": true,
"type": "object",
"title": "Metadata"
},
"eventType": {
"type": "string",
"title": "Eventtype",
"default": "beforeRequestHook"
}
},
"type": "object",
"title": "PortkeyWebhookRequest"
}Try CAIN-42 on your own agents
Create a free account and every new account starts with a 30-day trial of the full platform. Or try the sandbox first, with no account at all.
Create a free account → · Try the sandbox · See the whole ecosystem