> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iqrush.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Read a Google Analytics snapshot — HTTP

> Read the latest stored website snapshot and available history.

Read the latest stored website snapshot and available history.

**Method:** `GET`

**Path:** `/projects/{project_id}/ga4/report`

Use the HTTP base for your authorized environment and an `Authorization: Bearer` header. See [authentication](/developers/guides/04-authentication) and [HTTP setup](/developers/guides/06-http-quickstart).

## Parameters

This table covers the standard read profile. It excludes internal application routes and advanced analysis controls.

| Name | Location | Type | Required | Default | Meaning |
| - | - | - | - | - | - |
| `project_id` | path | string | Yes | — | Project ID from list\_projects. Select the project in the intended workspace and environment. |
| `limit` | query | integer | No | `6` | Maximum snapshots retrieved in total: the newest appears in latest and the remaining snapshots in history. Overlapping windows must not be summed. Minimum 1. Maximum 24. |

## Request example

Set `IQRUSH_API_BASE` and `IQRUSH_ACCESS_TOKEN` through secure configuration. Replace project/run IDs and sample selections with values returned by your account. JSON objects and arrays are encoded as query strings.

```bash theme={null}
curl --fail-with-body --silent --show-error --get \
  --header "Authorization: Bearer ${IQRUSH_ACCESS_TOKEN}" \
  --header "Accept: application/json" \
  --data-urlencode limit=6 \
  "${IQRUSH_API_BASE%/}/projects/${IQRUSH_PROJECT_ID}/ga4/report"
```

## Read the response

Returns `linked`, `latest`, and `history`. Snapshots can include sessions, users, pageviews, conversions, revenue, channels, and fetched/date information.

This is periodically ingested data, not live analytics. A missing snapshot is not a zero-traffic result.

### Fields to use

These selected fields explain the example and the result to preserve. Field presence depends on the response; this is not a complete response schema.

| Field | Meaning and use |
| - | - |
| `linked` | Whether a property link exists. |
| `latest` | Most recent stored snapshot, or null when none is available. |
| `history` | Older snapshots within the requested limit. Their windows can overlap, so their totals must not be added together. |

Selected response fields from IQRush Dev. Lists are shortened and project/run IDs are placeholders; this is not the full response.

```json theme={null}
{
  "project_id": "PROJECT_ID",
  "linked": false,
  "latest": null,
  "history": []
}
```

This observed example has no linked Google property. It demonstrates the unavailable-integration response; it is not a zero-traffic report.

MCP equivalent: [`get_ga4_report`](/developers/tools/get_ga4_report). Use the parameters and defaults on this page for HTTP.

### Fields when linked data is available

The Dev handler defines the fields below for populated responses. They are not populated in the unlinked example shown here.

| Field | Meaning and use |
| - | - |
| `latest.date_start` | Start date of the newest returned snapshot. |
| `latest.date_end` | End date of that snapshot. |
| `latest.fetched_at` | When the snapshot was fetched; separate from the reporting period. |
| `latest.sessions` | Sessions for the snapshot window. |
| `latest.bounce_rate` | Bounce rate on a 0–1 scale. |
| `latest.avg_session_sec` | Average session duration in seconds. |
| `latest.channels` | Channel breakdown for the snapshot. |
| `latest.ai_traffic` | AI referral source/medium rows for the snapshot. |

## If the result is unavailable

Check HTTP status and the response’s `error` field before using data. A successful empty response does not establish a zero value. Preserve `not_available`, `not_available_reason`, `unavailable_reason`, and `linked` where returned. [Errors and recovery](/developers/guides/13-errors) shows observed examples.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.