Body
application/json
This is the schema of what env0 sends to your endpoint when a "Budget Exceeded" event has been triggered
Response
200
Return a 200 status to indicate that the data was received successfully
{
"type": "<string>",
"source": "<string>",
"id": "<string>",
"time": "<string>",
"datacontenttype": "<string>",
"data": {
"project": {
"url": "<string>",
"name": "<string>",
"description": "<string>",
"organizationId": "<string>",
"parentProjectId": "<string>",
"id": "<string>",
"createdBy": "<string>",
"createdByUser": {
"email": "<string>",
"user_id": "<string>",
"created_at": "<string>",
"app_metadata": {},
"picture": "<string>",
"name": "<string>",
"last_login": "<string>",
"given_name": "<string>",
"family_name": "<string>"
},
"isArchived": true,
"hierarchy": "<string>"
},
"organization": {
"url": "<string>",
"maxTtl": "<string>",
"defaultTtl": "<string>",
"doNotReportSkippedStatusChecks": true,
"doNotConsiderMergeCommitsForPrPlans": true,
"enableOidc": true,
"enforcePrCommenterPermissions": true,
"projectCustomFlowsPolicy": "MERGE_WITH_TEMPLATES",
"allowEnv0Secrets": true,
"requireApprovalForPrApplies": true,
"id": "<string>",
"name": "<string>",
"description": "<string>",
"photoUrl": "<string>",
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"mode": "paying",
"trialEnd": "2023-11-07T05:31:56Z",
"role": "<string>",
"isSelfHostedK8s": true
},
"budget": {
"url": "<string>",
"id": "<string>",
"projectId": "<string>",
"amount": 123,
"timeframe": "WEEKLY",
"thresholds": [
123
]
},
"actualCost": 123
}
}
This webhook is fired when a “Budget Exceeded” event has been triggered
{
"type": "<string>",
"source": "<string>",
"id": "<string>",
"time": "<string>",
"datacontenttype": "<string>",
"data": {
"project": {
"url": "<string>",
"name": "<string>",
"description": "<string>",
"organizationId": "<string>",
"parentProjectId": "<string>",
"id": "<string>",
"createdBy": "<string>",
"createdByUser": {
"email": "<string>",
"user_id": "<string>",
"created_at": "<string>",
"app_metadata": {},
"picture": "<string>",
"name": "<string>",
"last_login": "<string>",
"given_name": "<string>",
"family_name": "<string>"
},
"isArchived": true,
"hierarchy": "<string>"
},
"organization": {
"url": "<string>",
"maxTtl": "<string>",
"defaultTtl": "<string>",
"doNotReportSkippedStatusChecks": true,
"doNotConsiderMergeCommitsForPrPlans": true,
"enableOidc": true,
"enforcePrCommenterPermissions": true,
"projectCustomFlowsPolicy": "MERGE_WITH_TEMPLATES",
"allowEnv0Secrets": true,
"requireApprovalForPrApplies": true,
"id": "<string>",
"name": "<string>",
"description": "<string>",
"photoUrl": "<string>",
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"mode": "paying",
"trialEnd": "2023-11-07T05:31:56Z",
"role": "<string>",
"isSelfHostedK8s": true
},
"budget": {
"url": "<string>",
"id": "<string>",
"projectId": "<string>",
"amount": 123,
"timeframe": "WEEKLY",
"thresholds": [
123
]
},
"actualCost": 123
}
}
This is the schema of what env0 sends to your endpoint when a "Budget Exceeded" event has been triggered
Return a 200 status to indicate that the data was received successfully
Was this page helpful?