---
title: "List Stats From Before a Specified Date for an API Call"
method: GET
path: "/calls/{id}/stats/before"
---

# List Stats From Before a Specified Date for an API Call

`GET /calls/{id}/stats/before`

## Request

- Base URL: `https://client.apimetrics.io/api/2`
- URL: `https://client.apimetrics.io/api/2/calls/{id}/stats/before`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/apicontext/apis/api-settings/docs/calls/:id/stats/before/get.ts> (a function with typed inputs; its response is checked against the schema)

Use this API to get Stats for the specified period before the given date.

## Path parameters

- `id` string, required

## Query parameters

- `kind` string, required
- `time` string, date, required
- `type` string, required
- `location_id` string
- `limit` integer, required

## Response `200`

200

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/apicontext/apis/api-settings.md) - [All operations](https://skmtc.dev/apicontext/apis/api-settings/llms.txt) - [OpenAPI document](https://skmtc.dev/apicontext/apis/api-settings/revisions/2e9a62324e82?raw)
