KV change history
const url = 'https://api.deploybase.eu/api/v1/api/v1/projects/example/kv/history?env=example';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/history?env=example' \ --header 'Authorization: <Authorization>'Who changed which key and when, newest first, for one key (key set) or the whole project environment (one store when store is set). Holds dashboard and agent changes (people, agents for people, API keys) for 90 days; function writes are not in it (a key’s last writer, functions included, is written_by on GET /kv/value). Never values. user_email only for owners and admins. 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 or preview
Store name (default store when key is set)
One key
Events, 1 to 50 (default 20)
Responses
Section titled “ Responses ”OK
object
object
object
object
object
At is when the key was last written; only on written_by.
Kind is user, agent, api_key, function or unknown.
Name is ready to show: “Jesse”, “Claude Code for Jesse”, “API key deploy-bot”, “function in deployment abc1234”, “Former member”, “Not recorded”.
UserEmail is the person’s email, for owners and admins only.
Example
{ "data": { "events": [ { "actor": { "kind": "agent", "name": "Claude Code for Jesse" }, "op": "put" } ], "retention_days": 90 }}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"}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"}Live 582ac705 built