Skip to main content
GET
/
apps
JavaScript
import Kernel from '@onkernel/sdk';

const client = new Kernel({
  apiKey: 'My API Key',
});

const apps = await client.apps.list();

console.log(apps);
[
  {
    "id": "rr33xuugxj9h0bkf1rdt2bet",
    "app_name": "my-app",
    "version": "1.0.0",
    "region": "aws.us-east-1a",
    "deployment": "<string>",
    "actions": [
      {
        "name": "analyze"
      }
    ],
    "env_vars": {}
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

app_name
string

Filter results by application name.

version
string

Filter results by version label.

Response

List of apps.

id
string
required

Unique identifier for the app version

Example:

"rr33xuugxj9h0bkf1rdt2bet"

app_name
string
required

Name of the application

Example:

"my-app"

version
string
required

Version label for the application

Example:

"1.0.0"

region
string
required

Deployment region code

Allowed value: "aws.us-east-1a"
Example:

"aws.us-east-1a"

deployment
string
required

Deployment ID

actions
object[]
required

List of actions available on the app

env_vars
object
required

Environment variables configured for this app version

I