---
title: "Mappings"
description: "Freeze and inspect a customer's mapping. Use a conversion operation to process a mapped file."
---

> 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.

# Mappings

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
Freeze and inspect a customer's mapping. Use a conversion operation to process a mapped file.

| Method | Route | Path |
|---|---|---|
| <span class="cvo-method" data-method="get">GET</span> | [List mappings](/reference/api/mappings/list-mappings) | `/v1/mappings` |
| <span class="cvo-method" data-method="post">POST</span> | [Save a mapping configuration](/reference/api/mappings/save-a-mapping-configuration) | `/v1/mappings` |
| <span class="cvo-method" data-method="post">POST</span> | [Retire a mapping, or bring it back](/reference/api/mappings/retire-a-mapping-or-bring-it-back) | `/v1/mappings/retirements` |
| <span class="cvo-method" data-method="post">POST</span> | [Merge one mapping into another](/reference/api/mappings/merge-one-mapping-into-another) | `/v1/mappings/merges` |
| <span class="cvo-method" data-method="get">GET</span> | [Get a mapping](/reference/api/mappings/get-a-mapping) | `/v1/mappings/{version}` |
| <span class="cvo-method" data-method="get">GET</span> | [List target models](/reference/api/mappings/list-target-models) | `/v1/mappings/models` |
| <span class="cvo-method" data-method="post">POST</span> | [Register a target model](/reference/api/mappings/register-a-target-model) | `/v1/mappings/models` |
| <span class="cvo-method" data-method="get">GET</span> | [Read a target model](/reference/api/mappings/read-a-target-model) | `/v1/mappings/models/{name}/{version}` |
| <span class="cvo-method" data-method="get">GET</span> | [List the mapping drafts not yet finalized](/reference/api/mappings/list-the-mapping-drafts-not-yet-finalized) | `/v1/mappings/drafts` |
| <span class="cvo-method" data-method="post">POST</span> | [Draft a mapping from sample files](/reference/api/mappings/draft-a-mapping-from-sample-files) | `/v1/mappings/drafts` |
| <span class="cvo-method" data-method="get">GET</span> | [Read a kept mapping draft](/reference/api/mappings/read-a-kept-mapping-draft) | `/v1/mappings/drafts/{id}` |
| <span class="cvo-method" data-method="delete">DELETE</span> | [Delete a mapping draft not yet finalized](/reference/api/mappings/delete-a-mapping-draft-not-yet-finalized) | `/v1/mappings/drafts/{id}` |
| <span class="cvo-method" data-method="post">POST</span> | [Decide columns and fields of a kept draft](/reference/api/mappings/decide-columns-and-fields-of-a-kept-draft) | `/v1/mappings/drafts/{id}/decisions` |
| <span class="cvo-method" data-method="post">POST</span> | [Ask AI about the open columns of a kept draft](/reference/api/mappings/ask-ai-about-the-open-columns-of-a-kept-draft) | `/v1/mappings/drafts/{id}/ai` |
| <span class="cvo-method" data-method="post">POST</span> | [Add samples to a kept draft](/reference/api/mappings/add-samples-to-a-kept-draft) | `/v1/mappings/drafts/{id}/samples` |
| <span class="cvo-method" data-method="delete">DELETE</span> | [Remove a sample from a kept draft](/reference/api/mappings/remove-a-sample-from-a-kept-draft) | `/v1/mappings/drafts/{id}/samples/{sha256}` |
| <span class="cvo-method" data-method="post">POST</span> | [Test a kept draft on every sample](/reference/api/mappings/test-a-kept-draft-on-every-sample) | `/v1/mappings/drafts/{id}/test` |
| <span class="cvo-method" data-method="post">POST</span> | [Freeze a kept draft as a named person confirmed it](/reference/api/mappings/freeze-a-kept-draft-as-a-named-person-confirmed-it) | `/v1/mappings/drafts/{id}/finalize` |
| <span class="cvo-method" data-method="post">POST</span> | [Replay a draft on the newest version](/reference/api/mappings/replay-a-draft-on-the-newest-version) | `/v1/mappings/drafts/{id}/rebase` |
| <span class="cvo-method" data-method="get">GET</span> | [A kept PDF or image sample's page, as an image](/reference/api/mappings/a-kept-pdf-or-image-sample-s-page-as-an-image) | `/v1/mappings/drafts/{id}/samples/{index}/pages/{page}` |
| <span class="cvo-method" data-method="post">POST</span> | [What changed in a file an activated mapping no longer fits](/reference/api/mappings/what-changed-in-a-file-an-activated-mapping-no-longer-fits) | `/v1/mappings/{version}/drift` |
| <span class="cvo-method" data-method="get">GET</span> | [Every field of the invoice model a column may go to](/reference/api/mappings/every-field-of-the-invoice-model-a-column-may-go-to) | `/v1/mappings/fields` |
| <span class="cvo-method" data-method="post">POST</span> | [Turn a file into your own JSON](/reference/api/mappings/turn-a-file-into-your-own-json) | `/v1/mappings/transformations` |
| <span class="cvo-method" data-method="post">POST</span> | [Test a mapping on every sample](/reference/api/mappings/test-a-mapping-on-every-sample) | `/v1/mappings/tests` |
| <span class="cvo-method" data-method="post">POST</span> | [Choose the mapping for a layout](/reference/api/mappings/choose-the-mapping-for-a-layout) | `/v1/mappings/layout-choices` |
| <span class="cvo-method" data-method="get">GET</span> | [Read your code book](/reference/api/mappings/read-your-code-book) | `/v1/mappings/codes` |
| <span class="cvo-method" data-method="get">GET</span> | [Every list a code can be answered on](/reference/api/mappings/every-list-a-code-can-be-answered-on) | `/v1/mappings/codes/lists` |
| <span class="cvo-method" data-method="put">PUT</span> | [Answer one of your codes](/reference/api/mappings/answer-one-of-your-codes) | `/v1/mappings/codes/{list}/{code}` |
| <span class="cvo-method" data-method="delete">DELETE</span> | [Take back the answer to one of your codes](/reference/api/mappings/take-back-the-answer-to-one-of-your-codes) | `/v1/mappings/codes/{list}/{code}` |
| <span class="cvo-method" data-method="post">POST</span> | [Preview a mapping](/reference/api/mappings/preview-a-mapping) | `/v1/mappings/previews` |

Source: https://docs.certinvo.com/reference/api/mappings/index.mdx
