---
title: "Search Events"
method: POST
path: "/pa/{projectId}/events/search"
tags: ["product_analytics"]
---

# Search Events

`POST /pa/{projectId}/events/search`

## Path parameters

- `projectId` integer, required

## Request body

- EventsSearchPayloadSchema
  - `limit` integer
  - `page` integer
  - `startTimestamp` integer
  - `endTimestamp` integer
  - `filters` union[], required
    - union
      - EventSearchSchema
        - `isEvent` true
        - `name` string, required
        - `properties` EventPropertiesSchema
          - `operator` 'and' | 'or', required
          - `filters` PropertyFilterSchema[], required
            - `isEvent` false
            - `name` union, required
              - …
            - `operator` union, required
              - …
            - `value` union[], required
              - …
            - `dataType` 'int' | 'float' | 'datetime' | 'string' | 'array' | 'tuple' | 'map' | 'nested'
            - `autoCaptured` boolean, nullable
      - PropertyFilterSchema
        - `isEvent` false
        - `name` union, required
          - '$time' | '$source' | '$duration_s' | 'description' | '$auto_captured' | '$sdk_edition' | '$sdk_version' | '$device_id' | '$os' | '$os_version' | '$browser' | '$browser_version' | '$device' | '$screen_height' | '$screen_width' | '$current_url' | '$initial_referrer' | '$referring_domain' | '$referrer' | '$initial_referring_domain' | '$search_engine' | '$search_engine_keyword' | 'utm_source' | 'utm_medium' | 'utm_campaign' | '$country' | '$state' | '$city' | 'issue_type' | '$tags' | '$import'
          - string
        - `operator` union, required
          - 'is' | 'isAny' | 'on' | 'onAny' | 'isNot' | 'isUndefined' | 'notOn' | 'contains' | 'notContains' | 'startsWith' | 'endsWith' | 'regex'
          - '=' | '<' | '>' | '<=' | '>='
        - `value` union[], required
          - union
            - integer
            - string
        - `dataType` 'int' | 'float' | 'datetime' | 'string' | 'array' | 'tuple' | 'map' | 'nested'
        - `autoCaptured` boolean, nullable
  - `sort` string
  - `order` 'ASC' | 'DESC'

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/openreplay/apis/fastapi.md) · [All operations](https://skmtc.net/openreplay/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openreplay/fastapi/revisions/a2d96285f1b6/schema)
