Operate and troubleshoot the gateway
Open the procedure you need to connect existing infrastructure, confirm traffic, or investigate why a request stopped.
Check gateway activity
Open the application, select Status, then Activity. Check its reported status and traffic report. Use the action shown, if available, to open the relevant settings.
Expand Connection details for configuration revisions, the reporting instance, lease expiry, and exact observation and receipt times. A past sync or accepted report doesn’t confirm that the gateway is currently running. Application Status describes the reported fields.
Open a request’s workflow
Select Model requests to open the application’s recorded model requests in a side panel. A request recorded under a session has Open workflow, which opens the Time Machine at Whole workflow scope. A request made inside an SDK action appears under that action, with the workflow’s other model, MCP, and A2A operations. Each is labeled with the boundary that checked it: Checked by the SDK, Checked by the model proxy, Checked by the MCP proxy, or Checked on the A2A route. See Keep linked work in one workflow for how requests join a workflow.
Review refused linked calls
Refused linked calls appears after the gateway refuses a call because it couldn’t confirm the earlier work the call named while disconnected from VeriProof. These calls failed with lineage_unverifiable before their actions ran.
The summary counts the calls refused since the gateway last started, and the list shows up to the 10 most recent. Each row shows when the call was refused and where: SDK endpoint, Model proxy, MCP proxy, or A2A route, with the route ID for a proxy or route.
- Open the earlier work opens the workflow of the session the call named, once that session has reached VeriProof.
- Until then, the row says the earlier work hasn’t reached VeriProof yet.
To recover, confirm the gateway is connected again, then have the application send each refused call again. Because the count restarts with the gateway, use the list to follow up on recent refusals rather than as a complete record.
Earlier work that hasn’t arrived
A gateway delivers evidence to VeriProof in the background, and it keeps undelivered evidence for as long as delivery takes. If a linked session’s evidence reaches VeriProof before the earlier session it names, the Workflow panel shows that earlier session as Not yet received. The row updates when the evidence arrives.
Elapsed time never changes Not yet received to missing: a gateway that’s been disconnected for hours still holds the evidence. A session in this state doesn’t authorize other work. If the row stays for longer than you expect, check the gateway’s connection and delivery state in Gateway activity.
Recover a request
| Symptom or code | Action |
|---|---|
Saved settings haven’t taken effect; policy_sync_required, proxy_mode_not_authorized, or gateway_mode_not_authorized | Confirm the saved application and environment. Ask the operator to check the host’s application binding, mode, connection to the ingest server, and acceptance of the current signed configuration. Check /health/ready again. Saving Gateway does not restart the host. |
HTTP 404 at /v1/responses | Check the base URL and deployed gateway build. The proxy route is registered only when the host starts in Firewall or Combined mode. |
application_credential_invalid | Use this application’s application-secret segment in one Bearer header. Remove a second authentication header and check whether the API key changed. |
proxy_credential_scope_invalid or proxy_credential_unavailable | Have the operator match the mounted binding’s organization and application IDs to the gateway application, then check the absolute secret file path and process read access. |
proxy_model_not_approved | Match model exactly to the saved list. If another model is required, ask an authorized configuration editor to update the list and let the gateway synchronize it. |
proxy_policy_denied | Review the applicable policy decision. A check before the model call blocks dispatch; a check after the call withholds output. Correct the request or have the policy owner review the rule. |
proxy_capability_unsupported or proxy_output_limit_invalid | Send only the supported fields above, with store: false, streaming off, and an explicit output limit within the saved bound. |
proxy_continuation_unsupported or proxy_transform_unsupported | The policy requests a review continuation or output change that this proxy profile cannot complete. Ask the policy owner to choose a supported workflow. Repeating the same request won’t complete that workflow. |
lineage_unverifiable | The request named earlier work the gateway couldn’t confirm while disconnected from VeriProof, so it didn’t send the request. Check the gateway’s connection to VeriProof, then send the request again. The refusal appears in Refused linked calls. |
proxy_overloaded or worker_overloaded | Reduce parallel requests to the saved limit and available policy capacity. |
cell_capacity_unavailable | Check for a draining gateway or capacity refusals for the affected application. |
mcp_overloaded | Check the MCP route’s Concurrent requests setting and reduce parallel calls while you investigate. |
proxy_upstream_unavailable, proxy_deadline_exceeded, or a provider error | Inspect the application’s recorded dispatch outcome and the operator’s provider connection, credential, and account checks before sending another request. A timeout or lost response can follow provider processing. Keep automatic retries disabled. |
proxy_response_invalid, proxy_response_capability_unsupported, or proxy_response_too_large | The gateway withheld the response. Check whether the model returns supported text output and whether the response fits the saved byte limit. Review the recorded outcome before another request. |
When an outcome is uncertain or remains dispatch_started, treat the provider action as unresolved. A recorded output release of authorized means the gateway permitted that release; check the client result to confirm receipt.
Connect an existing gateway
Use Config > Gateway > Connect an existing gateway to register POST routes that your gateway submits to VeriProof before forwarding a request. You need application and governance configuration access.
Keep the two identities separate:
- The gateway runtime service principal identifies the registered gateway and its application. Use the service principal credential setup to obtain its token with
veriproof.gateway.runtimescope. Its current grant must cover the registered application. - The delegated caller is the signed-in person making the request. Use OAuth authorization code with PKCE, the
S256challenge method, and scopeveriproof.policy.evaluate. Use the deployment’s registered client, redirect URI, and policy-evaluation resource. The person selects a current role grant with access to this application. Device authorization does not support this scope.
Keep runtime credentials in the gateway’s secret store. Send the person’s delegated token separately; a runtime token cannot replace it.
- Select Set up existing gateway, then choose the application-scoped Gateway runtime service principal. Use Refresh runtimes after its access or credential changes. If none is available, use Manage service principals when permitted, or ask an administrator to register a gateway runtime for this application.
- Enter Start (UTC) and End (UTC). The registration period can span up to 366 days.
- Add each route. Route ID must match the gateway configuration. POST path is the exact original path, without query parameters, fragments, or encoded characters. Destination URL is the HTTPS destination, without embedded credentials, a query, a fragment, or a loopback address. Policy action name is the action your rules check.
- Set Maximum request body (bytes) to the complete JSON body size your route accepts, from 1 to 65,536 bytes. You can register up to 16 routes.
- Select Enable request checks, then Save changes. Complete any required application change approval. In Config > Evidence > Published defaults, review the saved version’s runtime ID, period, and exact route fields before approving it.
- Configure the gateway’s authorization hook to match that saved registration. Saving the portal settings does not configure or restart the external gateway.
Configure the authorization call
Send a POST to the customer API’s /v1/gateway/external-authorization/agentgateway endpoint with Content-Type: application/json and these headers:
| Header | Value |
|---|---|
Authorization | Registered gateway runtime’s Bearer token with veriproof.gateway.runtime scope |
X-VP-Caller-Authorization | The original caller’s delegated Bearer token |
X-VP-Authorization-Route | Saved Route ID |
X-VP-Original-Path | Exact original POST path |
X-VP-Original-Content-Length | Complete original body’s byte count |
x-envoy-auth-partial-body | false |
Copy the complete original UTF-8 JSON body into the authorization request. It must be a JSON object without duplicate property names, within the saved byte limit and 32 levels of nesting. The reported original length and HTTP body length must match those bytes. Do not send a truncated body or a JSON wrapper around it.
For agentgateway’s HTTP authorization hook, configure failureMode: deny and includeRequestBody.allowPartialMessage: false; set includeRequestBody.maxRequestBytes to the saved route limit. Overwrite the authorization-call headers with the runtime token and trusted route values while copying the original caller token separately. Keep the runtime token out of the forwarded destination request.
Handle the decision
Make a fresh authorization call for each request. HTTP 200 with allowed: true permits that request before expiresAtUtc, at most 30 seconds and potentially less. Do not cache the decision for another request. This is a pre-dispatch decision, not an execution or output receipt.
- 400 or 413: correct the JSON, framing, path headers, or body size. Do not forward the request.
- 401: refresh the appropriate identity and check the registration period.
- 403: keep the request blocked. Follow the response
code; a review-required response can includereviewReference. - 503 or a failed authorization call: keep the request blocked while authorization is unavailable. Never forward on failure.
Review gateway checks
Open the application’s Policy > History and find External gateway checks to review the policy decisions recorded for gateway requests. You need access to policy history for this application. Auditors see checks within their assigned applications and audit periods.
- Use Decision to show the results you need.
- Open a check to review its action, decision, evaluation time, and approved registration version. Supporting details contains the policy revision and receipt identifiers.
- Use Next checks for older records or Refresh checks to return to the latest records.
Use the destination’s own receipt to confirm the completed action.
Pause requests for human review
For an API-key model route, open Human review. Select Open Human review setup to test and activate the application’s callback. Return to the Human review tab, turn on Pause for human review for the model route, and complete these settings. Proxy traffic must be enabled to use the route:
- Check the selected callback version. Select Use current version to replace it with the current active, tested callback.
- Choose Request data class. This is the application’s declaration of the data contained in requests retained for review.
- Enter the Checkpoint binding name supplied by your gateway operator. The operator keeps the corresponding key on the gateway host.
- Set Retain paused requests (seconds) to at least the displayed callback minimum and no more than 7 days. Set Maximum paused requests from 1 to 1,000.
- Select Save changes and complete any required approval. Have the operator apply the matching review settings on the gateway host.
Paused model requests reach reviewers the same way as tool reviews. See Choose where reviewers decide.
| Request data class | Choose for |
|---|---|
| Public | Information approved for public sharing |
| Internal | Information intended for people within your organization |
| Sensitive | Confidential business information requiring limited access |
| Personal data | Information that identifies or relates to a person |
Choose the class explicitly when you enable review. Changing the callback version preserves your choice. Each retained request keeps the class recorded when it was captured. Restricted request review isn’t available in these settings.