cloudcli
    cloudcli
    • CloudCLI API Documentation
    • List environments
      GET
    • Create environment
      POST
    • Get environment
      GET
    • Delete environment
      DELETE
    • Start environment
      POST
    • Stop environment
      POST
    • Get SSH credentials
      GET
    • Execute AI agent
      POST
    • Schemas
      • Schemas
        • Environment
        • CreateEnvironmentRequest
        • SSHCredentials
        • AgentExecuteRequest
        • Error

    CloudCLI API Documentation

    Quick Start#

    1. Create an API Key#

    1.
    Go to https://cloudcli.ai/api-keys
    2.
    Click "Create New API Key"
    3.
    Give it a descriptive name (e.g., "CI/CD Pipeline", "Local Development")
    4.
    Save the key immediately - you'll only see it once!

    2. Make Your First Request#

    Base URL#

    https://cloudcli.ai/api/v1

    Authentication#

    All requests require an API key in the X-API-KEY header:

    Core Concepts#

    Environments#

    Each environment is an isolated containerized workspace with:
    Subdomain: Unique URL like myproject-abc123.cloudcli.ai
    SSH Access: Direct terminal access to your environment
    Workspace: /workspace/ directory for your projects
    IDE: Pre-installed Claude Code UI and development tools

    Project Structure#

    Inside each environment, projects live in /workspace/:
    /workspace/
    ├── backend/      ← Your cloned GitHub repo (or created project)
    ├── frontend/     ← Another project
    └── scripts/      ← Another project
    When using the Agent API, specify just the project name (e.g., "backend"), not the full path.
    Modified at 2025-11-12 15:35:11
    Next
    List environments
    Built with