See llms.txt for all machine-readable content.
Give an AI coding agent one authenticated webhook for structured LLM batches. The agent prepares prompts and JSON schemas in a script; n8n processes the first 50 calls in parallel, returns ordered results, and records who used the service.
X-API-Key header and a calls array. Each call contains systemPrompt, userMessage, a JSON-encoded jsonSchema string, and an aiMode of small or big. Use one mode per request.users Data Table. Unknown tokens receive HTTP 401. For accepted requests, Insert log stores the user's email and the full submitted calls payload, including prompts, schemas, and modes.small to GPT 6 Luna and big to Gemini 3.8 Flash. Structured Output Parser applies each call's schema. Adjust the chain's batch size and delay to match provider rate limits.{query, output} entries, one per processed call. query echoes the submitted input; callers should inspect each output and handle item-level failures.users Data Table with string columns email and auth_token. Create a logs Data Table with string columns user and log in the same n8n project.users row per person. For this example, generate a unique 12-character alphanumeric auth_token with a cryptographically secure random generator and deliver it privately. Your organization can use its own token system instead.users table and filter on auth_token using ai_auth_key. In Insert log, select the logs table.small and big rules in Model Selector.EXTERNALIZED_AI_URL=... and EXTERNALIZED_AI_API_TOKEN=... values in a local .env.logs table. Logs retain submitted prompts and source text; restrict table access and set an appropriate retention policy.small and big contract for callers.users table with your own identity store. A separate onboarding workflow could deliver tokens through a private Slack DM after verifying the requester's identity.jsonSchema is a JSON-encoded string, not a nested object. Send one aiMode per request. Limit to 50 silently drops extra calls, and individual calls may fail without a usable output. The response echoes inputs under query. The logs table stores all submitted calls, including those beyond the 50 processed items, with prompts and source text. Restrict access and retention. Model outputs and measured cost are not in the log. OpenRouter docs: https://openrouter.ai/docs/quickstart.