---
title: "installs_detail (all)"
method: GET
path: "/api/v1/repos/{user_id}/{repo}/stats/installs/detail.json"
tags: ["stats"]
---

# installs_detail (all)

`GET /api/v1/repos/{user_id}/{repo}/stats/installs/detail.json`

## Request

- Base URL: `https://packagecloud.io`
- URL: `https://packagecloud.io/api/v1/repos/{user_id}/{repo}/stats/installs/detail.json`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/cstrahan/apis/packagecloud-api/docs/api/v1/repos/:user_id/:repo/stats/installs/detail.json/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the details of all repository installations that match a
particular criteria. This is specific to a single repository.

Default date range is 7 days ago. See response headers for [pagination](#pagination) information.

Repository owners only

**Example request:**

```
/api/v1/repos/julio/test_repo/stats/installs/detail.json
```

## Path parameters

- `user_id` string, required
- `repo` string, required

## Query parameters

- `distro` string
- `end_date` string
- `master_token` string
- `page` integer
- `per_page` integer
- `start_date` string
- `user_agent` string
- `version` string

## Response `200`

[RepositoryInstalls](#object_RepositoryInstalls) JSON object containing the details of repository installs.

- RepositoryInstalls[]
  - `installed_at` string: The date this repository was installed (UTC)
  - `ip_address` string: The ip address of this repository install
  - `user_agent` string: The user agent of the client which installed this repository
  - `master_token` string: The master token associated with this repository install
  - `distro_version` string: The distribution version this repository was installed for

---

[API](https://skmtc.dev/cstrahan/apis/packagecloud-api.md) - [All operations](https://skmtc.dev/cstrahan/apis/packagecloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cstrahan/apis/packagecloud-api/revisions/9744ac4cffc2?raw)
