/sql

POST {{endpoint}}/sql

The SQL endpoint enables running advanced SurrealQL queries. This HTTP endpoint expects the HTTP body to be one or more SurrealQL statements, separated by a semicolon.

HEADERS

KeyDatatypeRequiredDescription
AcceptstringSets the desired content-type of the response
NSstringSets the selected Namespace for queries
DBstringSets the selected Database for queries