Types & Interfaces Reference — OQENS SDK
JSON payloads, TypeScript types, and response contracts.
Standard schemas and data contracts across all clients.
Client Options
OqensClientOptions
export interface OqensClientOptions {
url?: string; // Default: https://db.echo.oqens.me
apiKey: string; // oq_live_...
projectSlug: string; // Project slug
}
Query Response
QueryResult
export interface QueryResult {
ok: boolean;
columns: string[];
rows: Record[];
duration_ms: number;
row_count: number;
error?: string;
}