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

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

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

console.log(extensions);
[
  {
    "id": "<string>",
    "name": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "size_bytes": 123,
    "last_used_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

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

Response

List of extensions

id
string
required

Unique identifier for the extension

created_at
string<date-time>
required

Timestamp when the extension was created

size_bytes
integer
required

Size of the extension archive in bytes

name
string | null

Optional, easier-to-reference name for the extension. Must be unique within the organization.

last_used_at
string<date-time> | null

Timestamp when the extension was last used

I