DB API code to handle more detailed recording of ingestion records