Project

Set Domain Classification

Assign a built-in or custom classification to a domain (overriding any heuristic classification), or clear the assignment by passing null.

put/classifications/domain-assignments

Request

  • Base URL
    https://api.peec.ai/customer/v1
  • URL
    https://api.peec.ai/customer/v1/classifications/domain-assignments
  • Auth
    • API key in header X-API-Key
    • or API key in query parameter api_key
    • or HTTP bearer

Request body

project_idstring

Required if using a company api key

domainstring required

Domain to classify (any host or apex — the override applies at apex granularity)

classificationstring nullable required

Built-in classification (CORPORATE, EDITORIAL, INSTITUTIONAL, OTHER, REFERENCE, UGC, COMPETITOR, OWN, RELATED) or the name of a custom domain classification. Pass null to clear the assignment.

Example request

{
  "project_id": "or_f45b94ba-5e35-4982-93ed-285e72ee14eb"
}

Response

Domain classification assignment updated

object required

Domain classification assignment updated

Changes

No recorded changes to this operation across all 3 revisions of this API.