For AI agents: the documentation index is at /llms.txt. Markdown versions of pages are available by appending .md to the URL.
Skip to main content

Requests

The Requests page shows the traffic your indexer's GraphQL endpoints receive: how many requests arrived, how they were answered and how long they took. The numbers are measured at Envio's gateway, before a request reaches your indexer.

Use it to answer questions such as:

  • How much traffic does my endpoint get, and when?
  • Are requests failing?
  • Am I reaching my plan's rate limit?
  • How fast are requests answered?
  • Where do requests come from, and which API key made them?

Where to Find It​

In the Envio Cloud dashboard, open your indexer and select Requests in the sidebar, directly after Overview. The page is visible to members of the organisation that owns the indexer.

The indexer's Overview also has a Requests, last 24 hours card. It shows requests, error rate and rate limited for the production endpoint, and links to the Requests page.

The same data is available from the terminal with envio-cloud indexer requests.

Choose an Endpoint and a Range​

  • Endpoint: which URL the requests were sent to. Production covers requests to the production endpoint. A commit covers requests sent to that deployment's own endpoint, and does not include requests to the production endpoint.
  • Range: the last hour, the last 24 hours, or the last 7 days.

Summary​

FigureMeaning
RequestsThe number of requests in the range
Error rateThe share of requests answered with a 5xx status
Rate limitedThe share and number of requests rejected with a 429 status because your plan's requests-per-minute limit was reached. The page states your plan's limit
p50 / p90 / p99Response time. p50: half of the requests were answered within this time. p90: 9 in 10 were. p99: 99 in 100 were

Charts​

  • Requests by status: requests per minute in every range, split into 2xx, 3xx, 4xx, rate limited (429), 5xx and other. Rate-limited requests are shown separately from other 4xx responses.
  • Response time: p50, p90 and p99 over time.
  • Rate-limited requests: the requests rejected with a 429 status over time.

On the 1-hour view, your plan's rate limit is drawn as a line on the requests chart when traffic gets near it.

Tables​

  • Top countries: where requests came from.
  • Top clients: requests grouped by the client's user agent family, such as browsers, curl or node.
  • API keys: requests per API key name, with 5xx and rate-limited counts. Requests made without a key show as No API key.

The API keys table appears only when at least one request in the range used a named key. Key names are the names you gave your keys on the indexer's Security page. See API Key Authentication.

A table is hidden when it has nothing to tell apart.

No Requests​

When the endpoint received no requests in the range, the page shows No requests in this period. New requests show up a minute or two after they are made.

From the Command Line​

The Envio Cloud CLI prints the same figures:

envio-cloud indexer requests <indexer-name> [organisation-id]

The command requires authentication (envio-cloud login). By default it covers the production endpoint over the last 24 hours, broken down by status.

$ envio-cloud indexer requests myindexer myorg --by country
Requests to indexer 'myindexer' in organisation 'myorg' (production endpoint, last 24h):

Requests: 1,757
Error rate: 1.08% (19 with a 5xx response)
Rate limited: 4.61% (81 requests)
Response time: p50 4 ms, p90 23 ms, p99 52 ms
Plan limit: 250 requests per minute

COUNTRY REQUESTS SHARE 5XX RATE LIMITED
unknown 1,754 99.8% 19 81
MT 3 0.17% 0 0

Use --since for another range, --deployment <commit> for one deployment's own endpoint, --by for another breakdown and -o json for JSON output that includes the time series. See the CLI reference for every flag.

Good to Know​

  • Request data is kept for 7 days.
  • Figures are approximate. In rare cases a small number of requests can be missing or counted twice.
  • Response times cover the requests your indexer answered. Rate-limited requests are left out, since they are rejected before they reach it.
  • WebSocket (subscription) connections are counted as requests. They are left out of the response-time figures, since a connection stays open.
  • Individual request logs and GraphQL operation names are not available. Every GraphQL request appears as one request to the endpoint.