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​
- 200
- 400
- 406
- 500
NSQL context block
Invalid request parameters
Requested response content type is not available
Internal server error
