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]
ActionDescription
listList an object's records with their golden values
showShow a record's golden values and each connected app's values
createCreate a golden record, optionally with values
editChange golden values; each change is recorded in the history
deleteDelete a record with its values and history
historyList 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 optionRequiredDefaultDescription
--object <object>YesObject id or slug.
--where <key=value>Exact match on a golden value; repeat for several.
--page <n>1Page number.
--limit <n>100Rows per page (max 500).
--allFetch every page (up to 15000 rows).
--jsonPrint 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 optionRequiredDefaultDescription
<id>YesRecord id.
--jsonPrint 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 optionRequiredDefaultDescription
--object <object>YesObject id or slug.
--set <key=value>A golden value; repeat for several.
--jsonPrint 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 optionRequiredDefaultDescription
<id>YesRecord id.
--set <key=value>YesA golden value; repeat for several.
--jsonPrint 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 optionRequiredDefaultDescription
<id>YesRecord id.
-y, --yesSkip 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 optionRequiredDefaultDescription
<id>YesRecord id.
--field <key>Only this field's history.
--page <n>1Page number.
--limit <n>100Rows per page (max 500).
--allFetch every page (up to 15000 rows).
--jsonPrint 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.