Variable: GenieSpaceSchema
constGenieSpaceSchema:ZodObject<{description:ZodOptional<ZodString>;serialized_space:ZodOptional<ZodString>;space_id:ZodString;title:ZodString;warehouse_id:ZodOptional<ZodString>; },$strip>
GenieSpace widened with an optional serialized_space field
carrying a JSON-string representation of the space’s full
definition (catalogs, schemas, tables, sample questions, prompts,
etc.) as exported by the workspace export endpoint.
The base SDK shape (description, space_id, title,
warehouse_id) covers the directory-listing surface - enough to
route a chat. serialized_space is opt-in so callers that need
the full space schema (e.g. to seed a system prompt or to ship
the definition to an agent) can attach it without a second type.
GenieSpace fields
Section titled “GenieSpace fields”description(optional): Description of the Genie Spacespace_id: Genie space IDtitle: Title of the Genie Spacewarehouse_id(optional): Warehouse associated with the Genie Spaceserialized_space(optional): The contents of the Genie Space in serialized string form. This field is excluded in List Genie spaces responses. This field provides the structure of the JSON string that represents the space’s layout and components.