Get Audit Findings
get_audit_findingsGet audit issues + flagged pages for an AI-search technical audit.
Returns the audit's issue list and the worst-scoring pages, mirroring what the Optimize page's Findings and Pages tabs render. Includes site-wide rollups like has_llms_txt, ai_crawler_blocked, and has_sitemap so the agent can answer "is this site set up for AI search?" in one call.
Dismissals are applied. A check the customer marked intentional in Optimize comes back as status='ignored' instead of open, and stays that way across re-scans, because a dismissal is keyed on the brand, the check and the URL rather than on the audit row (audit rows are rebuilt on every scan). Pass issue_status='ignored' to list them. A check dismissed on only some of the URLs it affects stays open, since work remains on the rest.
Returns status='no_audit_yet' if the brand has no completed audit. Read-only; never triggers an audit.
Args: brand_id: The brand (required). audit_id: Specific audit. Defaults to the brand's latest complete audit. severity: Comma-separated. critical | high | medium | low. Default 'critical,high'. issue_status: Comma-separated. open | in_progress | fixed | ignored. Default 'open,in_progress'. check_name: Filter to issues whose check_name contains this string (e.g. 'llms_txt', 'schema', 'robots'). page_url: Filter to issues whose affected_urls contain this URL. page_type: Filter audit_pages by page_type. url_pattern: Filter audit_pages by URL substring. min_score: Min technical_score for pages (0-100). max_score: Max technical_score for pages (0-100). issues_limit: Max issues. 1-50. Default 20. pages_limit: Max pages. 1-100. Default 20. 100 covers a whole site on almost every audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audit_id | No | ||
| brand_id | Yes | ||
| page_url | No | ||
| severity | No | critical,high | |
| max_score | No | ||
| min_score | No | ||
| page_type | No | ||
| check_name | No | ||
| pages_limit | No | ||
| url_pattern | No | ||
| user_intent | No | Analytics hint: the user's latest request in one short sentence. Omit secrets and prior chat. | |
| issue_status | No | open,in_progress | |
| issues_limit | No |