A workspace table record's change history
curl --request GET \
--url https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows/{record_id}/historyconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows/{record_id}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows/{record_id}/history"
response = requests.get(url)
print(response.text){
"table_id": "<string>",
"record_id": "<string>",
"history": [
{
"id": 123,
"record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"op": "create",
"at": "2023-11-07T05:31:56Z",
"actor_sub": "<string>",
"actor_agent": "<string>",
"credential": "<string>",
"changed_fields": [
"<string>"
],
"before": {},
"after": {},
"credential_name": "<string>",
"actor_email": "<string>"
}
]
}Data workspace
A workspace table record's change history
Every change to the record, oldest first: who (actor_sub, actor_agent), through what (credential), when, and the changed fields with their values before and after. Written in the same transaction as each change, whatever made it (console, API key, connected agent, table input, bulk import, workflow, Brain pipeline, graph mutation). After a delete, every entry keeps who acted and which fields changed, with no values. Dedicated workspace database; Pro or Team required. Any member may read it.
GET
/
admin
/
api
/
data-workspace
/
tables
/
{table_id}
/
rows
/
{record_id}
/
history
A workspace table record's change history
curl --request GET \
--url https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows/{record_id}/historyconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows/{record_id}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/data-workspace/tables/{table_id}/rows/{record_id}/history"
response = requests.get(url)
print(response.text){
"table_id": "<string>",
"record_id": "<string>",
"history": [
{
"id": 123,
"record_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"table_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"op": "create",
"at": "2023-11-07T05:31:56Z",
"actor_sub": "<string>",
"actor_agent": "<string>",
"credential": "<string>",
"changed_fields": [
"<string>"
],
"before": {},
"after": {},
"credential_name": "<string>",
"actor_email": "<string>"
}
]
}