> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vapi.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.vapi.ai/_mcp/server.

# Get Insights

GET https://api.vapi.ai/reporting/insight

Returns saved reporting insights for the authenticated organization. Filter results by ID or creation and update timestamps.

Reference: https://docs.vapi.ai/api-reference/insight/insight-controller-find-all

## Authentication

- `Authorization` header (bearer token, required) — Authenticate server-side requests with a private Vapi API key. Create or copy a key from the [Vapi Dashboard](https://dashboard.vapi.ai) and send it in the `Authorization` header as `Bearer <token>`. Keep private API keys out of client-side code and public repositories.

## Request

### Query parameters

- `id` (string, optional) — Filters reporting insights by ID.
- `page` (double, optional) — This is the page number to return. Defaults to 1.
- `sortOrder` (enum, optional) — This is the sort order for pagination. Defaults to 'DESC'.
  - Allowed values: `ASC`, `DESC`
- `sortBy` (enum, optional) — This is the column to sort by. Defaults to 'createdAt'.
  - Allowed values: `createdAt`, `duration`, `cost`
- `limit` (double, optional) — This is the maximum number of items to return. Defaults to 100.
- `createdAtGt` (datetime, optional) — This will return items where the createdAt is greater than the specified value.
- `createdAtLt` (datetime, optional) — This will return items where the createdAt is less than the specified value.
- `createdAtGe` (datetime, optional) — This will return items where the createdAt is greater than or equal to the specified value.
- `createdAtLe` (datetime, optional) — This will return items where the createdAt is less than or equal to the specified value.
- `updatedAtGt` (datetime, optional) — This will return items where the updatedAt is greater than the specified value.
- `updatedAtLt` (datetime, optional) — This will return items where the updatedAt is less than the specified value.
- `updatedAtGe` (datetime, optional) — This will return items where the updatedAt is greater than or equal to the specified value.
- `updatedAtLe` (datetime, optional) — This will return items where the updatedAt is less than or equal to the specified value.

## Response

### 200

- `results` (list of Insight, required) — The reporting insights returned for the current page.
- `metadata` (PaginationMeta, required) — Pagination metadata for the insight result set.

## Types

### Insight

A saved insight returned by the API, including its visualization type, identity, organization, and lifecycle timestamps.

- `type` (enum, required) — This is the type of the Insight.
  - Allowed values: `bar`, `line`, `pie`, `text`
- `id` (string, required) — This is the unique identifier for the Insight.
- `orgId` (string, required) — This is the unique identifier for the org that this Insight belongs to.
- `createdAt` (datetime, required) — This is the ISO 8601 date-time string of when the Insight was created.
- `updatedAt` (datetime, required) — This is the ISO 8601 date-time string of when the Insight was last updated.
- `name` (string, optional) — This is the name of the Insight.
- `systemKey` (string, optional) — Stable server-owned identifier for system-created insights.

### PaginationMeta

Pagination and retention metadata returned with a paginated list of phone numbers.

- `itemsPerPage` (double, required) — The number of phone numbers returned per page.
- `totalItems` (double, required) — The total number of phone numbers matching the request.
- `currentPage` (double, required) — The current page number.
- `totalPages` (double, optional)
- `hasNextPage` (boolean, optional)
- `nextCursor` (string, optional) — Opaque cursor for the next page under keyset pagination (PRO-3163). Pass it back as the `cursor` query param to fetch the next page without an OFFSET scan. Present only when a further page likely exists.
- `sortOrder` (enum, optional)
  - Allowed values: `ASC`, `DESC`
- `itemsBeyondRetention` (boolean, optional) — Whether additional matching phone numbers exist beyond the organization's data-retention window.
- `createdAtLe` (datetime, optional) — The inclusive upper creation-time boundary applied to the result set.
- `createdAtGe` (datetime, optional) — The inclusive lower creation-time boundary applied to the result set.

## Examples

**Response**

```json
{
  "results": [
    {
      "type": "bar",
      "id": "string",
      "orgId": "string",
      "createdAt": "2024-01-15T09:30:00Z",
      "updatedAt": "2024-01-15T09:30:00Z",
      "name": "string",
      "systemKey": "string"
    }
  ],
  "metadata": {
    "itemsPerPage": 1.1,
    "totalItems": 1.1,
    "currentPage": 1.1,
    "totalPages": 1.1,
    "hasNextPage": true,
    "nextCursor": "string",
    "sortOrder": "ASC",
    "itemsBeyondRetention": true,
    "createdAtLe": "2024-01-15T09:30:00Z",
    "createdAtGe": "2024-01-15T09:30:00Z"
  }
}
```