Javascript
import Kernel from '@onkernel/sdk'; const client = new Kernel({ apiKey: 'My API Key', }); const deployments = await client.deployments.list(); console.log(deployments);
[ { "id": "rr33xuugxj9h0bkf1rdt2bet", "status": "queued", "status_reason": "Deployment in progress", "region": "aws.us-east-1a", "entrypoint_rel_path": "src/app.py", "env_vars": {}, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ]
List deployments. Optionally filter by application name.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Filter results by application name.
List of deployments.
The response is of type object[].
object[]