TimesinkDB REST API Reference
The TimesinkDB REST API operates strictly over stateless HTTPS and accepts schemaless JSON payloads with optional native request decompression. All public data plane routes are database-scoped under /databases/{databaseId}/* with zero Data Definition Language (DDL), connection poolers, or binary drivers required.
Writes append to in-memory columnar pages in sub-millisecond time. NVMe flushes run every 30s (≤60s RPO, or synchronously on Pro+ with ?requireCommit=true).
Replayed webhooks and cellular retries resolve at query time using monotonic Last-Write-Wins. Zero duplicate rows or index bloat.
Self-contained HTML widgets and SVG vector charts render server-side for $0.00 egress under fair use. Ideal for customer SaaS portals.
TimesinkDB is engineered around pure REST/HTTPS and native JSON to deliver sub-millisecond execution without the operational friction of proprietary binary drivers or stateful connection pools:
Stream metrics using standard fetch(), curl, or any HTTP client without vendor SDKs or compiled binary wire drivers.
Stateless requests eliminate TCP socket exhaustion, pool starvation, and proxy layers (such as PgBouncer) in ephemeral serverless and edge runtimes.
Telemetry and event series register dynamically on first write within your series quota. No migration scripts, no schema locks, and no DDL maintenance.
Push lightweight readings directly from microcontrollers (ESP32) and IoT gateways over standard HTTPS without compiled protobuf bindings or gRPC stubs.
Monotonic LWW resolves network retries and duplicate webhook deliveries automatically on read, avoiding complex client-side deduplication logic.
High-speed in-memory write buffer backed by direct I/O flushes, arranged in contiguous 16-byte columnar memory pages for AVX-512 SIMD vector downsampling.
1. Service Locations & Host Node Base URLs
TimesinkDB runs storage engines directly against local NVMe volumes in regional clusters (fra in Frankfurt, iad in N. Virginia, and nrt in Tokyo) for single-digit millisecond latency and strict data residency. When you create a database, the control plane assigns it to a numbered host node in your chosen region (e.g., fra1–fra4). Copy your database's assigned base URL from the management console once provisioned:
fra1, iad1, or nrt1) for zero-hop ingestion and lowest query latency.2. Authentication, Credentials & mTLS
TimesinkDB authenticates requests via Bearer tokens passed in the standard HTTP Authorization header (or query parameter for embeds), or via mutual TLS client certificates on dedicated mTLS hostnames:
sec_live_...) authenticate against the target database in the URL. Account-scoped keys (sec_acc_...) permit access to any database owned by the customer account. Use exclusively in secure backend runtimes..svg, .html, .json, .csv) on the target database while blocking all writes (403 Forbidden). See Scoped Read Tokens.3. Telemetry Metering & Capacity Pooling
TimesinkDB charges $0.00 in write API fees (no HTTP transaction fees, indexing surcharges, or request units). Subscriptions are billed strictly on your provisioned account plan (NVMe storage, monthly query egress, and parallel query workers), with deterministic byte accounting across storage and outbound queries:
Deterministic 16-byte raw sizing allows you to calculate exact retention capacity upfront: 1 GB storage = 62,500,000 numeric points. Numeric telemetry is stored as fixed 16-byte records (8-byte timestamp + 8-byte IEEE 754 double) arranged in contiguous columnar pages with zero block-rounding padding. Raw JSON events (?mode=blob) store an 8-byte timestamp + 8-byte blob header + raw UTF-8 bytes (16 + N bytes).
| Sample Cadence | Points / Sensor / Day | Points / Sensor / Month (30d) | Storage / Sensor / Month | 100 Sensors / Month |
|---|---|---|---|---|
| 1 sample / 10 min | 144 | 4,320 | ~69 KB | ~6.9 MB |
| 1 sample / 1 min | 1,440 | 43,200 | ~691 KB | ~69.1 MB |
| 1 sample / 10 sec | 8,640 | 259,200 | ~4.15 MB | ~415 MB |
| 1 sample / 1 sec (1 Hz) | 86,400 | 2,592,000 | ~41.5 MB | ~4.15 GB |
| 10 samples / sec (10 Hz) | 864,000 | 25,920,000 | ~414.7 MB | ~41.5 GB |
4. Native HTTP Client Snippets
Zero Dependencies
TimesinkDB operates over standard HTTPS with pure UTF-8 JSON. Standard fetch() or any standard HTTP client is sufficient:
interface QueryResponse {
interval: string;
timestamps: number[];
results: Record<string, { values: (number | null)[] }>;
}
const TSDB_URL = "https://fra1.timesinkdb.com/databases/42";
const TSDB_TOKEN = process.env.TIMESINKDB_KEY;
// 1. Ingest numeric telemetry point (append ?mode=both to also store string fields as a raw JSON blob)
await fetch(`${TSDB_URL}/series/services.auth.login`, {
method: "POST",
headers: {
"Authorization": `Bearer ${TSDB_TOKEN}`,
"Content-Type": "application/json"
},
body: JSON.stringify({ latency_ms: 14.8, status: 200 })
});
// 2. Query downsampled 1-hour average metrics
const res = await fetch(`${TSDB_URL}/query?seriesKey=services.auth.login.latency_ms&from=-24h&interval=1h&fn=avg`, {
headers: { "Authorization": `Bearer ${TSDB_TOKEN}` }
});
const { timestamps, results } = (await res.json()) as QueryResponse;
import httpx
TSDB_URL = "https://fra1.timesinkdb.com/databases/42"
HEADERS = {"Authorization": "Bearer sec_live_..."}
with httpx.Client(base_url=TSDB_URL, headers=HEADERS) as client:
# 1. Ingest numeric telemetry
client.post("/series/fleet.vehicle_99", json={
"speed_kmh": 104.2,
"battery_pct": 78.5
})
# 2. Query analytical aggregates
resp = client.get("/query", params={
"seriesKey": "fleet.vehicle_99.speed_kmh",
"from": "-6h",
"interval": "15m",
"fn": "avg"
})
print(resp.json())
using System.Net.Http.Json;
using var http = new HttpClient {
BaseAddress = new Uri("https://fra1.timesinkdb.com/databases/42/")
};
http.DefaultRequestHeaders.Authorization = new("Bearer", "sec_live_...");
// 1. Post telemetry point
await http.PostAsJsonAsync("series/iot.sensor_12", new {
temperature_celsius = 23.4,
humidity_pct = 45.1
});
// 2. Query downsampled vector
var query = await http.GetFromJsonAsync<QueryResponse>(
"query?seriesKey=iot.sensor_12.temperature_celsius&from=-12h&interval=30m&fn=avg"
);
public sealed record QueryResponse(
string Interval,
long[] Timestamps,
Dictionary<string, SeriesValues> Results
);
public sealed record SeriesValues(double?[] Values);
# 1. Ingest telemetry point
curl -X POST https://fra1.timesinkdb.com/databases/42/series/api.requests \
-H "Authorization: Bearer sec_live_..." \
-H "Content-Type: application/json" \
-d '{"duration_ms": 124.5, "status": 200}'
# 2. Query downsampled averages
curl -G https://fra1.timesinkdb.com/databases/42/query \
-H "Authorization: Bearer sec_live_..." \
--data-urlencode "seriesKey=api.requests.duration_ms" \
--data-urlencode "from=-24h" \
--data-urlencode "interval=15m" \
--data-urlencode "fn=avg"
5. Interactive API Request Simulator
Live Wire PreviewTest TimesinkDB HTTP requests directly in your browser. Inspect wire payloads, simulated response round-trips, and formatted JSON responses.
Authorization: Bearer sec_live_09f4b7a7019842a... Content-Type: application/json
[
{
"seriesKey": "fleet.sensor-a.temp",
"ts": 1788624900000,
"value": 42.8
},
{
"seriesKey": "fleet.sensor-b.speed",
"ts": 1788624900000,
"value": 88.5
}
]
content-type: application/json; charset=utf-8
{
"status": "accepted",
"ingestedBytes": 32,
"pointsIngested": 2
}
6. Public Data Plane Endpoints
REST Wire CatalogCanonical REST/HTTPS endpoints for telemetry ingestion, historical range queries, downsampled analytics, and lifecycle retention rules. Protected via Bearer API secret keys or registered mTLS client certificates.
High-performance scoped ingestion endpoint supporting versatile structured extraction and raw event storage modes:
- extract (Default): Nested JSON numeric properties (and booleans stored as
1.0/0.0) are flattened up to 5 levels deep into dot-delimited columnar metric streams. - blob: Stores the entire raw UTF-8 JSON payload verbatim as an immutable event record under the series key.
- blobArray: Treats the request body JSON array as multiple distinct blob events.
- both: Dual persistence for JSON objects. Flattens numeric fields into dot-delimited child series (
{seriesKey}.{prop}) while storing the raw JSON object as ablobseries on the base{seriesKey}(orwebhooks.{webhookKey}.blobon webhook endpoints). - bothArray: Applies dual persistence across a JSON array of objects, flattening numeric fields from each element into
{seriesKey}.{prop}while storing each array element as a timestamped blob event on the base{seriesKey}.
| Parameter | In | Type | Description |
|---|---|---|---|
| databaseId | Path | integer | Unique database identifier (e.g. 42). |
| seriesKey | Path | string | Destination series key or namespace prefix up to 256 characters. Dots represent hierarchy. |
| mode | Query | string | Ingestion mode: extract (default), blob, blobArray, both, or bothArray. See Webhook Playbooks for JSON event capture patterns. |
| ts | Query | string | int | Optional explicit timestamp (Unix epoch seconds, milliseconds, microseconds, nanoseconds, or ISO-8601 / RFC 3339 UTC string), or a comma-separated list of ordered timestamps for blobArray / bothArray modes. Overrides payload timestamp fields; defaults to server UTC arrival time if omitted from both query and body. |
| tsProperty | Query | string | Optional JSON property name or dot-separated path used to extract the record timestamp from the payload (default: ts; pass an empty value ?tsProperty= to disable payload timestamp inspection and use server UTC arrival time). |
| requireCommit | Query | boolean | Optional (Pro+). When true, commits data synchronously to persistent NVMe via a coalesced group-commit window (<1.5s) before returning HTTP 200 OK. Default is 202 Accepted. See Serverless Playbook for durability patterns. |
Incoming integer epoch timestamps are automatically normalized by magnitude: seconds (< 1010), milliseconds (< 1013), microseconds (< 1016), and nanoseconds (≥ 1016), alongside ISO-8601 / RFC 3339 UTC strings. Internally, the storage engine persists all timestamps as canonical 64-bit UTC ticks (100-nanosecond precision) and emits Unix epoch milliseconds in JSON query responses.
{
"ts": "2026-09-05T16:15:00.000Z",
"usage": 84.2,
"core": {
"temp": 68.4,
"frequency": 3400
}
}
{
"status": "accepted",
"ingestedBytes": 48,
"pointsIngested": 3
}
High-throughput batch ingest endpoint for dispatchers, edge aggregators, and proxy workers. Accepts a top-level JSON array of envelope items without artificial object wrappers (up to 5,000 envelope items and 5,000 total decomposed points per request). Supports ?requireCommit=true (Pro+) for synchronous NVMe durability (200 OK, "status": "committed").
| Envelope Field / Param | In | Type | Description |
|---|---|---|---|
| seriesKey | Body[] | string | Required target series key or namespace prefix (1..256 chars) for the batch item. |
| value | Body[] | number | bool | object | array | Required telemetry payload for the item: scalar number/boolean, nested JSON object (flattened in extract/both modes), or JSON array (for blobArray/bothArray). |
| mode | Body[] | string | Optional per-item ingestion mode: extract (default), blob, blobArray, both, or bothArray. |
| ts | Body[] | int | string | array | Optional explicit timestamp (epoch ms/s or ISO-8601 UTC), or an array/comma-separated list of timestamps for array modes. |
| tsProperty | Body[] | string | Optional custom JSON property/path inside value used to extract timestamps (default: ts). |
| requireCommit | Query | boolean | Optional (Pro+). When true, flushes the entire batch to NVMe via a coalesced group-commit window (<1.5s) before returning HTTP 200 OK. |
Content-Encoding: gzip, br, or zstd to compress request bodies by up to 85% on the wire with zero server configuration.
Native Decompression
[
{
"seriesKey": "fleet.sensor-a",
"ts": 1788624900000,
"value": { "temp": 21.8, "humidity": 45.2 }
},
{
"seriesKey": "fleet.sensor-b",
"ts": "2026-09-05T16:15:00Z",
"value": { "temp": 23.1, "pressure": 101.3 }
}
]
{
"status": "accepted",
"ingestedBytes": 64,
"pointsIngested": 4
}
Series Keys, Escaping & Transport Safety
TimesinkDB dynamically accepts arbitrary JSON properties without pre-defining schemas, executing DDL migrations, or failing on unexpected keys. Upstream systems (IoT firmware, Kubernetes exporters, Stripe webhooks) never face rejection due to unconventional property naming.
In extract mode, unescaped dots (.) represent object depth hierarchy. Literal dots within property keys are escaped deterministically:
{"server": {"cpu": 80}} → server.cpu{"network": {"eth0.1": 100}} → network.eth0\.1Characters outside the standard metric set are preserved verbatim in the series catalog up to 256 characters:
{"disk/sda1": 45.2} → disk/sda1{"sensors": {"room temp": 21.0}} → sensors.room temp
Resolved series keys must be 1..256 characters long, cannot start or end with whitespace or an unescaped dot (.), cannot contain consecutive unescaped dots (..) or ASCII control characters, and only permit \. and \\ as escape sequences. Avoid glob wildcard characters (* and ?) in series names, as /query and /series?pattern=... evaluate them as pattern wildcards. When a series key contains slashes (/) or reserved URL characters, read it via GET /databases/{databaseId}/series?key=....
Native webhook receiver that accepts raw HTTP webhook deliveries directly from third-party platforms (Stripe, GitHub, Shopify, Clerk) without intermediate verification functions or queues. TimesinkDB verifies HMAC signatures natively in the database API and handles duplicate deliveries at query time via monotonic Last-Write-Wins deduplication.
- Named Webhook Configurations: The
{webhookKey}path parameter matches a named webhook configuration registered on the database, encapsulating the provider preset, HMAC secret, authoritativetsProperty, storage mode, durability policy (requireCommit), and series namespace (webhooks.{webhookKey}.*). - Clean Ingestion URL: External webhook delivery services post directly to
https://{node}.timesinkdb.com/databases/{id}/webhooks/{webhookKey}with no query parameters required. All parsing, mapping, and durability settings are enforced server-side. - Built-In Presets & Auto-Extraction: Presets natively verify platform signature headers (
Stripe-Signature,X-Hub-Signature-256,X-Shopify-Hmac-Sha256,svix-signature). Once verified, payloads flow directly into the high-performance ingestion engine with automatic columnar series and/or blob extraction. - Configurable Durability (Synchronous NVMe Commit): When the named webhook configuration specifies
"requireCommit": true(Pro+), the engine persists data synchronously to persistent NVMe before returning HTTP200 OK. By default ("requireCommit": false), webhooks buffer in memory and return HTTP202 Acceptedwith asynchronous NVMe persistence within 60s (30s background flush cycle, ≤60s RPO).
| Parameter | In | Type | Description |
|---|---|---|---|
| databaseId | Path | integer | Unique database identifier (e.g. 42). |
| webhookKey | Path | string | Unique named webhook configuration identifier registered on the database (e.g. stripe, github-deploy, shopify). |
Lists registered series keys and their assigned storage types for the database, or retrieves specific series data directly via the key query parameter.
| Parameter | In | Type | Description |
|---|---|---|---|
| pattern | Query | string | Optional glob pattern filter (e.g. fleet.* or webhooks.stripe.*). |
| type | Query | string | Optional series type filter: numeric or blob. |
| limit | Query | integer | Maximum number of catalog entries to return (1..10000, default 1000). |
| key / seriesKey | Query | string | Optional exact series key. When supplied, delegates directly to GET /databases/{databaseId}/series/{key} (and accepts from, to, limit, and direction; handy when keys contain reserved URL characters). |
{
"count": 2,
"maxSeries": 65000,
"series": [
{ "seriesKey": "fleet.sensor-a.temp", "type": "numeric" },
{ "seriesKey": "fleet.audit.logs", "type": "blob" }
]
}
Canonical endpoint for raw stream retrieval and multi-representation projections. Direct reads bypass analytical SIMD downsampling pipelines, providing sub-millisecond access directly from active memory pointers:
- O(1) Latest Tail Access (Default when
fromis omitted): Returns the most recent scalar point ("value") or JSON event ("value") in <1ms without disk scanning. Ideal for live dashboard cards, IoT status gauges, and health checks without an intermediate Redis cache. - Chronological Range Query (When
fromis specified): Sequentially streams raw historical records over[from, to]without mathematical downsampling ("points"array for numeric series;"events"array of{"ts", "value"}for blob series). - Multi-Representation Projections: Append
.svg,.html,.csv, or.jsonto render server-side visualizations or CSV exports on the fly (for.svgand.html,fromdefaults to-1h,intervaltoauto, andfntoavg; also acceptsfill,theme,chart/type[line,area,bar,step],color,width[100..3840],height[60..2160],title, andtoken).
| Parameter | In | Type | Description |
|---|---|---|---|
| from | Query | string | int | Optional start boundary (relative e.g. -1h, -7d, ISO-8601 UTC, or Unix epoch ms/s). When omitted on .json, executes O(1) latest point lookup. |
| to | Query | string | int | Optional end boundary (default: now). |
| limit | Query | integer | Maximum records returned for historical range queries (1..10000, default 100). |
| direction | Query | string | Sort order for historical range queries: desc (newest first, default) or asc (oldest first). |
{
"seriesKey": "fleet.sensor-a.temp",
"type": "numeric",
"ts": 1788624900000,
"value": 21.8
}
{
"seriesKey": "fleet.sensor-a.temp",
"count": 2,
"points": [
{ "ts": 1788624900000, "value": 21.8 },
{ "ts": 1788621300000, "value": 21.2 }
]
}
Executes hardware-accelerated downsampling and multi-series aggregations across raw points (up to 16 sub-queries per request and 10,000 time buckets per query across up to 65,000 resolved series), with automatic deduplication over matching series chunks. Supports adaptive bucket sizing (interval=auto), configurable gap-filling (fill), wildcard glob patterns (fleet.*.temp), and 12 built-in read-time aggregation functions including arbitrary percentiles (p<N>)—see the parameter reference table below.
{
"range": { "from": "-1h", "to": "now" },
"interval": "15m",
"fill": "previous",
"queries": [
{
"id": "q1",
"seriesKey": "fleet.*.temp.celsius",
"fn": "avg"
}
]
}
{
"interval": "15m",
"timestamps": [
1788620400000,
1788621300000
],
"results": {
"q1": {
"values": [23.4, 24.1]
}
}
}
GET /databases/42/query?seriesKey=fleet.*.temp.celsius&from=-1h&to=now&interval=15m&fn=p99&fill=0
| POST Field / GET Param | Type & Default | Description |
|---|---|---|
| range.from / from | string | int64 (required) | Inclusive window start: relative duration (-15m, -1h, -24h, -7d), ISO-8601 string, or Unix epoch milliseconds. |
| range.to / to | string | int64 (now) |
Inclusive window end: now, ISO-8601 string, or Unix epoch milliseconds. |
| interval | string (1m / auto) |
Downsampling bucket width (1s, 10s, 1m, 5m, 15m, 1h, 1d, or auto for ~120 visual buckets; max 10,000 buckets). |
| fill | string | number (none) |
Empty bucket strategy: none (default, omits empty buckets), null (emits all buckets across [from, to] with null), previous (LOCF), or any numeric constant (e.g. 0). |
| queries[].id | string (q1) |
Caller-defined identifier keying the corresponding result entry in results (up to 16 entries in queries[]). |
| queries[].seriesKey / seriesKey / q | string (required) | Exact series key, wildcard glob pattern (* and ?, e.g. fleet.*.temp.celsius), or comma-separated series list (up to 16 on GET /query[.json|.svg|.html|.csv]). |
| queries[].field | string (optional) | Optional sub-property suffix appended to seriesKey when querying decomposed JSON object trees. |
| queries[].fn / fn | string (avg) |
avg, sum, min, max, count, first, last, delta, rate, integral, timeweightedavg, or p<N>. |
Analytical queries (GET query parameters or POST multi-metric JSON request bodies) can be projected directly into server-rendered visualizations or tabular export streams for Notion, GitHub READMEs, internal admin dashboards, and spreadsheet workflows.
| Extension | Content-Type | Description |
|---|---|---|
| .svg | image/svg+xml | Clean vector chart. Parameters: from, to, interval (auto), fn (p<N>), fill, theme, chart / type, color, width, height, title, token. $0 egress. |
| .html | text/html | Self-contained responsive HTML iframe widget with interactive hover tooltips and dynamic metric stats. $0 egress. |
| .csv | text/csv | RFC 4180 comma-separated values stream for spreadsheet import and BI tools. |
| .json | application/json | Standard structured downsampling result. |
Inspects (GET) or configures (PUT) granular retention lifetimes per series pattern at day granularity (1d to 65534d, or indefinite; e.g. 30d, 365d). Default infinite retention preserves telemetry indefinitely until overridden by explicit pattern rules or administrative purge. Configuring rules via PUT updates pattern definitions immediately (HTTP 200 OK), triggers an immediate background purge of already-expired data, and evaluates daily in the background.
{
"rules": [
{ "pattern": "fleet.ephemeral.*", "retention": "30d" },
{ "pattern": "fleet.audit.*", "retention": "365d" }
]
}
Regional Health & Latency Probes
Unauthenticated regional endpoints for customer uptime monitors, edge health checks, and network latency measurement:
GET /healthz: Regional liveness probe returning200 OKwhen the regional endpoint is active.GET /ready: Readiness probe returning200 OKwhen the regional node is accepting requests (or503during maintenance drain).GET /ping: Zero-overhead latency probe returning plain textpongfor round-trip time (RTT) checks.
7. Control Plane & Web Console
TimesinkDB strictly isolates the administrative control plane from data-plane ingestion and query execution. Database lifecycle, capacity allocation across environments, and credential management are handled at the account level.
The TimesinkDB web console provides self-serve management for account capacity and multi-database configurations. Key console capabilities include:
Deploy isolated databases in chosen geographic regions (Frankfurt, Virginia, Tokyo) with single-click provisioning.
Dynamically carve pooled account NVMe storage, egress, and query workers across production, staging, and preview databases.
Rotate API secret keys, issue scoped read-only embed tokens, register named webhook configurations (webhookKey HMAC secrets), bind hardware mTLS certificates, configure IP allowlists, and execute administrative data purges (GDPR Art. 17 erasure).
8. Service Quotas & Enforced Limits
Service quotas, payload boundaries, and enforced operational limits:
| Boundary | Limit | Behavior When Exceeded |
|---|---|---|
| Max Single Write Payload | 10 MB | Rejects immediately with HTTP 413 Payload Too Large (PayloadTooLarge). |
| Batch Ingest Envelope Limit | 5,000 items / points | Capped at 5,000 array items and 5,000 total decomposed points per batch HTTP POST (/ingest). |
| Analytical Query Fan-Out | 16 queries / 10,000 buckets | POST /query supports up to 16 sub-queries per request and 10,000 buckets per query across up to 65,000 resolved series. |
| Series Catalog Quota | 65,000 series / DB | Points and events appended to each named series are unlimited up to provisioned storage capacity (1,000 series on Free Sandbox; scales across multi-database accounts). |
| JSON Decomposition Depth | 5 levels | In extract / both modes, flattens up to 5 nested object levels into metric streams; deeper nesting rejects with 400 Bad Request (InvalidPayload — use ?mode=blob for deeply nested JSON). |
| Query Execution Timeout | 4,000 ms | Analytical scans exceeding 4.0 seconds return HTTP 408 QueryTimeoutExceeded. |
| Storage Quota Cap (Spend Cap / Auto-Expand) | 100% Provisioned |
Strict Spend Cap (Default): Rejects writes with
422 StorageQuotaExceeded (alerts at 80% & 90%) while reads and visual embeds continue with 0% downtime.Elastic Auto-Expand (Optional): First allocates remaining unallocated account storage ($0), then expands account storage in +20 GB increments.
|
| Egress Quota Cap (Spend Cap / Auto-Expand) | 100% Provisioned |
Strict Spend Cap (Default): Pauses raw programmatic
.json / .csv query responses with 422 EgressQuotaExceeded (alerts at 80% & 90%) while ingestion (POST) and $0 fair-use .svg / .html visual embeds continue uninterrupted.Elastic Auto-Expand (Optional): First allocates remaining unallocated account egress ($0), then expands account egress in +25 GB/mo increments ($2.00/mo).
|
9. Plan Architectural Tiers & Technical Capabilities
Technical comparison of concurrency gates, persistence modes, network isolation, and feature availability. For commercial pricing, refer to the Pricing Catalog.
| Technical Dimension | Free Sandbox | Starter | Pro | Scale | Dedicated Node |
|---|---|---|---|---|---|
| Database Topology | 1 Sandbox DB (Shared) | 1 Dedicated DB | Multi-DB (Up to 6 DBs) | Multi-DB (Up to 12 DBs) | Multi-DB (Unlimited DBs) |
| Active Series Catalog Quota | 1,000 series | 65,000 series | 65,000 / DB (up to 390k total) | 65,000 / DB (up to 780k total) | 65,000 / DB (Unlimited total) |
| Parallel Query Workers (Account Pool) | 1 Query Worker | 4 Query Workers | 12 Query Workers | 24 Query Workers | Uncapped (Dedicated CPU • optional per-DB caps) |
| Ingestion Durability Modes | Asynchronous Ingest (202 Accepted, 30s flush cycle / ≤60s RPO) | Asynchronous Ingest (202 Accepted, 30s flush cycle / ≤60s RPO) | Asynchronous Ingest (202 Accepted) + Synchronous Commit (200 OK via ?requireCommit=true) |
Asynchronous Ingest (202 Accepted) + Synchronous Commit (200 OK via ?requireCommit=true) |
Asynchronous Ingest (202 Accepted) + Synchronous Commit (200 OK via ?requireCommit=true) |
| Authentication Schemes | Secret API Key, Read-Only Token | Secret API Key, Read-Only Token | API Key, Account Key, Read Token | API/Account Keys + Hardware mTLS Certs | API/Account Keys + Hardware mTLS Certs |
Visual Embeds (.html, .svg) |
Attributed ("Powered by") + Themes/Colors | Attributed ("Powered by") + Themes/Colors | Whitelabel (No watermark) + Themes/Colors | Whitelabel + Custom CNAME | Full Whitelabel + Custom Hostname |
Custom Plan Tier Mapping: Custom plans unlock capabilities based on monthly commitment ($10–$34.99/mo = Starter single-DB capabilities; ≥$35/mo = Pro Multi-DB pooling, synchronous ?requireCommit=true & watermark-free whitelabeling; ≥$85/mo = Scale hardware mTLS, IP allowlists & custom CNAME domains).
10. Error Codes & RFC 7807 Problem Details
All error responses follow the standard RFC 7807 problem details specification (application/problem+json) with machine-readable type, title, status, detail, and code fields.
| Status Code | Name | Condition |
|---|---|---|
| 400 Bad Request | InvalidPayload | Payload failed JSON parsing, exceeded 5-level object decomposition depth, or contained malformed series keys, webhook headers, data types, or query parameters. |
| 401 Unauthorized | InvalidToken / InvalidSignature / ExpiredSignature | Bearer token or mTLS client certificate is missing/invalid (InvalidToken), or webhook signature header is missing, failed HMAC verification, or exceeded the 5-minute replay tolerance (InvalidSignature, ExpiredSignature). |
| 402 Payment Required | PaymentRequired | Account billing subscription is past due or suspended. |
| 403 Forbidden | Forbidden / FeatureNotPermitted / IpNotAllowed / DatabaseSuspended | Database-scoped key used against a different database (Forbidden), write attempted with a read-only token, webhook endpoint is inactive, or plan tier does not permit the requested feature such as ?requireCommit=true (FeatureNotPermitted), client IP is outside the database CIDR allowlist (IpNotAllowed), or the database is suspended (DatabaseSuspended). |
| 404 Not Found | NotFound | The requested database, series key, webhook key, or administrative resource was not found. |
| 408 Request Timeout | QueryTimeoutExceeded | Analytical query took longer than the hard limit of 4.0 seconds. Shorten the range or increase the interval. |
| 413 Payload Too Large | PayloadTooLarge | Ingestion payload size exceeded the 10 MB limit. |
| 422 Unprocessable | SeriesQuotaExceeded | Database exceeded maximum registered series quota (65,000 series per database; 1,000 on Sandbox). |
| 422 Unprocessable | StorageQuotaExceeded | Configured database reached 100% of provisioned storage under Strict Spend Cap mode (when Elastic Auto-Expand is not enabled). Read queries and visual embeds continue uninterrupted. |
| 422 Unprocessable | EgressQuotaExceeded | Configured database reached 100% of its monthly JSON/CSV API egress quota under Strict Spend Cap mode (when Elastic Auto-Expand is not enabled). Telemetry ingestion (POST) and $0 fair-use .svg / .html visual embeds continue uninterrupted. |
| 422 Unprocessable | TypeMismatch | Series data type conflicts with existing registered series schema (numeric vs blob). |
| 503 Service Unavailable | MaintenanceBusy / InternalError | Database storage engine is busy executing an administrative maintenance operation (MaintenanceBusy) or the node is temporarily unavailable. |
Ready to integrate with the TimesinkDB REST API? Reserve your 1 GB Free Sandbox.
Includes 1,000 active series, $0.00 write API fees, and unlimited fair-use chart embeds with no credit card required.