Documentation

Docs / Reference

Claim contract: "try it" proxy and API explorer

Task T029 (ADR 0081, Accepted). Rows TI-1..TI-49 are the proxy, its guardrails, the user-confirmed options (certificate pins, CA files, the system proxy, raised limits, free-form paths, multipart bodies, following a redirect once, sending without auth), the environment edit and the base URL suggestions; rows OX-1..OX-49 are what the explorer shows (owned by the explorer UI unit). The TI table is final for the backend and implemented by internal/server/tryit*.go, internal/config/tryit.go and the egress purpose try-it; TestTryItContractTable keeps it 1:1 with the code's row list (tryItRows) and checks that every row names an existing test. The unused number TI-49 stays reserved.

Endpoints, payloads and limits are documented in docs/cli/serve.md ("Try it"); the configuration in docs/config.md ("Try it").

Proxy and guardrails (TI)

A try-it request is never a URL from the browser. The browser names an environment, a stored route and one of its path keys, and values; the server builds the URL and refuses anything a row below does not allow. Every refusal is an error answer with a code; nothing is sent upstream. Where Graphvein cannot prove a request safe but the user may have a reason to send it (an untrusted certificate, a path that is not the operation's, a missing auth variable), the answer offers a user-confirmed option instead of a hard refusal: either an edit of the environment's file through the guarded edit (TI-30, TI-48) or a one-time confirmation bound to the exact request (TI-9). Nothing is accepted by default. Session state (the selected environment, production acknowledgements, "don't ask again" grants, typed auth values, pending confirmations) is held only in the server process's memory and is gone on restart.

Row Guardrail Rule Refusal
TI-1 endpoints GET/POST /api/v0/tryit/environments, GET /api/v0/tryit/suggestions, POST /api/v0/tryit/select, /auth, /prepare, /send another method: 405 with Allow (as every path, docs/cli/serve.md "Methods per path")
TI-2 request origin checks every try-it POST passes the checks of every state-changing POST (ADR 0052: Host allow-list, Sec-Fetch-Site, Origin, http.CrossOriginProtection) plus a loopback peer, the per-process session token in X-Graphvein-Token (read from GET /api/v0/tryit/environments), Content-Type: application/json, one JSON object with only the documented fields and no duplicate keys 403 host_not_allowed / cross_site_request / not_loopback / token_required, 415 unsupported_media_type, 400 bad_request
TI-3 request size the JSON posted is at most 2 MiB, to prepare and send at most 96 MiB (room for a body or files up to the request_bytes ceiling as base64); the body to send upstream at most the environment's request limit (1 MiB unless raised, TI-44); at most 64 headers and 128 query pairs, each name or value at most 8 KiB 413 too_large, 413 body_too_large (details: the limit, TI-44), 400
TI-4 environment an environment is an entry of tryit.environments in the repository's graphvein.yaml (id repository:<name>) or, in project mode, of the manifest's tryit.environments with a base_urls entry for the member (id project:<name>); files are read on every request, so an edit applies at once. name, label (the user's word; only production and prod, any case, change behaviour: TI-10), base_url (http/https, host, optional port and base path; no user info, query, fragment, IPv6 zone or dot segments, plain or percent-encoded), optional auth (header, env, prefix). Never inferred from file names or code an unknown id: 400 unknown_environment; an invalid file: config loading fails with file and line, and the endpoints answer 409 invalid_config / invalid_manifest
TI-5 egress destination each send builds one egress policy holding only the environment's origin (host and explicit or default port) with purpose try-it; host and port come only from base_url and the built URL is checked to stay on it any other host or port: egress.ErrBlocked, 502 destination_blocked; a URL off the origin: 400 destination_mismatch
TI-6 egress mode try-it is configured infrastructure, allowed in offline and llm mode like database -
TI-7 URL building and the operation match base_url + the route's path key; the key must be one of the stored route's path entries (template, plus / when trailing_slash), with resolution literal, constant or settings_default, production scope, not optional, no host pattern, only one-segment {name} parameters, and the route's method one of OpenAPI's eight and equal to the request's method; each {name} is replaced by its value percent-encoded inside one segment (/, ?, #, % encoded), and the filled path may not have a . or .. segment after percent-decoding (values and the template's literal parts alike), nor a template whose literal parts hold %2F or %5C; query pairs are form-encoded in the order given 404 unknown_operation (no such route); 400 path_mismatch (not a path of the route), operation_unavailable (any-method route, wildcard, optional, unresolved, test scope, host pattern), method_mismatch, missing_path_value (missing or empty), invalid_path_value (a . or .. segment), bad_request (a value for no parameter)
TI-8 selected environment a send goes only to the environment the UI selected last (POST /api/v0/tryit/select); one selection per server process 409 environment_not_selected
TI-9 confirmation GET and HEAD without a method override, body or content type are sent directly (outside production, TI-10); every other request (another method, the GET/HEAD forms of TI-27, a free-form path of TI-26) needs a one-time confirmation: prepare returns the exact request (method, URL, header names, auth header name and source or the missing auth, body size and SHA-256, multipart parts) with confirmation_reasons (method, method_override, body_on_get_or_head, free_form_path) and an id bound to the hash of the environment key (TI-25), method, URL, typed headers, body, the auth in use (header name, source: the variable, prefix, the number of the typed value, or the missing variable) and the user's choices free_form and send_without_auth, valid 120 s; send must carry it, the server rebuilds the request and compares. The id is used up by the check. No id is issued while auth is missing and send_without_auth is not set (TI-47). The UI cannot skip it: the server enforces it 409 confirmation_required (none, unknown, used, expired, or the request or its auth changed); a confirmation on a request that needs none: 400
TI-10 production acknowledgement an environment labelled production or prod needs one acknowledgement (select with acknowledge_production: true, the UI's dialog) before any send, every method including GET, until the UI selects another environment; no typed name, no method is blocked; non-GET/HEAD still needs TI-9 409 production_acknowledgement_required; acknowledging a non-production environment: 400
TI-11 auth from an environment variable auth: {header, env, prefix}: the header is set at send time to prefix + the value of variable env in the server's environment; the value is never returned, logged or stored; the listing says only whether the variable is set the variable unset or empty (and no TI-12 value): TI-47; a value with a line break: 400 secret_invalid
TI-12 auth typed for the session POST /api/v0/tryit/auth holds a value for one environment and header (default: the environment's auth.header, else Authorization) in server memory only: never written, logged or returned after entry, cleared by clear: true or a restart; it wins over TI-11 an invalid header name: 400 header_not_allowed; an empty value or one with a line break: 400
TI-13 headers from the browser names must be RFC 9110 tokens; refused: Host, Connection, Content-Length, Transfer-Encoding, TE, Trailer, Upgrade, Keep-Alive, Expect, Proxy-*, the header the server fills from auth (TI-11, TI-12), Content-Type given both as a header and as content_type; values without line breaks or NUL 400 header_not_allowed, 400 bad_request
TI-14 redirects never followed automatically, to another origin or the same one: the 3xx is answered with its Location in redirect and, for 301, 302, 303, 307 and 308 with an http(s) target, how to follow it once in redirect_follow (TI-46) -
TI-15 timeouts and response size dial 10 s (egress); the whole exchange 30 s and the response body read 4 MiB unless the environment raises them (TI-44); the rest of a body is dropped and the answer marked truncated with truncated_reason: "size"; a body cut by the time limit (or a read error) after the status arrived is answered with that status, the part received, truncated: true and truncated_reason: "timeout" (or "read_error"); truncated_limit names the limit that cut it and how to raise it 504 upstream_timeout (details: the timeout_seconds limit)
TI-16 concurrency at most 4 sends in flight per server process 429 too_many_requests
TI-17 TLS https verifies the certificate chain and name against the system roots plus the environment's tls.ca_file (TI-42), or accepts a leaf the environment pins (TI-29); verification is never skipped otherwise; TLS 1.2 or later; only internal/egress builds TLS configuration a certificate neither trusted nor pinned: 502 upstream_certificate_untrusted / upstream_certificate_changed with the certificate (TI-29); any other TLS failure: 502 upstream_tls_error
TI-18 proxies proxy environment variables are ignored (checked at the egress client and at the server) unless the environment sets use_system_proxy (TI-43); no keep-alive connection outlives a send -
TI-19 response to the browser status, headers and body as data: the values of Authorization, Proxy-Authorization, Cookie, Set-Cookie, Set-Cookie2, WWW-Authenticate, Proxy-Authenticate and of any header whose name contains token, secret, key, password, passwd, auth, session, credential, signature, csrf or xsrf are [redacted]; a text body (text/*, JSON, XML, form, YAML, or no type and no NUL byte) as UTF-8 with replacement characters, any other body as the hex of its first 4 KiB -
TI-20 logging slog records environment id, label, repository, method, path key (the template, never the filled URL), status, request and response byte counts, truncation and duration; refusals only their code; never header values, auth values, query or path values, bodies or the base URL -
TI-21 storage nothing of a request or response is written to the store or to disk; no history on the server; the only file writes are TI-30 edits -
TI-22 project mode a request names its member in repository (optional with one member); the member's environments are the manifest's environments with a base_urls entry for it, then its own graphvein.yaml environments (when it has a checkout here); routes are read from the member's stored index; selection, acknowledgements, grants and typed values are per member, a project environment's included 400 repository_required (several members, none named), 400 for a name that is no member
TI-23 egress audit every lookup and dial of a send reports an egress.Event with purpose try-it; listing, suggestions, prepare and the edit never dial -
TI-24 don't ask again for this environment send with a valid confirmation and remember: true grants the environment: later non-GET/HEAD sends to it need no confirmation until the UI selects another environment remember without a confirmation: 400
TI-25 switching or changing an environment session state is bound to the environment's key: source, name, member, origin, base path, label, auth configuration, the certificate pins for its origin, the CA file's path and content hash, and use_system_proxy (limits are not part of it). Selecting another environment (or none) revokes every acknowledgement, every grant and every pending confirmation; selecting the same one keeps them. When a file edit changes the key of the selected environment (pinning a certificate included), it is unselected with all of that state, and a typed value bound to an older key is dropped: nothing granted, acknowledged or typed for one destination reaches another the changed environment: 409 environment_not_selected until selected again
TI-26 free-form paths with free_form: true, path is a literal path relative to the environment's base URL that need not match the operation: any of the eight methods, no path_values, the route must exist (it names where the user started; logged as (free-form)); it starts with /, has no ? or # (query pairs go in query), bytes outside the characters of a path segment are percent-encoded and a valid %XX is kept, no segment may be . or .. after percent-decoding, and an encoded / or \ (%2F, %5C, any case) or a \ is refused, so ..%2f cannot climb: the request stays on the origin under the base URL. It always needs a one-time confirmation (TI-9); a grant never covers it. Without free_form, a path that is not one of the route's path keys is refused (TI-7) 400 path_mismatch (without free_form), 400 invalid_path_value, 400 bad_request, 404 unknown_operation
TI-27 method override or body on GET and HEAD a GET or HEAD with X-HTTP-Method-Override, X-HTTP-Method, X-Method-Override (any case), a _method query parameter, a non-empty body or a content_type is treated as mutating: it needs TI-9's confirmation, or a grant (TI-24); confirmation_reasons says method_override or body_on_get_or_head (an empty body counts as none) 409 confirmation_required
TI-28 WebSocket and HTTP/2 cleartext Sec-WebSocket-* headers are refused for every method ("WebSocket endpoints are not supported in try-it yet"), and so is HTTP2-Settings; Upgrade is refused by TI-13; the client speaks HTTP/1.1 and HTTP/2 over TLS only, never h2c. Multipart bodies: TI-45 400 not_supported
TI-29 certificate pinning a certificate neither trusted (TI-17, TI-42) nor pinned refuses the send, answering in error.details: environment, origin, certificate (subject, issuer, sans, not_before, not_after, sha256: the SHA-256 of the leaf certificate's DER as 64 lower-case hex characters (the same value openssl x509 -noout -fingerprint -sha256 prints as upper-case pairs separated by colons, the form the Explorer shows, OX-28); self_signed), reason and pinned_sha256. The user may pin it through the options edit (TI-48): tls: {pinned_sha256: [...]}; a pin is bound to one origin (in a repository environment its one origin; in a project environment, which has a base URL per member, each pin is written {origin, sha256} and must name one of its base URLs' origins). The egress client then accepts exactly a leaf pinned for that origin whatever its names, issuer or validity dates (the handshake still proves the server holds its key); pins add trust and never reject a certificate that verifies. A leaf that neither verifies nor is pinned while pins exist is a changed certificate: refused, never accepted silently 502 upstream_certificate_untrusted; with pins: 502 upstream_certificate_changed (the new certificate and the pins)
TI-30 guarded environment edit POST /api/v0/tryit/environments turns a URL typed in the UI into an environment written to graphvein.yaml (target repository; created with version: 1 when absent) or, in project mode, to graphvein-project.yaml (target project: a new project environment, or the member's base URL in an existing one, keeping its label and auth); as the manifest edit (ADR 0075): a preview with the unified diff and validation, base_hash of the file the edit was made on (absent for none), a write only with apply and the preview's result_hash, the session token and loopback peer, an atomic replace; auth names a header and a variable, never a value. Nothing typed is dialable until written. Options of an existing environment: TI-48 409 file_changed, 409 preview_changed, 422 invalid_config (nothing written), 409 environment_exists (a project environment with another label or auth), 409 no_checkout, 400
TI-31 suggestion: Compose published port a stored deploy_service built from this repository (build written): each ports entry with one literal published TCP port (short [ip:]published:target, long {published, target}) gives http://127.0.0.1:<published> (or the written host IP), file and line of the service interpolated entries, ranges, UDP, image-only services: none
TI-32 suggestion: Traefik router host a stored traefik_routers entry whose rule is exactly Host(`h`) (optionally && PathPrefix(...)) gives https://h when tls is true or a cert resolver is set, else http://h other rules, interpolated routers: none
TI-33 suggestion: committed spec server a stored api_spec's servers[].url that is a valid base URL without templates templated or relative servers: none
TI-34 suggestion: Dockerfile EXPOSE a stored Dockerfile stage's EXPOSE TCP port gives http://127.0.0.1:<port>, file and the stage's FROM line, with the reason that a container port is reachable only when published UDP, interpolated: none
TI-35 suggestion: a member's address of this member project mode: the addresses graphvein project suggest matched to this member as provider (env file URLs, dev-server proxies, define constants of another member), as their origin, with the consumer's file and line Compose service-name addresses and unmatched addresses: none
TI-36 suggestion: listen(port) literal an indexed JS/TS file line with .listen(<port> followed by , or ) gives http://127.0.0.1:<port> test files; a port in a variable: none
TI-37 suggestion: uvicorn.run(port=) literal an indexed Python line with uvicorn.run( and port=<int> on the same line multi-line calls, test files: none
TI-38 suggestion: Go listen address literal an indexed Go line with ListenAndServe(":<port>", ListenAndServeTLS(...) (https) or .Run(":<port>") _test.go, addresses in variables: none
TI-39 suggestion: package.json script port an indexed package.json script with --port <n>, --port=<n> or -p <n>, with the script's line none otherwise
TI-40 suggestion: Procfile port an indexed Procfile line with --port/-p <n> or --bind/-b <host>:<n> none otherwise
TI-41 suggestion: framework default for production routes of FastAPI (8000), Express (3000, a convention: Express has none), Next.js (3000) and gin (8080): http://127.0.0.1:<port>, labelled "framework default, not read from your code", no file Axum, chi, net/http and other frameworks have no default: none
TI-42 CA file tls: {ca_file: <path>}: a PEM bundle (for example mkcert's root) trusted in addition to the system roots for that environment only; the path is relative to the directory of the file that configures it (the repository root; the project directory for the manifest) or absolute, and is read for every request that resolves the environment: a regular file of at most 4 MiB, read within the environment's time limit; its content hash is part of the environment's key (TI-25), so a changed bundle needs a new selection and the send uses exactly the bytes the key was made from the file missing, not a regular file, unreadable, too large, too slow to read or without a PEM certificate: 409 ca_file_error naming it; a certificate from another CA: TI-29
TI-43 system proxy use_system_proxy: true (default false): a send to that environment goes through the proxy HTTPS_PROXY / https_proxy (https) or HTTP_PROXY / http_proxy (http) names, unless NO_PROXY / no_proxy matches (*, an IP, a CIDR range, a domain and its subdomains, .domain for subdomains only, each with an optional :port); localhost and loopback addresses are never proxied; the variables are read at each send; a value without a scheme is http://; schemes http, https, socks5, socks5h. The proxy's host and port join that send's egress policy (purpose try-it), and the client refuses any request whose destination is not the environment's origin. An https proxy's TLS is made apart from the origin's: verified against the system roots for the proxy's own name; the environment's pins and CA file never apply to it. prepare names the proxy (scheme, host and port, never user info) and sets proxy_cleartext for an http:// environment, whose whole request, headers and auth value included, passes the proxy in clear an unusable proxy value: 409 invalid_proxy; the proxy's TLS failing: 502 proxy_tls_error; another destination: destination_blocked
TI-44 per-environment limits limits: {request_bytes, response_bytes, timeout_seconds}, each optional and 1 to its ceiling (64 MiB, 256 MiB, 600 s; defaults 1 MiB, 4 MiB, 30 s); the listing shows each environment's options and effective_limits, and limit_ceilings; a body over the limit, a cut response and a timeout name the limit, its value, its ceiling and how to raise it (details, truncated_limit) a value outside 1..ceiling: a config error with file and line (400 in the edit); 413 body_too_large
TI-45 multipart form bodies multipart: [{name, value | data_base64, filename, content_type}] (at most 128 parts; replaces body and content_type): the server builds a multipart/form-data body whose boundary is derived from the content, so prepare and send build the same bytes and the confirmation binds them; a part with filename is a file (default type application/octet-stream); the body counts against request_bytes; prepare lists each part's name, file name, content type and size; contents are never logged or returned 400 bad_request (no name, neither or both of value and data_base64, invalid base64, a line break in a name, with body or content_type), 413 body_too_large
TI-46 following a redirect once for a 301, 302, 303, 307 or 308 with an http(s) Location, redirect_follow gives the target (resolved, without user info or fragment), its origin, whether it is the same origin, the method a browser would use (303, and POST on 301/302, become GET; 307 and 308 keep method and body), and either the environment of this repository whose base URL holds the target (longest base path) with the path relative to it, or a suggested environment (name, base_url: the target's origin) to add through TI-30; the user then selects it and sends the target as a free-form request (TI-26) with its own confirmation and the new environment's production rules. Nothing is followed automatically -
TI-47 sending without auth when the environment's auth.env is unset or empty and no TI-12 value is held, prepare answers auth_missing: {header, env} and issues no confirmation; the request is sent without the auth header only with send_without_auth: true, GET and HEAD included, bound into the confirmation hash; the choice is refused while auth is available without the choice: 400 auth_missing (details: header, env); the choice with auth available: 400 bad_request
TI-48 environment options edit POST /api/v0/tryit/environments with options: {name, tls, use_system_proxy, limits} instead of environment replaces those keys of the named environment in graphvein.yaml or (target project) the manifest, through TI-30's preview with diff, base_hash, apply with result_hash, session token, loopback peer and atomic write; pins are {origin, sha256} (origin optional in a repository environment, required in a project one), fingerprints normalised to lower-case hex (a sha256: prefix, colons and upper case accepted), ca_file is a path, limits are within their ceilings; a TLS or proxy change changes the environment's key (TI-25) 400 bad_request, 400 edit_refused (no such environment), 409 file_changed, 409 preview_changed, 422 invalid_config
TI-D everything else refused for sends: raw URLs from the browser (a free-form path is relative to a configured base URL), hosts or origins not configured (they become configured only through TI-30), CRLF and NUL in values, Host and framing headers (TI-13), WebSocket and h2c (TI-28), requests to Graphvein's own endpoints from another site (TI-2). Not suggested: Kubernetes Service ports, .env PORT keys of a single repository, any form above outside its literal shape. Suggestions are never dialable and never used until the user picks one and TI-30 writes it 400

Explorer (OX)

The Explorer is a sidebar section of its own (#/explorer, ADR 0081 "Explorer UI"): API documentation built from the generated document (GET /api/v0/openapi) and nothing else, with links back to the API section for callers and impact. It shows only facts the document proves; every unknown is visible as unknown, and absence is shown only where the document proves it. Column "Built" says whether the row is shown in this version (yes) or not yet (pending); web/src/sections/explorer/rows.ts lists the same rows with the same status and the test that checks each, and rows.test.ts keeps the two 1:1. Labels in the Plain and Technical styles (ADR 0078) come from rows 59-64 of web/src/lib/labels.ts.

Rows OX-20..OX-34 are "Try it out" (T029 part B, the developer's variant B): a page-wide environment bar, and in each expanded operation a request builder with the response beside it. Every guard is the server's (rows TI-*): the UI shows what prepare and the refusals say and forwards the user's answer, so no UI path can send what the server would refuse. Their labels come from rows 65-68 of web/src/lib/labels.ts (a suggestion's source, where an environment's auth comes from, a confirmation reason, a cut response). Row OX-35 is a display rule of the operation's sections.

Rows OX-40..OX-43 are the route's shape in the API section's route detail (T029): the Overview tab's "Request and response" block shows the endpoint's stored shape with the Explorer's section pieces and rules, and links to the same operation in the Explorer. Row OX-44 is the editor button on a provenance chip in both places.

Row Built Shows Source Never shows
OX-1 yes operation list: method (coloured), path key, handler, a marker per OX-6 item, an auth icon when auth is written OG-10, OG-20, OG-32 a path for a route without one
OX-2 yes groups, collapsible: by router file (default; the file that registers the route, with its directory when file names repeat) or by OpenAPI tag: the first tag of the committed spec operation that documents the route (the stored api_operation, OG-44), the others under "No tag"; a group without its tag read is "No tag" x-graphvein.file, documented_by, stored api_operation tags OpenAPI tags the code does not declare; a guessed tag
OX-3 yes path parameters from the template, required, "type not read" unless a fact gives the type OG-26, OG-72 a guessed type or example
OX-4 yes "Not read by Graphvein" for every section the document names in x-graphvein.not_read or whose stored state is not_read: query, headers, cookies, request body, responses, security; "Not read by Graphvein for any operation: operationId, summary, tags" OG-41, OG-71 an empty "Parameters: none" or "No body"; an empty table that looks complete
OX-5 yes auth as written: each stored auth attribute ("FastAPI security dependencies: declares OAuth2PasswordBearer", "Route middleware: authRequired", "Earlier middleware not proven" with the reason), "none read" for an empty list, and "what the code declares, not proof that the route is protected" OG-30, OG-42 "public" or "no auth"
OX-6 yes markers on the row and in the expanded operation: may be shadowed (with the routes, order not checked), equivalent registrations, conditional, conflict, shape not readable, depth cap reached (N) with "raise index.shape_depth", the path's resolution (path from a settings default, path set by you, with the value) and assumptions OG-19, OG-20, OG-43, OG-47, OG-70, OG-89, OG-92 a marker behind a tooltip only
OX-7 yes "Not in the document": routes with an unknown path part, shown with the unknown part (‹mount or prefix›, ‹basePath of P›) and the reason; conflicts; paths OpenAPI cannot express; any-method routes; a document without any operation says why from its own counts (no route stored; every route test-scope; else the production routes and each non-zero reason: any-method entries, unknown path parts, conflicts, paths OpenAPI cannot express) OG-9, OG-17, OG-45..OG-48 a partial path for them; a cause the counts do not give
OX-8 pending precision label of the route's file and framework (ADR 0066) stored file precision "precise" for a best-effort scope
OX-9 pending imported spec operations as their own list, with their link status (linked, ambiguous, unmatched, test_only, unresolved) and the routes they document api_operation, documents_route imported operations merged into the extracted list
OX-10 pending compare view: extracted vs imported, per (method, path): both, extracted only, imported only, parameter-name differences OG-60 "missing from the spec" for a route without a path
OX-11 yes the Spec tab: the document as YAML or JSON with line numbers, its counts, and Download OpenAPI (JSON, YAML): the same bytes as the CLI OG-1..OG-93 -
OX-12 yes the document is read again when the status names a newer index run; index_changed and invalid_config answers are shown with their message /api/v0/status, 503 index_changed, 409 invalid_config -
OX-13 yes every item with a provenance chip: Fact, Read in handler, Intended, Returned or Mapped with file:line (rule, confidence and the calls followed in the tooltip); items the document keeps in x-graphvein marked "x-graphvein only" (the claim row in the Technical style); presence required, optional or "required? not read", the request body's on its heading (required, or x-graphvein.required: "not_read" as "required? not read"); a type not claimed with its reason said once; object fields of a schema or model OG-70..OG-87, SM-6..SM-16 an intended, returned or mapped type as a fact; "optional" for a presence not read
OX-14 yes each section's state: "None, proven" with its evidence only for provably_none; "Partial: more may exist" with the reason; "Complete" with its evidence; for a route without a stored shape, path names "from the path template" or "the path has no parameters" OG-71, OG-88, SM-2..SM-5 "none" for a section not read
OX-15 yes "Enter the missing part" for an unknown path part: the key (most specific first), the value, a preview with the diff of graphvein.yaml, then apply; the values set by you with their use, why a value is unused (registration changed, conflicts, no route) and the warning of a route key without a registration; the reason when the file cannot be edited; "Missing prefixes": per unresolved mount hop, its text, place and number of routes below, and "Set the missing prefix for all N routes under <hop>" with what the value states (the hop passes requests on with this prefix), where some routes land with it, and the diff preview; an operation placed below a Go hop is marked "shadowing not checked" OG-90..OG-96, GET/POST /api/v0/explorer/path-values a value applied without its preview; a value shown as read from code
OX-16 yes a filter over method, path, handler and file, with "Showing N of M operations" the document -
OX-17 yes project mode: a member select with each member's operation count read from that member's own document; every count and list of the page is the selected member's document OG-61, GET /api/v0/openapi?repository= counts merged across members
OX-18 yes "Callers and impact in API section" on every operation (the API section's route detail) and "Try it out", which opens the try-it panel in the operation (OX-20..OX-34) and moves keyboard focus to its first field the route identity -
OX-20 yes a page-wide environment bar: the selected environment's label (a chip, red for production), name and base URL, where its auth comes from (header from $NAME, set or not set; or a value typed for the session, with Clear), Settings; the label on every operation row while it is selected; "none configured" or "none selected" otherwise; the picker's environment list is a listbox the arrow keys, Home and End move through (Enter or a click selects) TI-4, TI-11, TI-12 a secret value
OX-21 yes for every request prepare says needs a confirmation: in place of Send, the exact request (method, full URL, typed header names, auth header and its source, body size and the full SHA-256 with Copy, or the multipart parts, the proxy) with its reasons (the method, a method override, a body on GET or HEAD, a free-form path) and "Don't ask again for this environment until I switch" (not for a free-form path); the confirmation names the environment it was prepared for, and a switch while it is open closes it with "Nothing was sent"; Cancel returns focus to Send; after a refused send for a lost selection, "Select ENV again" when ENV is still selected, else "Prepare it again for" the selected one; GET and HEAD without those forms are sent directly outside production TI-9, TI-24, TI-26, TI-27 a send that skips the server's confirmation; "don't ask again" for a free-form path; a confirmation shown under another environment's name
OX-22 yes the response: status, time, size received and sent, the request headers sent (the auth header redacted, with the source of the environment it was sent to), the response headers with the server's redaction shown as "redacted", the body as text in a <pre>: one complete JSON value re-indented token for token (numbers, strings, key order and repeated keys exactly as received; a repeated key named; "Show as received"), anything else as received (JSON that is cut or malformed with the reason), a non-text body as its hex with the note TI-14, TI-19 HTML rendering of a response; a redacted value; a re-serialised body (a number, key or spelling changed)
OX-23 yes try-it unavailable with the reason: no environment configured (with "Add an environment"), none selected; a refusal of the server (an operation it cannot dial, a path or method mismatch, a missing path value) shown with its code and message TI-4, TI-7, TI-8 a box for a raw URL (a free-form path is relative to the base URL, OX-30)
OX-24 yes base URL suggestions in the environment picker, each with its source kind (row 65), file:line or "no file", and the reason, under "used only after you pick one"; "Use..." opens OX-26 pre-filled TI-31..TI-41 a suggestion used without OX-26's preview and confirmation
OX-25 yes production: one warning dialog when switching to a production-labelled environment (requests there, even GET, can change data), then the production marker in the bar and in every try-it panel; no typed name, no blocking; in project mode the dialog lists every member the project environment covers with its base URL, and switching member selects the same project environment there, acknowledged, without a second dialog (the server records it per member) only when that member was listed with the same base URL and the manifest's hash is unchanged; otherwise the dialog again, saying why TI-10, TI-22, TI-25 a production send without the server's acknowledgement; a typed-name gate; an acknowledgement carried to a base URL the dialog did not list
OX-26 yes adding an environment from a typed URL, a picked suggestion or a redirect's origin: base URL, name, label (a radiogroup the arrow keys move through), optional auth (header, variable name, prefix), the file to write in project mode; "Preview the change" (the diff), then one "Allow and save" with the preview's hash; the new environment is then selected (through OX-25 when production) TI-30 a write without its preview; an auth value in a file
OX-27 yes auth: Enter a value for this session (a password field; kept in server memory, never shown again; Clear in the bar); when the server says the auth variable is not set, a dialog with Send without auth and Enter a value for this session TI-12, TI-47 a typed value on the page, in the browser's storage or in a curl command
OX-28 yes a certificate the server refused: subject, issuer (self-signed), names, validity, SHA-256 in openssl's form (upper-case pairs with colons, with Copy) and the reason; for a changed certificate the pinned and the new fingerprints in that form with a warning; "Trust this certificate for this environment" opens OX-29 with the pin added TI-17, TI-29 a certificate trusted without the options edit
OX-29 yes environment settings: the pins of its origin (remove, or the one being added), a CA file path, "Use the system proxy" (with the clear-text note for http), the three limits with the value in effect and the ceiling; preview with the diff, then save; a trust or proxy change selects the environment again, through OX-25 when production TI-42..TI-44, TI-48 an option written without its preview
OX-30 yes the request builder: path values (required, the type or "type not read", provenance), query and header rows pre-filled from the operation's items with their provenance chip (empty values; only required rows on; names a security scheme reads are left to the environment's auth), a body as raw text or a JSON template from a fact or intended schema marked "Template", multipart fields and files (a file picker), and a free-form path with any method TI-7, TI-26, TI-45, OG-70..OG-87 a template shown as an example the server accepts; a guessed value
OX-31 yes a redirect: the target and the method a browser would use; "Follow once in ENV" when an environment holds it, else "Add this origin as an environment and follow" (OX-26); either sends the target once as a free-form request with its own confirmation TI-14, TI-46 a redirect followed without the user
OX-32 yes limits: a cut response says why (row 68) and which limit, its value and ceiling; a body too large or a timeout names the limit; "Raise to ..." opens OX-29 with the limit filled in TI-15, TI-44 a cut body shown as complete
OX-33 yes "Copy as curl" of the request as the server prepared it (its URL), the auth header as $NAME or a placeholder for a value typed for the session TI-9, TI-11, TI-12 an auth value
OX-34 yes an http environment through the system proxy: the clear-text note in the bar, the confirmation and the response TI-43 -
OX-35 yes in the Headers, Query and Cookies sections, the name an applying security scheme reads (http and OAuth2: Authorization; an API key: its name, or "name not stored") as "read by the security scheme NAME (see Security)"; a proven-empty section where a scheme reads, or may read (its location not known), says "None besides the security scheme" OG-30, OG-31, OG-42, OG-87 "None, proven" beside a scheme that reads there
OX-40 yes the API section's route detail, Overview tab, "Request and response": the route's stored shape (shape of GET /api/v0/api/endpoint) with the Explorer's section pieces: each section read with its items (the type or "type not read", presence, access, a provenance chip, one level of a model's fields) and its state line (OX-14: "None, proven" with its evidence, partial with what may be missing, complete with its evidence); the sections not read and without an item named in one hatched "Not read by Graphvein" line; a route without a stored shape, or with one that could not be read (the reason said), has every section not read; chains cut at the depth limit with the limit and where to raise it SM-2..SM-29, GET /api/v0/api/endpoint shape, shape_error "none" for a section not read or for a route without a shape; an empty section that looks complete
OX-41 yes in that block, OX-35 over the stored shape: the schemes the stored requirements name, described by the shape's security_schemes (http, oauth2: Authorization; apiKey: its in and param_name, or "name not stored"), else by the class of the route's stored FastAPI security dependency; where a scheme reads, or may read (location not known), a proven-empty Headers, Query or Cookies section says "None besides the security scheme" SM-19, OG-42 "None, proven" beside a scheme that reads there
OX-42 yes "Open in Explorer" on that block: #/explorer?route=<route identity> opens the operations the generated document writes for that route (several for a route with several path keys), brings the first into view and writes its op= in the hash; a registration collapsed into another's operation (OG-19) opens that operation with a note saying so, on the operation itself so it is in view where the link lands; for a route the document has no operation for, the reason from the document's own lists (an unknown path part, any method, a path OpenAPI cannot express, a conflict), else "the document lists no reason" OG-10, OG-17, OG-18, OG-19 a guessed reason; an operation of another route
OX-43 yes project mode: the block and the link work per member: the detail is the selected member's route (its heading names the member) and the Explorer opens that member's document OG-61, GET /api/v0/api/endpoint?repository= another member's shape or operation
OX-44 yes at the end of a provenance chip (the Explorer's operation sections and handler line, the route detail's "Request and response" block), a small icon-only button with the configured editor's mark (its logo, or its monogram where it has no logo), muted until hover or focus, reachable by the keyboard, named and titled with the full action ("Open FILE:LINE in EDITOR", then the IDE button's source and caveat words); it opens the link the server built for that file:line (shape_links of GET /api/v0/api/endpoint, requested in the Explorer for the route of an opened operation, once per route and editor) GET /api/v0/api/endpoint shape_links, ide a link the UI built or rewrote; a button for a position without a server link, or with editor links off or unavailable
OX-D yes everything else - any field the document does not write, as a value or as "none"

Report a problem with this pageSource: docs/contract/claims/try-it.md