{
"id": "<string>",
"type": "run.blocked",
"timestamp": "2023-11-07T05:31:56Z",
"workspaceId": "<string>",
"data": {
"runId": "<string>",
"provider": "<string>",
"endpoint": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"billing": {
"reportedCost": {
"currency": "USD",
"value": 4503599627370495
}
},
"status": "BLOCKED",
"blockedBy": {
"controlId": "<string>",
"snapshot": {
"type": "WORKSPACE_BUDGET",
"limitAmount": 123,
"availableAmount": 123,
"heldAmount": 123,
"spentAmount": 123,
"windowStart": "<string>"
},
"message": "<string>",
"requiredAmount": 123
},
"startedAt": "2023-11-07T05:31:56Z"
}
}Webhooks
Runblocked
A workspace control (wallet balance, budget, run cap) blocked a run. Sent as a signed JSON POST to every enabled endpoint subscribed to it.
WEBHOOK
run.blocked
{
"id": "<string>",
"type": "run.blocked",
"timestamp": "2023-11-07T05:31:56Z",
"workspaceId": "<string>",
"data": {
"runId": "<string>",
"provider": "<string>",
"endpoint": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"billing": {
"reportedCost": {
"currency": "USD",
"value": 4503599627370495
}
},
"status": "BLOCKED",
"blockedBy": {
"controlId": "<string>",
"snapshot": {
"type": "WORKSPACE_BUDGET",
"limitAmount": 123,
"availableAmount": 123,
"heldAmount": 123,
"spentAmount": 123,
"windowStart": "<string>"
},
"message": "<string>",
"requiredAmount": 123
},
"startedAt": "2023-11-07T05:31:56Z"
}
}Headers
Body
application/json
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Response
Gone. Monid disables the endpoint and stops sending.