---
title: "Set Relevance Endpoint"
method: POST
path: "/api/admin/company-contents/set-relevance"
tags: ["admin_company_contents"]
---

# Set Relevance Endpoint

`POST /api/admin/company-contents/set-relevance`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/admin/company-contents/set-relevance`
- Auth: HTTP bearer

Trigger the set-relevance ECS API in batches of at most 20 documents.

## Request body

- CompanyContentSetRelevanceRequest
  - `items` CompanyContentPair[], required
    - `company_uuid` string, uuid, required
    - `content_uuid` string, uuid, required
  - `run_main_topics` boolean, nullable
  - `run_relevance` boolean, nullable
  - `jev_classification` boolean, nullable
  - `follow_up` 'none' | 'classify' | 'feed', nullable

## Response `200`

Successful Response

- CompanyContentSetRelevanceResponse
  - `requested` integer, required
  - `batches` integer, required
  - `started` integer, required
  - `failed` CompanyContentSetRelevanceFailedBatch[]
    - `company_uuid` string, uuid, required
    - `content_uuids` string[], required
    - `error` string, required

## Other responses

- `422`: Validation Error

---

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