The operation journal, newest first: `total` (the matching operations) and `migrations`, each with
const url = 'https://example.com/datanotes/operations/list_migrations/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"limit":null,"op":null,"table":null,"since":null}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/datanotes/operations/list_migrations/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "limit": null, "op": null, "table": null, "since": null }'The operation journal, newest first: total (the matching operations) and migrations, each with
migration_id (for undo_migration), op, summary, table (when it was about one), executed_at,
notes_changed, files_changed, undone, undoes, files_failed, by (the agent), and members
(a batch’s operations) or batch (the batch of an operation).
Filters: op (e.g. “update_rows”), table (substring of the table name, e.g.
“personal.tasks.task”), since (ISO date). limit default 50. The journal is kept in the
engine’s store, outside the vault (store:journal/); entries older than 90 days are dropped.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Responses
Section titled “Responses”Done.
object
Matching operations (before limit).
Newest first.
object
The table (or schema, or catalog) the operation was about, by its qualified name.
ISO date-time.
Files created, moved, deleted or rewritten.
Operation this one undid.
Harness / model of the agent.
Operations of a batch.
Batch this operation belongs to.
Example generated
{ "total": 1, "migrations": [ { "migration_id": "example", "op": "example", "summary": "example", "table": "example", "executed_at": "example", "notes_changed": 1, "files_changed": 1, "undone": true, "undoes": "example", "files_failed": 1, "by": "example", "members": [ "example" ], "batch": "example" } ]}Bad input: the body is not a JSON object, or an argument is unknown, missing or of the wrong type.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}Missing or wrong bearer token.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}Unknown table, view, migration, note or folder.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}Ambiguous table name: it matches several tables (paths or tables lists them).
object
The tables’ folders the name matches.
The qualified tables the name matches.
Example generated
{ "error": "example", "paths": [ "example" ], "tables": [ "example" ]}Unexpected error.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}