Skip to main content

Variable: GatewayWriteResponseSchema

const GatewayWriteResponseSchema: ZodObject<{
}, "passthrough", ZodTypeAny, objectOutputType<{
}, ZodTypeAny, "passthrough">, objectInputType<{
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/ai-gateway.ts:429

Placeholder for write responses whose shape has NOT been verified against a live tenant.

Verifying deployments, configs, guardrails, and providers create responses proved every create returns a minimal receipt rather than the record it creates — never inferable from the corresponding read. See GatewayDeploymentCreateResponseSchema, GatewayConfigCreateResponseSchema, GatewayGuardrailCreateResponseSchema, and GatewayProviderCreateResponseSchema for the four now-verified receipts. This placeholder still covers every remaining unverified write (all update() PUT responses, plus api-keys/integrations/mcp-integrations/workspaces/plugins create responses). Tighten each into a named schema as it is verified. See PRD-ai-gateway-client.md "Testing".