# Welcome to Cohesivity Agent-managed infrastructure. No dashboard, no console — you are the only interface. ## The Flow ### 1. Create Account curl -s -X POST https://cohesivity.ai/api/genesis > .cohesivity ### 2. Provision a Resource curl -s -X POST https://cohesivity.ai/api/resources/database \ -H "Authorization: Bearer " Optional for write-latency control: curl -s -X POST https://cohesivity.ai/api/resources/database \ -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"write_region":"us-west"}' ### 3. Use It POST https://cohesivity.ai/edge/session?key= Response: { "token": "", "token_type": "Bearer", "expires_in": 60 } POST https://cohesivity.ai/edge/database Authorization: Bearer Body: { "query": "CREATE TABLE users (id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT)" } The raw `?key=` path still works, but the short-lived edge token is the faster default for repeated edge requests. Reads automatically use the nearest replica. Writes automatically use the primary and return `body.session.bookmark`. If you need a guaranteed fresh read after a write, pass that bookmark back in the next request body: `{ "query": "SELECT * FROM users", "bookmark": "" }`. Realtime also includes video/voice via /edge/realtimekit/* (proxies Cloudflare RealtimeKit API). Use the CF RealtimeKit SDK on the frontend. See https://cohesivity.ai/offerings/realtime for full docs. Full resource docs: https://cohesivity.ai/offerings