PRODUCT · ENDPOINTS
Every route, its middleware, and the file it came from.
Endpoints are the atoms of the model. Jetic resolves them from your Express router chain instead of asking you to retype URLs, so parameters and auth requirements stay attached to the code that defines them.
ENDPOINT RECORD
A complete picture of a call before you make it.
Each endpoint entry is intentionally explicit. The same record powers inspect, simulation, and reporting.
Method + path
The exact route, including nested prefixes and dynamic segments.
Path parameters
Names, types, formats, and whether each one is required.
Query + headers
Pagination, filters, auth headers, cookies, and defaults.
Request body
Field types, required flags, enums, examples, and constraints.
Middleware
Auth, rate limit, parsers, validation, and custom handlers in order.
Responses
Expected status codes, fields, examples, and ownership checks.
INSPECT
Ask one endpoint what it expects.
jetic inspect resolves a single endpoint without starting the server. It is the fastest way to confirm a parameter, an auth requirement, or the source behind a route before writing a step.
- Read the full middleware chain in execution order
- See path, query, header, and body inputs together
- Follow a link straight back to the handler
- Check response shapes before asserting on them
FROM ROUTER TO MODEL
How a route becomes an endpoint.
Read tsconfig
The scanner starts from the TypeScript project, not a running server.
Resolve routers
Nested prefixes and imported routers are flattened into full paths.
Walk handlers
Middleware, params, and response calls are attached to each route.
Write model
Each route lands in model.json with its source file and line.
FIELD REFERENCE
What an endpoint record looks like.
| Field | What it captures | Why it matters |
|---|---|---|
| method | GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD | A step addresses an endpoint by method and path together. |
| path | Express route with :params and nesting resolved | No hand-typed URLs that drift from the code. |
| parameters | Path, query, header, cookie, and body inputs | Simulation can generate values and validate required fields. |
| middleware | Ordered chain including auth and rate limits | Explains the 401, 403, or 429 you should expect. |
| security | Scheme names the endpoint requires | Protected steps can consume a captured token. |
| responses | Status codes, fields, examples, ownership checks | Assertions are grounded in the documented contract. |
| source | File and line of the route definition | Failures can be traced back to the handler. |
NEXT
Connect endpoints to contracts and runs.
ENDPOINT FAQ
Frequently asked questions
Does the server need to be running to scan?
No. The scan is static. It reads tsconfig.json and the router source with ts-morph, so it works before the app boots.
Are mounted routers resolved?
Yes. Import resolution and nested-router flattening turn app.use prefixes into full endpoint paths. Routes conditionally mounted at runtime may need manual correction.
What about endpoints without auth?
They are recorded with an empty security requirement. Workflows then run them without an Authorization header unless you inject one explicitly.
Can I add an endpoint by hand?
Yes. Use jetic_add_endpoint through MCP or edit model.json directly. Verification will flag duplicate routes or unbound path parameters.
Stop retyping routes.
Scan once and every endpoint carries its parameters, middleware, and source line into the workflow you build.
Install Jetic CLI