KV overview
const url = 'https://api.deploybase.eu/api/v1/api/v1/projects/example/kv/overview';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.deploybase.eu/api/v1/api/v1/projects/example/kv/overview \ --header 'Authorization: <Authorization>'One summary for the KV page, the project overview and the kv_overview MCP tool (DEP-1028). The live store list (it stops at 1,000: stores_truncated) merged with the daily count: per store its keys, bytes and first-level prefix rows (grouped on “/”, a leading “/” kept; no_separator marks keys with no “/”, prefix “”), at most 20 by keys desc plus the folded rest. A store the count has not seen yet has counted false and null keys and bytes; a counted store that no longer exists is left out. Stores sort by keys desc, ties by name, uncounted last. measured_at is when this project environment was last counted (once a day), null before the first. team is the whole team (every project, both environments) against limits.team_bytes. Needs member.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Project ID
Query Parameters
Section titled “ Query Parameters ”Production (default) or preview
Responses
Section titled “ Responses ”OK
object
object
object
object
AtLimit is what happens past TeamBytes, in plain words.
TeamBytes is the team’s storage cap (1 GB in the beta).
ValueBytes is the largest value (1 MB); a larger write is 413 KV_VALUE_TOO_LARGE.
MeasuredAt is when this project environment was last counted, null before the first count.
Project is this project environment’s measured keys and bytes (zero before the first count).
object
Stores are the live stores, largest first (keys desc, ties by name; uncounted ones last).
object
object
object
StoresTruncated: the live store listing stops at 1,000 stores.
object
Example generated
{ "data": { "environment": "example", "limits": { "at_limit": "example", "team_bytes": 1, "value_bytes": 1 }, "measured_at": "example", "project": { "bytes": 1, "keys": 1 }, "stores": [ { "bytes": 1, "counted": true, "keys": 1, "name": "example", "prefixes": [ { "bytes": 1, "keys": 1, "no_separator": true, "prefix": "example" } ], "rest": { "bytes": 1, "keys": 1, "prefixes": 1 } } ], "stores_truncated": true, "team": { "bytes": 1, "limit_bytes": 1, "measured_at": "example" } }, "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Bad Request
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}KV_NOT_ENABLED, or FORBIDDEN below member
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}PROJECT_NOT_FOUND
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}KV_RATE_LIMITED
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}KV_UNAVAILABLE
object
object
object
The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.
Example generated
{ "code": "example", "details": "example", "docs_url": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }, "next_actions": [ { "action": "example", "cli": "example", "description": "example", "http": "example", "tool": "example" } ], "reason": "example", "who_acts": "example"}Live 582ac705 built