Skip to content

Interface: GetGenieSpaceOptions

Options for getGenieSpace.

optional context?: ContextLike

External cancellation. Accepts a WHATWG AbortSignal or a fully-built SDK Context (see databricks.ContextLike).


optional serialized?: boolean

Request the serialized_space blob (catalogs, tables, sample questions, prompts). Defaults to true - the only reason to skip it is when the caller just needs title / description and wants the smaller payload.

Requesting it is best-effort: the blob needs Can Edit on the space, so a caller without it gets the unserialized space back rather than an error, and genieSampleQuestions then reports no suggestions.


optional workspaceClient?: WorkspaceClient$1

Explicit WorkspaceClient. Defaults to createWorkspaceClient() (env-var auth). Server callers should pass their OBO-scoped client so the lookup runs as the user.