fob-mdm records
A golden record holds the agreed value of each field for one real-world entity. Values are set by field key with --set key=value, and every change is recorded in the history. See Golden Records.
fob-mdm records <action> [target] [options]
| Action | Description |
|---|---|
list | List an object's records with their golden values |
show | Show a record's golden values and each connected app's values |
create | Create a golden record, optionally with values |
edit | Change golden values; each change is recorded in the history |
delete | Delete a record with its values and history |
history | List every change to a record's golden values, newest first |
records list
List an object's records with their golden values.
fob-mdm records list --object <object> [options]
| Argument or option | Required | Default | Description |
|---|---|---|---|
--object <object> | Yes | Object id or slug. | |
--where <key=value> | Exact match on a golden value; repeat for several. | ||
--page <n> | 1 | Page number. | |
--limit <n> | 100 | Rows per page (max 500). | |
--all | Fetch every page (up to 15000 rows). | ||
--json | Print the raw JSON response. |
fob-mdm records list --object vendor
fob-mdm records list --object vendor --where gstin=29ABCDE1234F1Z5
fob-mdm records list --object vendor --all --json
ID NAME GSTIN BANK_IFSC
----------------------------------------------------------------
100 Acme Supplies Private Limited 29ABCDE1234F1Z5 HDFC0001234
API: List Records
records show
Show a record's golden values and each connected app's values.
fob-mdm records show <id> [options]
| Argument or option | Required | Default | Description |
|---|---|---|---|
<id> | Yes | Record id. | |
--json | Print the raw JSON response. |
fob-mdm records show 100
ID: 100
Object: 1
name: Acme Supplies Private Limited
gstin: 29ABCDE1234F1Z5
bank_ifsc: HDFC0001234
--- Payments (cont_8f2k) ---
FIELD APP VALUE MATCHES
-----------------------------------
name ACME SUPPLIES NO
gstin 29ABCDE1234F1Z5 yes
bank_ifsc HDFC0009999 NO
Below the golden values is one table per connected app that holds this record, with the app's value and whether it matches.
API: Get Record
records create
Create a golden record, optionally with values.
fob-mdm records create --object <object> [options]
| Argument or option | Required | Default | Description |
|---|---|---|---|
--object <object> | Yes | Object id or slug. | |
--set <key=value> | A golden value; repeat for several. | ||
--json | Print the raw JSON response. |
fob-mdm records create --object vendor \
--set name='Acme Supplies Private Limited' \
--set gstin=29ABCDE1234F1Z5 \
--set bank_ifsc=HDFC0001234
The values are recorded in the history with cause initial_load. An unknown key is refused, and the error lists the valid ones.
API: Create Record
records edit
Change golden values; each change is recorded in the history.
fob-mdm records edit <id> --set <key=value> [options]
| Argument or option | Required | Default | Description |
|---|---|---|---|
<id> | Yes | Record id. | |
--set <key=value> | Yes | A golden value; repeat for several. | |
--json | Print the raw JSON response. |
fob-mdm records edit 100 --set bank_ifsc=HDFC0005678
ID: 100
Object: 1
name: Acme Supplies Private Limited
gstin: 29ABCDE1234F1Z5
bank_ifsc: HDFC0005678
--- Changed ---
bank_ifsc: HDFC0001234 → HDFC0005678
Only values that actually change are recorded. Setting a value to what it already is changes nothing.
API: Set Record Values
records delete
Delete a record with its values and history.
fob-mdm records delete <id> [options]
| Argument or option | Required | Default | Description |
|---|---|---|---|
<id> | Yes | Record id. | |
-y, --yes | Skip the confirmation. |
fob-mdm records delete 100 --yes
Deletes the record with its values and history. This can't be undone.
API: Delete Record
records history
List every change to a record's golden values, newest first.
fob-mdm records history <id> [options]
| Argument or option | Required | Default | Description |
|---|---|---|---|
<id> | Yes | Record id. | |
--field <key> | Only this field's history. | ||
--page <n> | 1 | Page number. | |
--limit <n> | 100 | Rows per page (max 500). | |
--all | Fetch every page (up to 15000 rows). | ||
--json | Print the raw JSON response. |
fob-mdm records history 100
fob-mdm records history 100 --field bank_ifsc
WHEN FIELD OLD NEW CAUSE ACTOR
---------------------------------------------------------------------------------------------------
2026-11-26 09:02:41 bank_ifsc HDFC0001234 HDFC0005678 api api_key:7
2026-11-26 07:20:08 gstin — 29ABCDE1234F1Z5 initial_load api_key:7
2026-11-26 07:20:08 name — Acme Supplies Private Limited initial_load api_key:7
CAUSE is hub_edit for an edit in the app, api for the API or CLI, and initial_load for the values a record was created with. Times are UTC.
API: List Record History
Every command also takes --profile <name> and --help. See Command-line Interface.
Using an AI agent? Give it the raw Markdown of this page, or the docs index.