---
title: "Content decay detection"
method: POST
path: "/content-decay/detect"
---

# Content decay detection

`POST /content-decay/detect`

## Request

- Base URL: `https://www.agentseo.dev/api/v1`
- URL: `https://www.agentseo.dev/api/v1/content-decay/detect`
- Auth: API key in header `x-api-key`

## Query parameters

- `sync` boolean

## Headers

- `x-project-id` string
- `x-workflow-id` string

## Request body

- ContentDecayParams
  - `url` string, uri, required
  - `keyword` string, required
  - `lookback_days` integer
  - `threshold` number

## Response `200`

Completed content decay workflow with decay_audit and agent_workflow

- ContentDecayResponse
  - `url` string, uri
  - `keyword` string
  - `lookback_days` integer
  - `decay` boolean
  - `drop` number
  - `previous_average` number
  - `latest_rank` integer
  - `history_points` integer
  - `recommendations` string[]
  - `decay_audit` object
    - `status` 'decay_detected' | 'stable'
    - `severity` 'high' | 'medium' | 'low'
    - `likely_cause` string
    - `urgency_score` integer
    - `observed_pattern` string
  - `agent_workflow` AgentWorkflow
    - `summary` string
    - `decision` 'ready' | 'act_now' | 'monitor' | 'blocker'
    - `confidence` number
    - `recommended_actions` AgentWorkflowAction[]
      - `priority` 'critical' | 'high' | 'medium' | 'low'
      - `action` string
      - `why` string
    - `evidence` AgentWorkflowEvidence[]
      - `finding` string
      - `detail` string
      - `severity` 'critical' | 'high' | 'medium' | 'low'
    - `limitations` string[]
    - `next_calls` AgentWorkflowNextCall[]
      - `endpoint` string
      - `reason` string
  - `markdown_summary` string

## Other responses

- `202`: Job queued or still processing

---

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