← Back to Massive Web
POST/ai/batches
Batch AI Completions
Queue multiple LLM conversations (up to 1000 prompts).
Massive Web·$0.3125 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "joinmassive",
path: "/ai/batches",
body: {
"prompts": []
}
});
console.log(output);Body parameters
promptsrequired
array
Array of chat prompts (max 1000)
model
string
AI model: chatgpt, gemini, perplexity, copilot
country
string
Two-letter ISO country code
language
string
Language name or ISO code
format
string
Output format: json or rendered