Skip to main content
PUT
/
classifications
/
domain-assignments
Set Domain Classification
curl --request PUT \
  --url https://api.peec.ai/customer/v1/classifications/domain-assignments \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "domain": "<string>",
  "classification": "<string>",
  "project_id": "or_f45b94ba-5e35-4982-93ed-285e72ee14eb"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.peec.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Body

domain
string
required

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

Minimum string length: 1
classification
string | null
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.

Required string length: 1 - 60
project_id
string

Required if using a company api key

Example:

"or_f45b94ba-5e35-4982-93ed-285e72ee14eb"

Response

Domain classification assignment updated

Domain classification assignment updated