---
title: "Get optimization insights"
method: GET
path: "/ai-visibility/insights"
tags: ["AI Visibility"]
---

# Get optimization insights

`GET /ai-visibility/insights`

## Request

- Base URL: `https://next.frase.io/api/v1`
- URL: `https://next.frase.io/api/v1/ai-visibility/insights`
- Auth: one of:
  - API key in header `X-API-KEY`
  - HTTP bearer

Get AI-generated insights for improving visibility.

## Query parameters

- `page` integer
- `page_size` integer
- `status` 'idle' | 'scraping' | 'analyzing' | 'ready' | 'applied' | 'failed'

## Response `200`

Optimization insights

- object
  - `data` object[]
    - `id` string, uuid
    - `type` string
    - `status` string
    - `gap_type` string, nullable
    - `diagnosis` string, nullable
    - `confidence_score` number, nullable
    - `target_url` string, nullable
    - `winning_competitor_url` string, nullable
    - `prompt_id` string, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time, nullable
  - `pagination` Pagination
    - `page` integer
    - `page_size` integer
    - `total` integer
    - `has_more` boolean
  - `request_id` string

---

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