---
title: "The tracing-compliance dashboard's document completion by depth"
method: GET
path: "/api/dashboard-analytics/tracing-documents/completion/{companyId}"
tags: ["Dashboard Analytics/Tracing Documents"]
---

# The tracing-compliance dashboard's document completion by depth

`GET /api/dashboard-analytics/tracing-documents/completion/{companyId}`

## Request

- Base URL: `https://api.retraced.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.retraced.com/api/dashboard-analytics/tracing-documents/completion/{companyId}`
- Auth: none declared

The documents of the company's traced orders created between `startDate` and `endDate` (the past 30 days and today without both), per tracing depth 0–4: the document types required and uploaded, summed over the orders, and their average completion. `filter` is a JSON-encoded `TracingDocumentsFilter`; its lists, arrays or comma-separated strings, pick the orders counted — an order must require every listed document type. Days are read in the `x-timezone` header's timezone (UTC without it). Only the company itself or Retraced staff may read it.

## Path parameters

- `companyId` string, required

## Query parameters

- `filter` string

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required: True when the request succeeded.
  - `data` object[], required
    - `tracingDepth` number, required
    - `requiredDocuments` number, required
    - `uploadedDocuments` number, required
    - `completionPercentage` number, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-13** `b9cf8bef8ed3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/dashboard-analytics/tracing-documents/completion/:companyId/get.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) - [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/retraced/apis/api-reference/revisions/83309c4abd20?raw)
