---
title: "Sources Preview"
method: POST
path: "/api/v1/projects/{project_id}/sources/preview"
---

# Sources Preview

`POST /api/v1/projects/{project_id}/sources/preview`

## Request

- Base URL: `https://api.mesharc.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mesharc.dev/api/v1/projects/{project_id}/sources/preview`
- Auth: none declared

What the sources would add: each pattern's count and first URLs,
each feed read now with its entry count, the URL list checked. Nothing
is queued.

## Path parameters

- `project_id` string, required

## Headers

- `authorization` string, nullable
- `x-mesharc-tenant` string, nullable

## Request body

- SourcePreviewRequest
  - `patterns` string[], nullable
  - `feeds` string[], nullable
  - `url_list` string[], nullable
  - `sitemap_include` string[], nullable
  - `sitemap_exclude` string[], nullable
  - `include_paths` string[], nullable
  - `exclude_paths` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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