← Back to Taniwha Gateway

Request Journey

Through the Scrooge layers to the fastest provider

Request Arrives

A user requests a bedtime story

🐉

Gateway Receives Request

POST /api/route Port 8787
{
  "service": "house-of-adventure",
  "user": {
    "id": "user_849x2k",
    "age": 7,
    "name": "Mia"
  },
  "request": {
    "type": "story_generation",
    "prompt": "Generate a story for a 7-year-old about space explorers who find a friendly alien",
    "maxTokens": 500
  }
}
7
User Age
500
Max Tokens
HOA
Service
1 / 9