A Mapping is the generated output from Lume. Each mapping corresponds to a source record, so a job with multiple source records will contain multiple mappings. A mapping contains:

  1. index: the index of the source record in question
  2. source_record: the source record.
  3. mapped_record: The mapped data after applying a Mapper to source data. E.g. the final output data.
  4. message: the status of the type enforcement on the record’s mapped data. If success, then the record is not flagged. Otherwise, Lume caught an error to review. See Flagged Mappings to learn more about parsing the message and error handling.

You can access Mappings in the Results payload returned after running a Job, via Get Results. After fetching a result, get the mappings via Get Mappings For Result with fetched result’s result_id.