Skip to navigation

Execute a gated upstream request

Runs one request against the enrolled system’s upstream host (per the system registry). Requires a valid lease id or ALLOW token; the provided method/path/body must byte-match the lease. On any mismatch, expired/reused lease, revoked credential, or gate error the call fails closed with a receipt and no upstream request is made. Body must be JSON and ≤ 1 MB; idempotencyKey is passed through upstream.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
systemIdstringRequired
methodstringRequired
pathstringRequired
must match the system's allowed patterns
leaseIdstringOptional
tokenstringOptional

ALLOW token (lease created implicitly)

bodyobjectOptional
idempotencyKeystringOptional

Response

Upstream response body verbatim on success. On a fail-closed guardrail the response is {"ok": false, "reason": ..., "upstreamCalled": false}.

Errors

400
Bad Request Error