Skip to main content

Variable: GatewayWorkspaceSchema

const GatewayWorkspaceSchema: ZodObject<{
id: ZodString;
slug: ZodString;
name: ZodString;
icon: ZodNullable<ZodString>;
description: ZodNullable<ZodString>;
created_at: ZodString;
last_updated_at: ZodString;
is_default: ZodNumber;
status: ZodString;
scope_name: ZodString;
object: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
id: ZodString;
slug: ZodString;
name: ZodString;
icon: ZodNullable<ZodString>;
description: ZodNullable<ZodString>;
created_at: ZodString;
last_updated_at: ZodString;
is_default: ZodNumber;
status: ZodString;
scope_name: ZodString;
object: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
id: ZodString;
slug: ZodString;
name: ZodString;
icon: ZodNullable<ZodString>;
description: ZodNullable<ZodString>;
created_at: ZodString;
last_updated_at: ZodString;
is_default: ZodNumber;
status: ZodString;
scope_name: ZodString;
object: ZodString;
}, ZodTypeAny, "passthrough">>;

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

A workspace list row. scope_name is the SCM role scope that grants data-plane access.