import { koxyAPI } from 'koxy-js';
// Initialize Cloudspace
const api = new koxyAPI("CLOUDSPACE_TOKEN");
// Set request parameters
const parameters = {
"prompt": "hello",
"userId": "user_123"
};
// Run API flow (running a flow called "main")
const data = await api.run("main", parameters);