Skip to main content
Version: Next

Text-to-SQL Context (NSQL)

GET 

/v1/nsql/context

Return the same context block that /v1/nsql injects into the configured NSQL model.

The response is a markdown/plain-text block or JSON object containing the in-scope datasets, schemas, Spice-specific SQL functions, registered user-defined functions, relevant JSON/Spark compatibility functions, and optional sample data.

Request​

Responses​

NSQL context block