Skip to main content

Documentation Index

Fetch the complete documentation index at: https://tbd-6fc993ce-mason-add-copy-page-to-context-menu.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Via API

After you invoke an action, you can stream the invocation’s logs in real time:
import { Kernel } from '@onkernel/sdk';

const kernel = new Kernel();

const logs = await kernel.invocations.follow(invocation_id);

Via CLI

You can also stream the logs to your terminal via the CLI:
kernel logs <app_name> --follow
If you don’t specify --follow, the logs will print to the terminal until 3 seconds of inactivity and then stops. You can get logs for a specific invocation by adding:
-i --invocation <invocation id>    Show logs for a specific invocation of the app.