---
title: "Get edge and origin latency percentiles for the application's domains"
method: GET
path: "/v2/apps/{appId}/network/performance"
tags: ["Network"]
---

# Get edge and origin latency percentiles for the application's domains

`GET /v2/apps/{appId}/network/performance`

Returns p50/p95/p99 latency percentiles (edge TTFB and origin response duration) for the application's primary domain and any configured custom domain, plus per-country and per-edge-location breakdowns and the slowest paths.

Requires both `start` and `end` ISO timestamps. Maximum retention window is 7 days; the start is clamped to the application's creation date.

Results cached per bucket; on cache miss rate-limited to 10 calls per 60s per owner. Available only on Pro and Enterprise plans.

## Path parameters

- `appId` string, required

## Query parameters

- `start` string, date-time, required
- `end` string, date-time, required

## Response `200`

Latency percentiles plus per-country/per-edge-location breakdowns and the slowest paths. Empty object when the requested window is before the application's creation date.

- object
  - `status` 'success', required
  - `response` object, required
    - `summary` object, required
      - `edge` object, required
        - `p50` integer, required
        - `p95` integer, required
        - `p99` integer, required
      - `origin` object, required
        - `p50` integer, required
        - `p95` integer, required
        - `p99` integer, required
      - `requests` integer, required
    - `timeseries` object[], required
      - `date` string, date-time, required
      - `requests` integer, required
      - `edge` object, required
        - `p50` integer, required
        - `p95` integer, required
        - `p99` integer, required
      - `origin` object, required
        - `p50` integer, required
        - `p95` integer, required
        - `p99` integer, required
    - `countries` object[], required
      - `type` string, required
      - `p50` integer, required
      - `p95` integer, required
      - `requests` integer, required
    - `colos` object[], required
      - `type` string, required
      - `city` string, required
      - `country` string, required
      - `p50` integer, required
      - `p95` integer, required
      - `requests` integer, required
    - `slowest_paths` object[], required
      - `path` string, required
      - `p95` integer, required
      - `p99` integer, required
      - `requests` integer, required

## Other responses

- `400` — `start`/`end` are missing, malformed, or invert the time range.
- `401` — The Authorization header is missing, malformed, or the credentials are not valid.
- `403` — The active plan does not include performance analytics. Upgrade to Pro or Enterprise.
- `404` — The target application could not be found, or the caller is not a member of the workspace.
- `429` — Cache miss rate limit exceeded (10 per 60s per owner).
- `500` — Failed to fetch performance data from the edge provider.

---

[API](https://skmtc.dev/squarecloud/apis/square-cloud-api.md) · [All operations](https://skmtc.dev/squarecloud/apis/square-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/squarecloud/square-cloud-api/revisions/54b7733a6b95/schema)
