Skip to content

HTTP/REST API Compatibility

What the HTTP gateway of heliosdb-full supports. The gateway is a SQL-over-HTTP interface of its own; it does not emulate another vendor’s REST API.

Transport and authentication

FeatureSupportedNotes
HTTP/1.1YesPlain HTTP; default port 8443
TLS (HTTPS)Through a reverse proxyThe gateway does not terminate TLS
API keyYesHELIOSDB_API_KEY, sent as Authorization: Bearer or X-API-Key
Per-user accounts, JWT, OAuth, Basic, mTLSNoUse the PostgreSQL listener and database roles for per-user logins
CORSYesAccess-Control-Allow-Origin: * on responses
WebSocketNo
Server-sent eventsChat route only"stream": true on /api/v1/chat/completions

Request and response

FeatureSupportedNotes
JSON request bodyYes{"query": "<one SQL statement>"}
Bind parametersNoValidate values in the application or use a PostgreSQL driver
Several statements per requestNoSend one statement per request
JSON responseYessuccess, columns (name, type), rows, row_count
Column types in responsesinteger, float, boolean, textOther SQL types are reported as text
Streaming large resultsNoPage with LIMIT and keyset conditions

SQL

FeatureSupportedNotes
SELECT, INSERT, UPDATE, DELETE, DDLYesSame SQL engine as the PostgreSQL listener
TransactionsWith pinned sessionsStart the server with --http-sessions; plain requests are reset after each request
Temporary tables, SET across requestsWith pinned sessions

Other routes

Route familySupportedNotes
Health, readiness, statusYesNo key needed
AI: chat, embeddings, transcriptionYesNeeds a configured provider (HELIOSDB_AI_*)
Vector stores, agent memory, documentsYesStored in HeliosDB; embeddings from the configured provider
/snowflake/, /dbsql/, /pinecone/ pathsNoAnswered with 501 Not Implemented

See the HTTP/REST API reference.