.do
Infrastructure

colo

Deploy directly to Cloudflare's colocation network with <10ms latency worldwide. Access 300+ edge locations, automatic failover, and bare-metal performance at cloud scale.

colo

Colo.do

Overview

The colo primitive is part of the .do platform's semantic API system. It follows the $.Subject.verb.Object pattern for consistent, intuitive interactions across SDK, CLI, API, and MCP interfaces.

Semantic Pattern

All colo operations follow the semantic $.Colo.verb.Object pattern:

import { $, colo } from 'sdk.do'

// Create resources
await $.Colo.create.Resource({ /* config */ })

// Query data
await $.Colo.get.Data({ /* params */ })

// Update state
await $.Colo.update.Status({ /* changes */ })

Quick Start

import { colo } from 'sdk.do'

// Initialize and use the primitive
const result = await colo.operation({
  // configuration parameters
})

Access Methods

The colo primitive is accessible through multiple interfaces:

SDK

TypeScript/JavaScript library for programmatic access:

import { colo } from 'sdk.do'
await colo.method({ /* ... */ })

SDK Documentation

CLI

Command-line interface for terminal operations:

do colo <command> [options]

CLI Documentation

API

REST/RPC endpoints for HTTP integration:

curl -X POST https://api.do/v1/colo \
  -H "Content-Type: application/json" \
  -d '{"key":"value"}'

API Documentation

MCP

Model Context Protocol for AI assistant integration:

Use colo primitives with AI assistants via MCP

MCP Documentation

See other primitives in the infrastructure category.