Sandboxes Python Sdk

Use the Koyeb Python SDK (koyeb-sdk) to create and manage sandboxes programmatically. Use when the user wants Python sandbox automation.

koyeb Updated

File contents

Koyeb Sandboxes (Python SDK)

When to use

Use this skill when the user asks to manage Koyeb sandboxes from Python using the official SDK.

Prerequisites

  • Python environment
  • Package installed: koyeb-sdk
  • API token available as KOYEB_API_TOKEN

Workflow

  1. Install the SDK package.
  2. Configure authentication using KOYEB_API_TOKEN.
  3. Create, start, or stop sandboxes as needed.
  4. Execute commands or retrieve logs/status through the SDK.
  5. Clean up sandboxes when finished.

Examples

  • Install the SDK: pip install koyeb-sdk
  • Use token auth: set KOYEB_API_TOKEN in your environment

References

For detailed flags and SDK usage, see references/koyeb-sandbox-python-sdk.md.

  • references/koyeb-sdk-auth.md
  • references/koyeb-sandbox-python-sdk.md

koyeb/koyeb-skills/tree/main/plugins/koyeb/skills/sandboxes-python-sdk commit f628a0f34f

Frequently asked questions

npx skillmds@latest add koyeb/sandboxes-python-sdk