Skip to content

KV change history

GET
/api/v1/projects/{id}/kv/history
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.

id
required
string

Project ID

env
required
string

Production or preview

store
string

Store name (default store when key is set)

key
string

One key

limit
integer

Events, 1 to 50 (default 20)

OK

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
environment
string
events
Array<object>
object
actor
object
agent_client_name
string
agent_connection_id
string
api_key_id
string
api_key_name
string
at

At is when the key was last written; only on written_by.

string
deployment_id
string
kind

Kind is user, agent, api_key, function or unknown.

string
name

Name is ready to show: “Jesse”, “Claude Code for Jesse”, “API key deploy-bot”, “function in deployment abc1234”, “Former member”, “Not recorded”.

string
user_email

UserEmail is the person’s email, for owners and admins only.

string
at
string
key
string
op
string
size_bytes
integer
store
string
version
string
recorded
string
retention_days
integer

Example

{
"data": {
"events": [
{
"actor": {
"kind": "agent",
"name": "Claude Code for Jesse"
},
"op": "put"
}
],
"retention_days": 90
}
}

Bad Request

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

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.

string
who_acts
string

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

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

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.

string
who_acts
string

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

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

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.

string
who_acts
string

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