DCS / Developers / API Reference
v1 · OpenAPI 3.0 · signed responses

Every endpoint. Every parameter. Every receipt.

Base URL: https://api.dcsai.ai/v1. Auth: Authorization: Bearer dcs_••••. Every response includes x-dcs-receipt-cid. The full OpenAPI 3.0 spec is at /openapi.json.

🤖 Agents

List, run, and stream the 641-agent catalog.

MethodPathPurpose
GET/agentsList all 641 agents with metadata, capabilities, pricing tier
GET/agents/:idAgent details — input/output schema, modalities, sample I/O
POST/agents/:id/runRun agent with input; returns output + receipt_cid
POST/agents/:id/streamSSE streaming variant of /run
POST/chat/completionsOpenAI-compatible chat endpoint (drop-in for OpenAI SDK)

⚡ Compute

Submit jobs to the reverse-auction GPU lane.

MethodPathPurpose
POST/compute/jobsSubmit a job (GPU type, hours, tolerance). Returns job_id + bid window
GET/compute/jobs/:idJob status, winning bid, worker SBT, ETA
GET/compute/jobs/:id/outputJob output + signed completion receipt
DEL/compute/jobs/:idCancel a job (only if status = queued)
GET/compute/workersList active workers + their trust scores + current load
GET/compute/pricingReal-time price quote for a given GPU + duration

📦 Storage

Content-addressed storage with Filecoin pinning.

MethodPathPurpose
POST/storage/uploadUpload a file; returns CID + signed pin receipt
GET/storage/:cidFetch by CID (gateway-routed, no auth needed for public CIDs)
GET/storage/:cid/statusReplication status, tier, pin expiry, verifications
PUT/storage/:cid/tierChange replication tier (1×/3×/5×, 1-99 year retention)
DEL/storage/:cidErasure request (subject to retention policy) — signed erasure receipt

🧠 Memory

Per-tenant semantic memory with RTI-grade consent.

MethodPathPurpose
POST/memory/storeStore a memory (text + metadata + consent token)
GET/memory/searchSemantic search via pgvector cosine. ?q=...&top=10
POST/memory/recallRecall by structured query (key, time range, source)
DEL/memory/:idForget (right-to-erasure) — signed forget receipt
GET/memory/audit/:tenantFull read/write history for compliance — signed CSV export

📜 Receipts

The cross-cutting substrate. No auth needed to verify.

MethodPathPurpose
GET/receipts/:cidPublic receipt fetch — anyone can call, no auth
POST/receipts/verifyVerify a receipt by CID + check chain integrity
GET/receipts/chain/:startWalk the receipt chain from start CID forward
GET/receipts/keysPublic signing keys + their validity windows

🌐 Federation

Cross-network peer protocol.

MethodPathPurpose
GET/federation/peersList active federated peers + their conformance levels
POST/federation/handshakeHELLO message — peer announcement + capability exchange
POST/federation/offerOFFER work to a peer agent (cross-network)
POST/federation/settleCross-peer settlement on Base mainnet (with 2.5% commission)
Auth + rate limits

Reference essentials.

Auth modes

Bearer API key, Supabase JWT (browser), MCP token (Claude Desktop / Cursor / Windsurf). All three forms valid on every endpoint.

Rate limits

Free: 60 req/min. Pro: 600 req/min. Enterprise: custom. Burst headroom managed automatically. Rate-limit headers returned on every response.

Errors

RFC 7807 Problem Details — every error includes type, title, status, detail, instance. x-dcs-error-cid ties the error to a signed event.

Read the OpenAPI spec. Generate clients. Ship.

Full machine-readable spec at /openapi.json. Curl-friendly, SDK-friendly, MCP-friendly.

Download spec →Agents API tutorial