> Site index: https://usehardal.com/llms.txt
> Every content route also serves markdown at <url>.md

# Look Up Any Event by ID with the Hardal Reports API

The Reports API now has GET /v1/reports/events/{eventId}/detail. Look up one event by its ID to verify properties, debug tracking, or pipe data into your tools.

Source: https://usehardal.com/blog/reports-api-event-detail
Published: 2026-12-02T10:00:00
Updated: 2026-12-02T10:00:00
Author: Ikbal Turgut
Category: Agentic Commerce

---

Hardal is the first-party data and agentic analytics platform. We help enterprises send accurate signals to their ad platforms and grow revenue, using server-side data from their websites, mobile apps and AI agents.

The public Reports API at `api.usehardal.com/v1` now has an endpoint for looking up a single event by its ID. If you already use the [Hardal MCP and the /v1 Reports API](https://usehardal.com/blog/hardal-mcp-reports-api) for aggregate reports, this addition lets you inspect individual events without opening the dashboard.

## What shipped

The endpoint is:

```
GET /v1/reports/events/{eventId}/detail?sourceId=
```

It returns the event's:

- **time**: when the event was recorded
- **page**: the page URL where the event fired
- **session**: the session ID, if the event belongs to a session
- **visitorId**: the visitor identifier
- **userId**: the signed-in user ID the event was sent with, or null when there is none
- **eventData**: every property the event was sent with, including nested items

This is the same data the Event Detail panel shows in the dashboard. The endpoint gives you the same view through a programmatic call.

## Why this matters

Support and engineering teams often need to verify what a specific event carried. Before this endpoint, the only way was to open the dashboard, search the Event Log, and read the detail panel. Now you can:

1. **Confirm a purchase event's properties and items.** When a customer says their order did not track, look up the purchase event by ID and see exactly what arrived.

2. **Debug tracking issues.** Compare the payload your site sent against what Hardal received. The endpoint returns every field, so you can spot missing or malformed properties.

3. **Reconcile with ad platforms.** When your conversion numbers do not match what Meta or Google reports, look up the specific events in question and check their data. For more on investigating discrepancies, see [Reconcile Meta, GA4, and Order Data When the Numbers Disagree](https://usehardal.com/use-cases/conversion-data-discrepancy).

4. **Pipe event data into your own tools.** If you build support dashboards, QA automations, or AI agents that need event-level context, this endpoint gives you a stable way to fetch it.

## How to use it

### 1. Get an API key

Create a read-only API key on the Connections page in Beacon. The key must have access to the tenant that owns the event. For detailed steps, see [Hardal MCP and the /v1 Reports API](https://usehardal.com/blog/hardal-mcp-reports-api).

### 2. Find the event ID

Event IDs are UUIDs. You can find them in:

- The Event Log in the dashboard (the ID column, or the detail panel)
- Webhook payloads if you forward events to your systems
- Your own logs if you record event IDs at tracking time

### 3. Call the endpoint

Make a GET request with the event ID in the path and the source ID as a query parameter:

```
GET https://api.usehardal.com/v1/reports/events//detail?sourceId=
Authorization: Bearer 
```

The `sourceId` parameter is required. The API credential must be granted access to this source.

### 4. Use the date hint (optional)

If you know roughly when the event happened, add a `date` parameter in `YYYY-MM-DD` format:

```
GET https://api.usehardal.com/v1/reports/events//detail?sourceId=&date=2026-12-02
```

The hint limits the lookup to that day and the days just before and after it. This keeps the lookup fast for large event volumes. If you omit the hint, the lookup searches a wider window.

## Error responses

The endpoint returns standard HTTP status codes:

- **400 Bad Request**: The `sourceId` parameter is missing, the `eventId` is not a valid UUID, or the `date` parameter is not in `YYYY-MM-DD` format.
- **404 Not Found** with error code `event-not-found`: The event does not exist, or it belongs to a source your credential cannot access.

If you get a 404 and you are sure the event exists, check that your API key has access to the correct source.

## Access controls

This endpoint returns visitor-level data: the user ID, page URL, and location fields attached to the event. Access is limited to tenants and sources your API credential is granted. The same `reports:read` scope that the other Reports API endpoints use applies here.

The full event log stays closed on the public API. Only single-event lookup by ID is available.

## Documentation

The endpoint is listed in the OpenAPI document and the Postman collection for the Reports API v1.

## Connect it to your workflow

If you already use the Reports API for dashboards or scripts, adding event lookups is one more GET request. If you use [Hardal MCP in Claude, ChatGPT, or Codex](https://usehardal.com/use-cases/analytics-mcp-server) for analytics questions, the endpoint is available directly through the API for cases where you need event-level detail.

The event detail endpoint gives your support and engineering teams a direct line to the data, without opening the dashboard or asking someone to export a screenshot.
