---
title: "Preview how many traces match the import range"
method: POST
path: "/api/connector-credentials/{id}/preview/"
tags: ["connector-credentials"]
---

# Preview how many traces match the import range

`POST /api/connector-credentials/{id}/preview/`

## Request

- Base URL: `https://api.overmindlab.ai`
- URL: `https://api.overmindlab.ai/api/connector-credentials/{id}/preview/`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - API key in cookie `sessionid`
  - API key in header `X-Api-Key`
  - HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- ConnectorPreviewRequestRequest
  - `lookback_days` integer, nullable
  - `source_project_id` string
  - `backfill_from` string, date-time, nullable
  - `backfill_to` string, date-time, nullable

## Response `200`

- ConnectorPreviewResponse
  - `count` integer, nullable, required

---

[API](https://skmtc.dev/overmindlab/apis/overmind-api.md) - [All operations](https://skmtc.dev/overmindlab/apis/overmind-api/llms.txt) - [OpenAPI document](https://skmtc.dev/overmindlab/apis/overmind-api/revisions/0ecfd39e80c6?raw)
