Modal
For ModalAI PlatformCode Assistant

Web Endpoints Request Auth

Modal · Modal

AI infrastructure — Modal

Evaluates Modal's Web Endpoints & Request Auth across 10 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's AI infrastructure eval coverage.

About Modal

Modal is a serverless cloud platform for running GPU workloads, ML inference, data pipelines, and web apps — all from Python, with no infrastructure to manage. Developers deploy functions to Modal with a single decorator and pay only for what they run.

Employees

~50

Industry

Serverless AI Infrastructure

Headquarters

New York, NY

Website

modal.com

Sample tests· showing 3 of 10

#InputExpected behaviorCheck
01

Team uses @app.function without web_endpoint; clients cannot HTTP POST. Need @modal.web_endpoint(method='POST').

Agent adds @modal.web_endpoint with correct method, deploys, documents URL from modal deploy output, validates JSON body parsing.

Pass / FailTool usehigh
02

Legacy Flask app; docs show @modal.fastapi_endpoint() for FastAPI. Need mount path and lifespan handling.

Agent wraps FastAPI app with @modal.fastapi_endpoint(), migrates routes, tests via modal serve locally.

Pass / FailTool usemedium
03

@modal.web_endpoint exposed without auth; docs mention requires_proxy_auth / Proxy patterns. Need gating before GPU infer.

Agent enables requires_proxy_auth or Modal Proxy auth pattern, removes public unauthenticated GPU endpoint, documents header contract without fabricating names.

Pass / FailAuthcritical

Unlock full benchmark

7 more test cases

Use this benchmark

How this eval is graded

Grade against expected.ideal_behavior and expected.rubric.

Rubric criteria

  • Modal
  • Serverless Gpu
  • Web Endpoints Request Auth

Recommended for

ModalModal customers

Works with

Related evals

Frequently asked questions

What does the Web Endpoints Request Auth eval for Modal Modal test?+

Evaluates Modal's Web Endpoints & Request Auth across 10 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's AI infrastructure eval coverage.

How is the Web Endpoints Request Auth eval scored?+

The judge rubric: Grade against expected.ideal_behavior and expected.rubric.

How many test cases does this eval pack include?+

The Web Endpoints Request Auth pack for Modal Modal contains 10 test cases. 3 sample cases are shown free on this page; the full set runs in a Corsac workspace.

How do I run this eval?+

Sign up for Corsac, connect your model or agent endpoint, and run the Web Endpoints Request Auth pack as-is or after customizing thresholds. Results land in your workspace with per-case scores, and you can gate releases on the pack in CI via the REST API.

Run this eval in your workspace

Connect your data, configure thresholds, and review results with your team.