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

# Amplitude

> Product analytics from an Amplitude project: saved chart results, event segmentation, funnels, retention, active users, revenue LTV and a user's event stream.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/amplitude.webp?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=730274cecf816ddea2730f7c9682ff99)

[Web Catalog · Analytics](https://docs.webrouter.net/data-apis.md?category=analytics)

Needs&#x20;

`AMPLITUDE_API_KEY`

,&#x20;

`AMPLITUDE_SECRET_KEY`

Endpoints

11

Auth

HTTP Basic

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest)

&#x20;·&#x20;

[Pricing](https://amplitude.com/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `AMPLITUDE_API_KEY` | required | the project's API key (Organization settings > Projects > the project), the Basic auth username |
| `AMPLITUDE_SECRET_KEY` | required | the same project's secret key, the Basic auth password |
| `AMPLITUDE_HOST` | optional | amplitude.com for US projects, analytics.eu.amplitude.com for EU data residency. Default `amplitude.com`. One of `amplitude.com`, `analytics.eu.amplitude.com`. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Keys belong to one project: every call reads that project only.
* Dates are YYYYMMDD without dashes; times follow the project's time zone. Event and property names with spaces must be URL encoded (the client does this).
* Limits: 5 concurrent requests per key. Queries also spend a per-project cost budget (1,000 concurrent, 108,000 per hour): cost = days x conditions x query-type cost, at least 10, with ranges under 7 days counted as 7. 429 when exceeded; honour Retry-After.
* Events (e, e2, se, re) are JSON objects \{event\_type, filters, group\_by}; filters are \[\{subprop\_type: event|user, subprop\_key, subprop\_op, subprop\_value: \[..]}] with ops is, is not, contains, does not contain, less, greater, set is, ... Custom user properties take a gp: prefix.

## Endpoints

GET

Get a saved chart's results

The results of a chart saved in Amplitude, by its id, as JSON.

[Open](#amplitude-charts-query)

GET

Query event segmentation

Uniques, totals, DAU share, averages or a formula for up to two events over time, optionally grouped by properties.

[Open](#amplitude-events-segmentation)

GET

Query a funnel

Step-by-step and cumulative conversion with transition times for a sequence of events.

[Open](#amplitude-funnels-query)

GET

Query retention

N-day, unbounded or bracket retention from a start event to a return event.

[Open](#amplitude-retention-query)

GET

Count active or new users

Daily, weekly or monthly active or new user counts, optionally segmented and grouped.

[Open](#amplitude-users-active)

GET

Break users down by a property

Unique users per value of one property (country, platform, a custom user property...).

[Open](#amplitude-users-composition)

GET

Get average session length

Average session length per day, in seconds.

[Open](#amplitude-sessions-average)

GET

Get revenue lifetime value

ARPU, ARPPU, total revenue or paying users by cohort day, with n-day values up to 90 days.

[Open](#amplitude-revenue-ltv)

GET

List event types

Every visible event type with this week's totals and its hidden or deleted flags.

[Open](#amplitude-events-list)

GET

Find a user

Amplitude ids matching a user id, device id, Amplitude id or user id prefix.

[Open](#amplitude-users-search)

GET

Get a user's event stream

A user's events, newest or oldest first, and their profile summary.

[Open](#amplitude-users-activity)

### Get a saved chart's results

GET

`/api/3/chart/{chart_id}/query`

`amplitude.charts.query`

The results of a chart saved in Amplitude, by its id, as JSON.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `chart_id`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The chart id from the chart's URL.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest) · Same job: [Close](https://docs.webrouter.net/data-apis/close-crm.md#close-crm-reports-activity), [Cloudflare](https://docs.webrouter.net/data-apis/cloudflare.md#cloudflare-analytics-graphql), [Google Analytics 4 (Data API)](https://docs.webrouter.net/data-apis/google-analytics.md#google-analytics-report-run), [Instagram Graph API](https://docs.webrouter.net/data-apis/instagram.md#instagram-user-insights), [Klaviyo](https://docs.webrouter.net/data-apis/klaviyo.md#klaviyo-campaigns-report), [Microsoft Graph (Microsoft 365)](https://docs.webrouter.net/data-apis/microsoft-graph.md#microsoft-graph-reports-active-users)

> [!NOTE]
>
> * The answer's shape depends on the chart type, and follows the chart's current definition: edits to the chart change it.
> * A chart from another project answers 400; use that project's keys.

### Query event segmentation

GET

`/api/2/events/segmentation`

`amplitude.events.segmentation`

Uniques, totals, DAU share, averages or a formula for up to two events over time, optionally grouped by properties.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`e` required</td><td>object</td><td>query</td><td>The event: \{event\_type, filters?, group\_by?}. Custom events take a ce: prefix; \_active is any active event, \_all any event, revenue\_amount revenue. Example `{"event_type": "_active"}`</td></tr>

    <tr>
      <td>
        `e2`
      </td>

      <td>
        object
      </td>

      <td>
        query
      </td>

      <td>
        A second event, same shape, for two-event metrics and formulas.
      </td>
    </tr>

    <tr><td>`start` required</td><td>string</td><td>query</td><td>First day, YYYYMMDD (no dashes). Example `20261001`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>Last day, YYYYMMDD, inclusive. Example `20261031`</td></tr>
    <tr><td>`m`</td><td>string</td><td>query</td><td>Metric: uniques (default), totals, pct\_dau, average; histogram, sums or value\_avg (need a group\_by in e); formula. One of `uniques`, `totals`, `pct_dau`, `average`, `histogram`, `sums`, `value_avg`, `formula`</td></tr>
    <tr><td>`n`</td><td>string</td><td>query</td><td>User type: any or active. One of `any`, `active`</td></tr>
    <tr><td>`i`</td><td>integer</td><td>query</td><td>Interval: -300000 (real time, up to 2 days), -3600000 (hourly, up to 7 days), 1 (daily, default, up to 365 days), 7 (weekly) or 30 (monthly). One of `-300000`, `-3600000`, `1`, `7`, `30`</td></tr>
    <tr><td>`s`</td><td>array</td><td>query</td><td>Segment definitions, a JSON array: property filters \[\{prop, op, values}] (prop 'userdata\_cohort' with a cohort id filters to a cohort) or performed-event filters. Omit for all users. Example `[{"prop": "country", "op": "is", "values": ["United States"]}]`</td></tr>

    <tr>
      <td>
        `g`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Up to two group-by properties, each sent as its own g. gp: prefix for custom user properties.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Group-by values returned: 1,000 by default, 20,000 at most.
      </td>
    </tr>

    <tr>
      <td>
        `formula`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Required when m is formula, e.g. UNIQUES(A)/UNIQUES(B); A is e, B is e2.
      </td>
    </tr>

    <tr>
      <td>
        `rollingWindow`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Rolling window, in intervals.
      </td>
    </tr>

    <tr>
      <td>
        `rollingAverage`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Rolling average, in intervals.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest) · Same job: [Mixpanel](https://docs.webrouter.net/data-apis/mixpanel.md#mixpanel-events-counts), [Mux](https://docs.webrouter.net/data-apis/mux.md#mux-views-list)

```python Python theme={null}
router.call_data_api("amplitude.events.segmentation", {'e': {'event_type': '_active'}, 'start': '20261001', 'end': '20261031', 's': [{'prop': 'country', 'op': 'is', 'values': ['United States']}]})
```

```text MCP theme={null}
call_data_api(endpoint="amplitude.events.segmentation", params={"e": {"event_type": "_active"}, "start": "20261001", "end": "20261031", "s": [{"prop": "country", "op": "is", "values": ["United States"]}]})
```

### Query a funnel

GET

`/api/2/funnels`

`amplitude.funnels.query`

Step-by-step and cumulative conversion with transition times for a sequence of events.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`e` required</td><td>array</td><td>query</td><td>One event object per step, in order; each is sent as its own e. Example `[{"event_type": "ce:Viewed product"}, {"event_type": "ce:Purchased"}]`</td></tr>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>First day, YYYYMMDD (no dashes). Example `20261001`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>Last day, YYYYMMDD, inclusive. Example `20261031`</td></tr>
    <tr><td>`mode`</td><td>string</td><td>query</td><td>ordered (default), unordered, or sequential (no other events between steps). One of `ordered`, `unordered`, `sequential`</td></tr>
    <tr><td>`n`</td><td>string</td><td>query</td><td>active (default) or new users. One of `active`, `new`</td></tr>
    <tr><td>`i`</td><td>integer</td><td>query</td><td>Interval: -300000 (real time, up to 2 days), -3600000 (hourly, up to 7 days), 1 (daily, default, up to 365 days), 7 (weekly) or 30 (monthly). One of `-300000`, `-3600000`, `1`, `7`, `30`</td></tr>
    <tr><td>`s`</td><td>array</td><td>query</td><td>Segment definitions, a JSON array: property filters \[\{prop, op, values}] (prop 'userdata\_cohort' with a cohort id filters to a cohort) or performed-event filters. Omit for all users. Example `[{"prop": "country", "op": "is", "values": ["United States"]}]`</td></tr>

    <tr>
      <td>
        `g`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        One property to group by: a built-in (country, platform, os, version, ...) or gp:\<custom user property>. Only with a single segment.
      </td>
    </tr>

    <tr>
      <td>
        `cs`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Conversion window in seconds; 2,592,000 (30 days) by default.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Group-by values returned, at most 1,000 (the default).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest)

```python Python theme={null}
router.call_data_api("amplitude.funnels.query", {'e': [{'event_type': 'ce:Viewed product'}, {'event_type': 'ce:Purchased'}], 'start': '20261001', 'end': '20261031', 's': [{'prop': 'country', 'op': 'is', 'values': ['United States']}]})
```

```text MCP theme={null}
call_data_api(endpoint="amplitude.funnels.query", params={"e": [{"event_type": "ce:Viewed product"}, {"event_type": "ce:Purchased"}], "start": "20261001", "end": "20261031", "s": [{"prop": "country", "op": "is", "values": ["United States"]}]})
```

### Query retention

GET

`/api/2/retention`

`amplitude.retention.query`

N-day, unbounded or bracket retention from a start event to a return event.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`se` required</td><td>object</td><td>query</td><td>Start event object; event\_type \_new (new users), \_active, or any event. Example `{"event_type": "_new"}`</td></tr>
    <tr><td>`re` required</td><td>object</td><td>query</td><td>Return event object; event\_type \_all, \_active, or any event. Example `{"event_type": "_active"}`</td></tr>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>First day, YYYYMMDD (no dashes). Example `20261001`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>Last day, YYYYMMDD, inclusive. Example `20261031`</td></tr>
    <tr><td>`rm`</td><td>string</td><td>query</td><td>Method: nday (default), rolling (unbounded), bracket, nday\_or\_before. One of `nday`, `rolling`, `bracket`, `nday_or_before`</td></tr>

    <tr>
      <td>
        `rb`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Brackets, required with rm=bracket: \[\[start, end]] with end exclusive, e.g. \[\[0,5]] for day 0 to 4.
      </td>
    </tr>

    <tr><td>`i`</td><td>integer</td><td>query</td><td>Interval: 1 (daily, default), 7 (weekly) or 30 (monthly). One of `1`, `7`, `30`</td></tr>
    <tr><td>`s`</td><td>array</td><td>query</td><td>Segment definitions, a JSON array: property filters \[\{prop, op, values}] (prop 'userdata\_cohort' with a cohort id filters to a cohort) or performed-event filters. Omit for all users. Example `[{"prop": "country", "op": "is", "values": ["United States"]}]`</td></tr>

    <tr>
      <td>
        `g`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        One property to group by: a built-in (country, platform, os, version, ...) or gp:\<custom user property>. Only with a single segment.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest) · Same job: [Mixpanel](https://docs.webrouter.net/data-apis/mixpanel.md#mixpanel-retention-query)

```python Python theme={null}
router.call_data_api("amplitude.retention.query", {'se': {'event_type': '_new'}, 're': {'event_type': '_active'}, 'start': '20261001', 'end': '20261031', 's': [{'prop': 'country', 'op': 'is', 'values': ['United States']}]})
```

```text MCP theme={null}
call_data_api(endpoint="amplitude.retention.query", params={"se": {"event_type": "_new"}, "re": {"event_type": "_active"}, "start": "20261001", "end": "20261031", "s": [{"prop": "country", "op": "is", "values": ["United States"]}]})
```

> [!NOTE]
>
> * In each value list, index 0 is the cohort size and index N+1 is retention N intervals out (index 1 is day 0). Dates come newest first.

### Count active or new users

GET

`/api/2/users`

`amplitude.users.active`

Daily, weekly or monthly active or new user counts, optionally segmented and grouped.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>First day, YYYYMMDD (no dashes). Example `20261001`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>Last day, YYYYMMDD, inclusive. Example `20261031`</td></tr>
    <tr><td>`m`</td><td>string</td><td>query</td><td>active (default) or new. One of `active`, `new`</td></tr>
    <tr><td>`i`</td><td>integer</td><td>query</td><td>Interval: 1 (daily, default), 7 (weekly) or 30 (monthly). One of `1`, `7`, `30`</td></tr>
    <tr><td>`s`</td><td>array</td><td>query</td><td>Segment definitions, a JSON array: property filters \[\{prop, op, values}] (prop 'userdata\_cohort' with a cohort id filters to a cohort) or performed-event filters. Omit for all users. Example `[{"prop": "country", "op": "is", "values": ["United States"]}]`</td></tr>

    <tr>
      <td>
        `g`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        One property to group by: a built-in (country, platform, os, version, ...) or gp:\<custom user property>. Only with a single segment.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest)

```python Python theme={null}
router.call_data_api("amplitude.users.active", {'start': '20261001', 'end': '20261031', 's': [{'prop': 'country', 'op': 'is', 'values': ['United States']}]})
```

```text MCP theme={null}
call_data_api(endpoint="amplitude.users.active", params={"start": "20261001", "end": "20261031", "s": [{"prop": "country", "op": "is", "values": ["United States"]}]})
```

### Break users down by a property

GET

`/api/2/composition`

`amplitude.users.composition`

Unique users per value of one property (country, platform, a custom user property...).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>First day, YYYYMMDD (no dashes). Example `20261001`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>Last day, YYYYMMDD, inclusive. Example `20261031`</td></tr>
    <tr><td>`p` required</td><td>string</td><td>query</td><td>The property: version, country, city, region, DMA, language, platform, os, device, start\_version, paying, or gp:\<custom user property>. Example `country`</td></tr>
  </tbody>
</table>

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest)

```python Python theme={null}
router.call_data_api("amplitude.users.composition", {'start': '20261001', 'end': '20261031', 'p': 'country'})
```

```text MCP theme={null}
call_data_api(endpoint="amplitude.users.composition", params={"start": "20261001", "end": "20261031", "p": "country"})
```

### Get average session length

GET

`/api/2/sessions/average`

`amplitude.sessions.average`

Average session length per day, in seconds.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>First day, YYYYMMDD (no dashes). Example `20261001`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>Last day, YYYYMMDD, inclusive. Example `20261031`</td></tr>
  </tbody>
</table>

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest) · Same job: [Snitcher](https://docs.webrouter.net/data-apis/snitcher.md#snitcher-sessions-list)

```python Python theme={null}
router.call_data_api("amplitude.sessions.average", {'start': '20261001', 'end': '20261031'})
```

```text MCP theme={null}
call_data_api(endpoint="amplitude.sessions.average", params={"start": "20261001", "end": "20261031"})
```

### Get revenue lifetime value

GET

`/api/2/revenue/ltv`

`amplitude.revenue.ltv`

ARPU, ARPPU, total revenue or paying users by cohort day, with n-day values up to 90 days.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`start` required</td><td>string</td><td>query</td><td>First day, YYYYMMDD (no dashes). Example `20261001`</td></tr>
    <tr><td>`end` required</td><td>string</td><td>query</td><td>Last day, YYYYMMDD, inclusive. Example `20261031`</td></tr>
    <tr><td>`m`</td><td>integer</td><td>query</td><td>0 ARPU (default), 1 ARPPU, 2 total revenue, 3 paying users. One of `0`, `1`, `2`, `3`</td></tr>
    <tr><td>`i`</td><td>integer</td><td>query</td><td>Interval: 1 (daily, default), 7 (weekly) or 30 (monthly). One of `1`, `7`, `30`</td></tr>
    <tr><td>`s`</td><td>array</td><td>query</td><td>Segment definitions, a JSON array: property filters \[\{prop, op, values}] (prop 'userdata\_cohort' with a cohort id filters to a cohort) or performed-event filters. Omit for all users. Example `[{"prop": "country", "op": "is", "values": ["United States"]}]`</td></tr>

    <tr>
      <td>
        `g`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        One property to group by: a built-in (country, platform, os, version, ...) or gp:\<custom user property>. Only with a single segment.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest)

```python Python theme={null}
router.call_data_api("amplitude.revenue.ltv", {'start': '20261001', 'end': '20261031', 's': [{'prop': 'country', 'op': 'is', 'values': ['United States']}]})
```

```text MCP theme={null}
call_data_api(endpoint="amplitude.revenue.ltv", params={"start": "20261001", "end": "20261031", "s": [{"prop": "country", "op": "is", "values": ["United States"]}]})
```

### List event types

GET

`/api/2/events/list`

`amplitude.events.list`

Every visible event type with this week's totals and its hidden or deleted flags.

Input

No inputs.

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest)

```python Python theme={null}
router.call_data_api("amplitude.events.list")
```

```text MCP theme={null}
call_data_api(endpoint="amplitude.events.list")
```

### Find a user

GET

`/api/2/usersearch`

`amplitude.users.search`

Amplitude ids matching a user id, device id, Amplitude id or user id prefix.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `user`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        An Amplitude id, device id, user id, or the start of a user id.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest) · Same job: [Mixpanel](https://docs.webrouter.net/data-apis/mixpanel.md#mixpanel-profiles-query)

> [!NOTE]
>
> * No match is a 200 with type 'nomatch' and an empty matches list.
> * Shares a per-project budget with user activity: 10 concurrent and 360 per hour.

### Get a user's event stream

GET

`/api/2/useractivity`

`amplitude.users.activity`

A user's events, newest or oldest first, and their profile summary.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `user`

        required
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        The Amplitude id (find it with users.search).
      </td>
    </tr>

    <tr>
      <td>
        `offset`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Events to skip from the start of the stream.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Events to return, up to 1,000 (the default); may return a few more to keep sessions whole.
      </td>
    </tr>

    <tr><td>`direction`</td><td>string</td><td>query</td><td>latest (default) or earliest. One of `latest`, `earliest`</td></tr>
  </tbody>
</table>

[Vendor docs](https://amplitude.com/docs/apis/analytics/dashboard-rest) · Same job: [Mixpanel](https://docs.webrouter.net/data-apis/mixpanel.md#mixpanel-profiles-activity)

> [!NOTE]
>
> * Shares a per-project budget with user search: 10 concurrent and 360 per hour.


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