---
title: "Plan Search Audit"
method: GET
path: "/audit-framework/plan"
tags: ["audit-framework"]
---

# Plan Search Audit

`GET /audit-framework/plan`

## 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/audit-framework/plan`
- Auth: API key in header `X-Agent-Key`

ONE call to turn a target client domain into a scoped Five-Layer Search
Audit action plan — the module list for that domain's profile/tier, each
with a one-line why and the exact Xeorank tools to call for real data
(deduped into suggested_tool_call_order). Deliberately lean: no full
checklists here (that would bloat this call) — fetch a module's full
checklist on demand via GET /audit-framework?section=module&module_id=X
once you're actually working it, and section=deliverable when it's time
to write the client-facing report. Business-intelligence inputs (B1-B4)
can't come from tool calls — this flags them so you go get them from the
client, not guess.

## Query parameters

- `domain` string, required: The target client's domain, e.g. example.com
- `site_id` string, nullable: If this domain is already a Xeorank site, pass its id to infer the profile from real crawl/GSC signals instead of guessing
- `profile` string, nullable: Override the inferred profile: P1 (local) | P2 (SMB) | P3 (mid-market) | P4 (enterprise)
- `tier` string: core (default) | deep | autonomous

## Response `200`

Successful Response

- object

## 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)
