---
title: "Add a compliance source (file or URL)"
method: POST
path: "/compliance/source"
tags: ["compliance"]
---

# Add a compliance source (file or URL)

`POST /compliance/source`

## Request

- Base URL: `https://catalyst.stratogenic.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://catalyst.stratogenic.ai/compliance/source`
- Auth: API key in header `X-API-Key`

Adds a new compliance source to the tenant.

The source may be provided as either:
- a file upload, or
- a publicly accessible URL.

The content is ingested into the compliance document context and becomes available for compliance scanning and analysis.

Requires a plan that allows document uploads.

## Headers

- `X-User-Id` string, nullable
- `X-Source-App` string, nullable
- `X-Touched-By-Tool` string, nullable
- `X-Touched-By-User` string, nullable
- `X-Touched-By-Agent` string, nullable
- `X-External-User-Id` string, nullable
- `X-Run-Id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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