cloudcli
    cloudcli
    • CloudCLI API Documentation
    • Environments
      • List environments
        GET
      • Get environment
        GET
      • Create environment
        POST
      • Delete environment
        DELETE
      • Get SSH credentials
        GET
      • Start environment
        POST
      • Stop environment
        POST
    • Agents
      • Execute AI agent
        POST
      • AI Agent models
        GET
    • Schemas
      • Schemas
        • AgentModels
        • 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