rekor records

Manage records

Subcommands

rekor records upsert <record_type>

Create or update a record

  • --data <json> — Record data (inline JSON or @filename)
  • --id <id> — Internal record ID (UUID) to update a known record
  • --external-id <id> — External/agent-supplied ID for idempotent upsert
  • --external-source <source> — Source system for external_id (e.g. stripe)

rekor records get <record_type> <id>

Get a record by internal ID, or by external_id (pass --external-source to scope it)

  • --external-source <source> — Treat <id> as an external_id scoped to this source system (e.g. stripe)

rekor records delete <record_type> <id>

Delete a record by internal ID, or by external_id (pass --external-source to scope it)

  • -y, --yes — Skip confirmation prompt
  • --external-source <source> — Treat <id> as an external_id scoped to this source system (e.g. stripe)

rekor records history <id>

View the change history (audit log) for a record — every version, who changed it, and when

  • --limit <n> — Max results
  • --offset <n> — Pagination offset
  • --diff — Include field-level diffs between versions