{ "opencollection": "1.0.0", "info": { "name": "Kernel API Keys Deployments API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Deployments", "type": "folder" }, "items": [ { "info": { "name": "List deployments", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/deployments", "params": [ { "name": "app_name", "value": "", "type": "query", "description": "Filter results by application name." }, { "name": "app_version", "value": "", "type": "query", "description": "Filter results by application version. Requires app_name to be set." }, { "name": "limit", "value": "", "type": "query", "description": "Limit the number of deployments to return." }, { "name": "offset", "value": "", "type": "query", "description": "Offset the number of deployments to return." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List deployments. Optionally filter by application name and version." }, { "info": { "name": "Create a deployment", "type": "http" }, "http": { "method": "POST", "url": "https://api.onkernel.com/deployments", "body": { "type": "multipart-form", "data": [] }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new deployment." }, { "info": { "name": "Get deployment details", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/deployments/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Deployment ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get information about a deployment's status." }, { "info": { "name": "Delete a deployment", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.onkernel.com/deployments/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Deployment ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Stops a running deployment and marks it for deletion. If the deployment is already in a terminal state (stopped or failed), returns immediately." }, { "info": { "name": "Stream deployment events via SSE", "type": "http" }, "http": { "method": "GET", "url": "https://api.onkernel.com/deployments/:id/events", "params": [ { "name": "id", "value": "", "type": "path", "description": "The deployment ID to follow." }, { "name": "since", "value": "", "type": "query", "description": "Show logs since the given time (RFC timestamps or durations like 5m)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Establishes a Server-Sent Events (SSE) stream that delivers real-time logs and\nstatus updates for a deployment. The stream terminates automatically\nonce the deployment reaches a terminal state.\n" } ] } ], "bundled": true }