---
title: "List every data file and its sample"
description: "Other routes 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.

# List every data file and its sample

{/* 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/samples</code>
</div>
</div>

Every file Certinvo reads or writes, in one list: the invoices to send, the company's lists, and the files Certinvo makes. Each says what it is for, whether it goes in, comes out or both, its formats, its columns in order, and the path of its sample per format. A list's sample takes `?format=`; a template and an output's sample are named with their extension. A list Certinvo makes from records it keeps (the archive, a webhook's deliveries, the team, the recurring invoices, the establishments) has no sample: download it from its own route. No sample holds anybody's data: each is made from invoices the validator accepted.

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | Every data file. |
| `401` | No usable credential was sent (`invalid_credentials`). |

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

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/list-every-data-file-and-its-sample/index.mdx
