{
 "openapi": "3.1.0",
 "info": {
  "title": "Work Processes (Platform)",
  "version": "20261030b",
  "description": "Every request, background worker and batch run on every container, each tied to the database backend it is using, and every backend tied back to the work that sent it. Cancel a runaway statement or end a stuck backend."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {}
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/platform/monitor-processes": {
   "get": {
    "summary": "Read work processes",
    "operationId": "action_monitor_processes_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/platform/monitor-processes/cancel": {
   "post": {
    "summary": "Cancel",
    "operationId": "action_monitor_processes_0_5",
    "description": "Body keys: kind, id, instance; items: [{ kind, id }]",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/platform/monitor-processes/{pid}": {
   "delete": {
    "summary": "Delete work processes",
    "operationId": "action_monitor_processes_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}