---
title: "Preview a records connector before connecting"
method: POST
path: "/v1/admin/source-connections/preview"
tags: ["Source Plane"]
---

# Preview a records connector before connecting

`POST /v1/admin/source-connections/preview`

## Request

- Base URL: `https://brain.inite.ai`
- URL: `https://brain.inite.ai/v1/admin/source-connections/preview`
- Auth: HTTP bearer

With the config and credential about to be connected, list one page per chosen entity at the live vendor and show what the mapping makes of the first records — the facts, the relations, the fields left unmapped, the drops by name. Nothing is written. Records (docs/roadmap/crm-sources-2026-09.md): a CRM row enters as FACTS — its mapped attributes become deterministic candidates under the record’s own id, never prose a model re-extracts. Source plane operator surface (docs/roadmap/raw-evidence-sources-2026-09.md) — answers a bare 404 until `SOURCE_PLANE_ENABLED=1`.

Required scope: `brain:admin`.

## Request body

- RecordsPreviewRequest
  - `config` object
  - `credential` string
  - `limit` integer
  - `packId` string, required
  - `sourceId` string, required

## Response `201`

The preview.

- RecordsPreviewResponse
  - `entities` object[], required
    - `error` string, nullable, required
    - `label` string, required
    - `records` object[], required
      - `dropped` object[], required
        - `key` string, required
        - `reason` string, required
      - `facts` object[], required
        - `object` string, required
        - `predicate` string, required
      - `record` object, required
        - `attributes` object, required
        - `entityType` string, required
        - `externalId` string, required
        - `name` string, required
        - `relations` object[]
          - `kind` string, required
          - `targetExternalId` string, required
          - `targetName` string
          - `targetType` string, required
        - `updatedAt` string
      - `relations` object[], required
        - `kind` string, required
        - `target` string, required
      - `unmapped` string[], required
    - `type` string, required

## Other responses

- `400`: Validation failed.
- `401`: Missing or unknown bearer key.
- `403`: The key lacks the required scope.
- `404`: No such resource in this tenant.

---

[API](https://skmtc.dev/inite/apis/inite-brain-platform-api.md) · [All operations](https://skmtc.dev/inite/apis/inite-brain-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/inite/apis/inite-brain-platform-api/revisions/c7c3eb5e304b?raw)
