Skip to content

API reference

Mappings

Freeze and inspect a customer's mapping. Use a conversion operation to process a mapped file.

Freeze and inspect a customer’s mapping. Use a conversion operation to process a mapped file.

Method Route Path
GET List mappings /v1/mappings
POST Save a mapping configuration /v1/mappings
POST Retire a mapping, or bring it back /v1/mappings/retirements
POST Merge one mapping into another /v1/mappings/merges
GET Get a mapping /v1/mappings/{version}
GET List target models /v1/mappings/models
POST Register a target model /v1/mappings/models
GET Read a target model /v1/mappings/models/{name}/{version}
GET List the mapping drafts not yet finalized /v1/mappings/drafts
POST Draft a mapping from sample files /v1/mappings/drafts
GET Read a kept mapping draft /v1/mappings/drafts/{id}
DELETE Delete a mapping draft not yet finalized /v1/mappings/drafts/{id}
POST Decide columns and fields of a kept draft /v1/mappings/drafts/{id}/decisions
POST Ask AI about the open columns of a kept draft /v1/mappings/drafts/{id}/ai
POST Add samples to a kept draft /v1/mappings/drafts/{id}/samples
DELETE Remove a sample from a kept draft /v1/mappings/drafts/{id}/samples/{sha256}
POST Test a kept draft on every sample /v1/mappings/drafts/{id}/test
POST Freeze a kept draft as a named person confirmed it /v1/mappings/drafts/{id}/finalize
POST Replay a draft on the newest version /v1/mappings/drafts/{id}/rebase
GET A kept PDF or image sample’s page, as an image /v1/mappings/drafts/{id}/samples/{index}/pages/{page}
POST What changed in a file an activated mapping no longer fits /v1/mappings/{version}/drift
GET Every field of the invoice model a column may go to /v1/mappings/fields
POST Turn a file into your own JSON /v1/mappings/transformations
POST Test a mapping on every sample /v1/mappings/tests
POST Choose the mapping for a layout /v1/mappings/layout-choices
GET Read your code book /v1/mappings/codes
GET Every list a code can be answered on /v1/mappings/codes/lists
PUT Answer one of your codes /v1/mappings/codes/{list}/{code}
DELETE Take back the answer to one of your codes /v1/mappings/codes/{list}/{code}
POST Preview a mapping /v1/mappings/previews
Navigation

Type to search…

↑↓ navigate↵ selectEsc close