---
title: "List cached packages"
method: GET
path: "/api/packages"
tags: ["api"]
---

# List cached packages

`GET /api/packages`

## Query parameters

- `ecosystem` string
- `sort` 'hits' | 'name' | 'size' | 'cached_at' | 'ecosystem' | 'vulns'

## Response `200`

OK

- ServerPackagesListResponse
  - `count` integer
  - `ecosystem` string
  - `page` integer
  - `per_page` integer
  - `results` ServerPackageListResult[]
    - `cached_at` string
    - `ecosystem` string
    - `hits` integer
    - `latest_version` string
    - `license` string
    - `license_category` string
    - `name` string
    - `size` integer
    - `vuln_count` integer
  - `sort_by` string
  - `total` integer

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.dev/git-pkgs/apis/git-pkgs-proxy-api.md) · [All operations](https://skmtc.dev/git-pkgs/apis/git-pkgs-proxy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/git-pkgs/git-pkgs-proxy-api/revisions/bef33406b6dc/schema)
