.do
Core Concepts

objects

Store objects at 300+ edge locations with automatic TypeScript types. Handle files, JSON, and binary data with AI-native indexing. Sub-50ms access globally, zero config.

objects

Objects.do

Overview

The objects 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 objects operations follow the semantic $.Objects.verb.Object pattern:

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

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

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

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

Quick Start

import { objects } from 'sdk.do'

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

Access Methods

The objects primitive is accessible through multiple interfaces:

SDK

TypeScript/JavaScript library for programmatic access:

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

SDK Documentation

CLI

Command-line interface for terminal operations:

do objects <command> [options]

CLI Documentation

API

REST/RPC endpoints for HTTP integration:

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

API Documentation

MCP

Model Context Protocol for AI assistant integration:

Use objects primitives with AI assistants via MCP

MCP Documentation

See other primitives in the core-concepts category.