Variable: GatewayDeploymentCreateResponseSchema
const GatewayDeploymentCreateResponseSchema: ZodObject<{
id: ZodString;
client_auth: ZodString;
credentials: ZodObject<{
username: ZodString;
password: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">>;
organisation_id: ZodString;
object: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
client_auth: ZodString;
credentials: ZodObject<{
username: ZodString;
password: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">>;
organisation_id: ZodString;
object: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
client_auth: ZodString;
credentials: ZodObject<{
username: ZodString;
password: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
username: ZodString;
password: ZodString;
}, ZodTypeAny, "passthrough">>;
organisation_id: ZodString;
object: ZodString;
}, ZodTypeAny, "passthrough">>;
Defined in: src/models/ai-gateway.ts:869
POST /deployments response — a 5-field creation receipt, not a GatewayDeployment.
Verified live 2026-07-27.
This is the only time credentials.password and client_auth are readable; the detail
read masks them. Capture them at creation or they are unrecoverable.