/iloveapis I Love APIs html response /ip Get client ip as JSON /xml Get sample XML response /json Get sample JSON response /echo Returns request headers and body as JSON /user Greeting mesage with optional query parameter "user" /statuscode/:toReturn Returns the statusCode specified in the path parameter /auth Basic authentication. Use admin as username and secret as password /sse-events/:count? SSE events api which sends specific number of events before stream is closed. /sse-perf SSE events api, specific for perf testing, which sends more random data than the other controlled api. /sse-echo SSE echo api. POST a multi-line data field; each line is streamed back as an SSE event whose data is a JSON string {"message":,"ts":}, with a send interval in between. Any ':' custom verb and query parameters in the URL are ignored. /bytes/:numBytesToReturn Returns random bytes of the specified size (0 <= size <= 2MB) /llm-judge Mock Gemini judge target for SGP perf testing. Responds (to any method/subpath, e.g. a generateContent POST) with a Gemini generateContent-shaped body whose parts[0].text is a scripted ALLOW/DENY verdict JSON, after a randomized LOG-NORMAL delay drawn via inverse-CDF sampling. Query params: profile=realistic|stress (default realistic); median & p95 in ms, or mu & sigma, to override the delay; maxDelayMs to cap it (default 30000); denyRate in [0,1] to weight the verdict mix (default 0.1); verdict=ALLOW|DENY to force a scripted verdict. Because a proxy under test may rebuild the URL and drop the query string, the verdict/delay can also be driven out-of-band via env vars: SGP_JUDGE_DENY_RATE (base deny probability), SGP_FORCE_ALLOW=1, SGP_FORCE_DENY=1, SGP_DENY_TOOL= (DENY only the named/positioned tool call, for deny-position sweeps), and SGP_JUDGE_DELAY_MS (fixed delay). Malformed query params return 400. /llm-target Mock governed LLM target for SGP perf testing. Responds (to any method/subpath, e.g. a generateContent POST) with a Gemini generateContent-shaped body whose parts[*].functionCall are scripted tool calls (NOT a verdict -- that's /llm-judge's job), mirroring the SGP KinD governed-target mock, after a randomized LOG-NORMAL delay drawn via inverse-CDF sampling (the same delay mechanism as /llm-judge). Query params: profile=realistic|stress (default realistic); median & p95 in ms, or mu & sigma, to override the delay; maxDelayMs to cap it (default 30000); tool to select the first emitted tool call (book_flight (default) | get_weather), where book_flight trips the perf soak rule 'Do not allow booking flights'; count=N (integer 0..20, default 1) to emit N distinct tool-call parts (the first is 'tool', the rest are synthesized perf_tool_) so SGP makes one judge call per tool call, where count=0 models the governed LLM returning NO tool calls (a single plain-text part). Malformed params return 400.