• Platform
  • Solutions
  • Developers
  • Showcase
  • Pricing
  • Company
Get Started
  • Platform

    • Overview
    • Conductor
    • Architecture
    • Security
    • Status

    Capabilities

    • All 276
    • AI & ML
    • Storage
    • Auth & Identity
    • Billing
    • Search
    • Compute
    • Media

    SDK

    • SDK Overview
    • Face Modules
    • Quickstart
    • Playground
    • CLI
  • By Role

    • For Startups
    • For Enterprise
    • For Agencies
    • For Developers
    • For CTOs

    By Industry

    • Fintech
    • E-Commerce
    • Healthcare
    • Media
    • SaaS
    • Education

    By Use Case

    • AI Applications
    • Internal Tools
    • Marketplaces
    • Automation
  • Documentation

    • Getting Started
    • API Reference
    • Authentication
    • Webhooks
    • Templates
    • Sandbox

    Integrations

    • All Integrations
    • Stripe
    • OpenAI
    • AWS
    • GitHub
    • Build Your Own

    Resources

    • Technical Guides
    • Architecture Patterns
    • Project Templates
    • Glossary
    • Platform Changelog
    • SDK Changelog
  • Featured Demos

    • Showcase Gallery
    • SaaS Dashboard
    • AI Chat
    • E-Commerce Store
    • Admin Panel
    • Marketplace

    Case Studies

    • All Case Studies
    • Catalist — Fintech
    • Zumar — E-Commerce
    • Nova — AI SaaS
    • Meridian — Media
    • Atlas — Operations

    Enterprise

    • Enterprise Overview
    • Security
    • Compliance
    • SLA & Uptime
    • Deployment Options
    • Startup Program
  • Plans

    • Overview
    • Compare Plans
    • Pricing Calculator
    • Enterprise Pricing

    Compare

    • EEv3 vs Agencies
    • EEv3 vs No-Code
    • EEv3 vs Freelancers
    • EEv3 vs In-House
    • EEv3 vs Firebase

    Services

    • All Services
    • Custom Development
    • Platform Hosting
    • Consulting
    • AI Integration
  • About

    • About VertexStudio
    • Team
    • Culture
    • The Group
    • Partners
    • Testimonials

    Careers

    • Open Roles
    • Engineering

    More

    • Contact
    • Newsroom
    • Brand Assets
    • Trust Center
    • Legal
  • Get Started

Getting Started

  • Introduction
  • Getting Started
  • Templates

API

  • API Reference
  • Face API
  • Authentication
  • Webhooks
  • Error Handling
  • Rate Limits
  • Streaming
  • Batch Operations

Tools

  • Sandbox

Migration

  • Migration Guide
  • From Firebase
  • From Supabase

Changelog

  • SDK Changelog

Getting Started

  • Introduction
  • Getting Started
  • Templates

API

  • API Reference
  • Face API
  • Authentication
  • Webhooks
  • Error Handling
  • Rate Limits
  • Streaming
  • Batch Operations

Tools

  • Sandbox

Migration

  • Migration Guide
  • From Firebase
  • From Supabase

Changelog

  • SDK Changelog

Batch Operations

Batch Operations Guide

The Batch API lets you send multiple /do calls in a single request. Operations run in parallel, reduce rate limit consumption, and optionally execute as an all-or-nothing transaction.

Batch Request Format

Send an array of operations to the /do/batch endpoint. Each operation has the same face, action, payload shape as a regular /do call.

POST/do/batch
POST https://api.evileye.dev/do/batch
Content-Type: application/json
Authorization: Bearer sk_live_...

{
  "operations": [
    {
      "face": "auth",
      "action": "create-user",
      "payload": { "email": "alice@acme.com", "role": "admin" }
    },
    {
      "face": "auth",
      "action": "create-user",
      "payload": { "email": "bob@acme.com", "role": "member" }
    },
    {
      "face": "auth",
      "action": "assign-role",
      "payload": { "email": "alice@acme.com", "role": "billing-admin" }
    }
  ],
  "options": {
    "transaction": false
  }
}

Batch Response

The response contains a results array with per-operation status, data, and timing. Results are returned in the same order as the operations.

batch-response.json
{
  "results": [
    {
      "status": "success",
      "data": { "userId": "usr_abc", "email": "alice@acme.com" },
      "meta": { "timing": 45 }
    },
    {
      "status": "success",
      "data": { "userId": "usr_def", "email": "bob@acme.com" },
      "meta": { "timing": 38 }
    },
    {
      "status": "success",
      "data": { "assigned": true },
      "meta": { "timing": 22 }
    }
  ],
  "meta": {
    "totalTiming": 105,
    "requestId": "req_batch_xyz789"
  }
}

SDK Batch Usage

The SDK provides a typed ee.batch() method. Each result in the destructured array is typed to its corresponding operation.

batch.ts
const results = await ee.batch([
  ee.auth.createUser({ email: 'alice@acme.com', role: 'admin' }),
  ee.auth.createUser({ email: 'bob@acme.com', role: 'member' }),
  ee.auth.assignRole({ email: 'alice@acme.com', role: 'billing-admin' }),
])

// Each result is typed to its operation
const [alice, bob, roleAssignment] = results
console.log(alice.data.userId) // usr_abc

Transaction Support

Pass transaction: true to enable all-or-nothing mode. If any operation fails, all previously successful operations are rolled back.

transaction.ts
// All-or-nothing: if any operation fails, all are rolled back
const results = await ee.batch(
  [
    ee.billing.createSubscription({ plan: 'business', entity: 'acme' }),
    ee.auth.createUser({ email: 'admin@acme.com', role: 'owner' }),
    ee.storage.createBucket({ name: 'acme-uploads' }),
  ],
  { transaction: true },
)

Limits

LimitValue
Max operations per batch100
Max request body size10 MB
Timeout per operation30s
Total batch timeout120s

Related

  • API Reference— single /do endpoint documentation
  • Rate Limits— batch calls count as a single rate limit hit
VertexStudio

The platform behind every company. 276 capabilities through one API.

Platform

  • Overview
  • Conductor
  • Capabilities
  • Architecture
  • Security
  • Status
  • Changelog

SDK & Docs

  • SDK
  • Face Modules
  • Quickstart
  • API Reference
  • Documentation
  • Integrations

Solutions

  • For Startups
  • For Enterprise
  • For Agencies
  • For Developers
  • Showcase
  • Case Studies

Services

  • Custom Development
  • Platform Hosting
  • API Access
  • Consulting
  • AI Integration

Company

  • About
  • Team
  • Careers
  • Partners
  • Newsroom
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • DPA
  • Acceptable Use
  • Trust Center
© 2026 VertexStudio. All rights reserved.
Privacy·Terms·Trust Center
Built with EEv3