Endpoint

Files

ModRouter registers GenAI file routes:

Batches

ModRouter registers GenAI batch routes: The GenAI SDK has changed batch surfaces across versions. Keep examples aligned with the SDK version you support and verify against ModRouter’s registered routes.

Cached Content

ModRouter registers cached-content lifecycle routes:

Provider Notes

  • Gemini-native file IDs commonly use files/...; ModRouter normalizes IDs where required by a compatibility route.
  • Bedrock batch jobs have a different S3-backed shape. Use /bedrock for Bedrock-native batch jobs.
  • OpenAI file and batch routes are available under /openai, not /genai.