---
title: "Read a kept mapping draft"
description: "Mappings API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read a kept mapping draft

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="get">GET</span>
<code class="cvo-op-path-code">/v1/mappings/drafts/&#123;id&#125;</code>
</div>
</div>

The draft whole. `from` is the version it starts from and `carried` the fields carried over from it unchanged, when it is a new version. `card` is the profiler's draft with every decision applied in order; `decisions` are the ones kept, and `notApplied` names any that no longer apply to the draft made from today's samples. `samples` are the kept files, each with its sha256 and its bytes. `test` is the last test, `current` saying whether it ran on the card as it is now. `finalized` names the frozen version once there is one. `fromSettings` names each seller field your company's details hold, with its value, when the details are used on invoices: a field the card does not write is filled from them. `readiness` is everything left of the draft, counted once: `columnsToDecide` (each column nobody mapped or left out), `fieldsToDecide` (each field an open column is proposed for), `missing` (each required field nothing fills), `codes` and `paymentKeys` (each of your codes and payment keys nobody gave a meaning yet), `test` (`untested`, `passed` or `failed` for the card as it is now, with the policy check the test ran), `fields` (each field's state: `mapped`, `decide`, `missing` or `empty`) and `blockedBy`, the first thing that keeps the draft from being saved, or null. Finalize refuses by the same count.

## Path parameters

## Status codes

| Status | Meaning |
|---|---|
| `200` | `{id, target, card, decisions, notApplied, from, carried, profile, targets, unmapped, corpus, samples, test, finalized, fromSettings, readiness}`. |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `404` | This company has no such draft (`unknown_mapping_draft`). |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/mappings/read-a-kept-mapping-draft/index.mdx
