Skip to main content

Crate infra_api_gateway_contract

Crate infra_api_gateway_contract 

Source
Expand description

Transport-neutral contract for the Agent Infra gateway.

Structs§

CorsAdminConfig
Extra registrable domains allowed to call the Gateway from a browser.
CredentialExchangeRequest
CredentialExchangeResponse
DiscoveryDocument
EffectivePolicy
EstablishExecutionDelegationRequest
Establishes an execution-bound delegation. Caller bearer material is sent in the dedicated transient header, never in this serializable request.
ExecutionDelegationLease
GatewayAuditPage
GatewayAuditRecord
GatewayError
GatewayErrorEnvelope
GatewayMetricsSnapshot
GatewayStatus
Liveness/readiness probe body returned by /health/live and /health/ready. Readiness responds 200 with status = "ok" when the gateway and its control-plane dependencies are ready, and 503 with status = "not_ready" otherwise.
HealthSnapshot
MintExecutionDelegationCredentialRequest
RenewExecutionDelegationRequest
RevokeExecutionDelegationRequest
RouteSnapshot
UpdateCorsAdminConfigRequest
WeightedEndpoint

Constants§

ADMIN_CORS_CONFIG_PATH
AUDIT_PATH
CALLER_AUTHORIZATION_HEADER
CREDENTIAL_EXCHANGE_PATH
DEPENDENCIES_PATH
DISCOVERY_PATH
EFFECTIVE_POLICY_PATH
EXECUTION_DELEGATIONS_PATH
EXECUTION_DELEGATION_CREDENTIAL_PATH
EXECUTION_DELEGATION_RENEW_PATH
EXECUTION_DELEGATION_REVOKE_PATH
LIVE_PATH
METRICS_PATH
PORTAL_PATH
READY_PATH
ROUTES_PATH
RUNTIME_CREDENTIAL_BOOTSTRAP_PATH
Exchanges a Runtime Identity bootstrap proof for the Runtime’s first workload credential. The proof is self-authenticating and single-use, so this endpoint deliberately does not require an existing Gateway bearer.
RUNTIME_CREDENTIAL_RECOVER_PATH