---
title: "Classify a detected company"
method: POST
path: "/v1/projects/{projectId}/competitor-classification"
tags: ["Agent Tools"]
---

# Classify a detected company

`POST /v1/projects/{projectId}/competitor-classification`

## Request

- Base URL: `https://www.seoforgpt.io/api`
- URL: `https://www.seoforgpt.io/api/v1/projects/{projectId}/competitor-classification`
- Auth: HTTP bearer

Reversibly marks a company as a competitor or not a competitor without deleting visibility evidence.

## Path parameters

- `projectId` string, uuid, required

## Request body

- object
  - `competitor` string, required
  - `classification` 'competitor' | 'not_competitor', required

## Response `200`

Classification saved

## Other responses

- `400`: Invalid input
- `401`: Missing or invalid bearer token
- `404`: Resource not found
- `500`: Server error
- `default`: Any documented or unexpected 4xx or 5xx response uses the same typed error envelope.

---

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