Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Orq MCP is live: Use natural language to interrogate traces, spot regressions, and experiment your way to optimal AI configurations. Available in Claude Desktop, Claude Code, Cursor, and more. Start now →
SDK reference for the Router.Moderations API, available in Node.js and Python.
from orq_ai_sdk import Orq import os with Orq( api_key=os.getenv("ORQ_API_KEY", ""), ) as orq: res = orq.router.moderations.create(input=[], model="Fiesta") # Handle response print(res)
import { Orq } from "@orq-ai/node"; const orq = new Orq({ apiKey: process.env["ORQ_API_KEY"] ?? "", }); async function run() { const result = await orq.router.moderations.create({ input: [], model: "Fiesta", }); console.log(result); } run();
Show Parameters
{ "input": Union[str, List[str]], # required "model": str, # required }
{ input: string | string[]; // required model: string; // required }
Show Response
{ "id": str, "model": str, "results": List[Union[Results1, Results2]], }
{ id: string; model: string; results: (Results1 | Results2)[]; }
Was this page helpful?