---
title: "Classify Tracked Keywords Ep"
method: POST
path: "/sites/{site_id}/tracked-keywords/classify"
tags: ["sites"]
---

# Classify Tracked Keywords Ep

`POST /sites/{site_id}/tracked-keywords/classify`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/sites/{site_id}/tracked-keywords/classify`
- Auth: API key in header `X-Agent-Key`

Store agent-supplied classification (intent / funnel stage / cluster / notes)
on existing tracked keywords, matched by keyword. Pure storage — the agent
does the classifying.

## Path parameters

- `site_id` string, required

## Query parameters

- `email` string, nullable

## Request body

- ClassifyKeywordsRequest
  - `updates` KeywordUpsertItem[], required
    - `keyword` string, required
    - `intent` string, nullable
    - `funnel_stage` string, nullable
    - `cluster_name` string, nullable
    - `notes` string, nullable
    - `source` string, nullable
    - `ranking_url` string, nullable

## Response `200`

Successful Response

- ClassifyKeywordsResponse
  - `updated` integer, required
  - `not_found` string[]
  - `next_step` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
