---
title: "Get one apt, pip or npm package: latest version, summary and versions"
method: GET
path: "/v1/organizations/{organization_id}/template-packages/{ecosystem}/{name}"
tags: ["Template builds"]
---

# Get one apt, pip or npm package: latest version, summary and versions

`GET /v1/organizations/{organization_id}/template-packages/{ecosystem}/{name}`

## Request

- Base URL: `https://api.shardflux.dev`
- URL: `https://api.shardflux.dev/v1/organizations/{organization_id}/template-packages/{ecosystem}/{name}`
- Auth: HTTP bearer

404 not_found (package_not_found). apt needs base=<slug>@<version>. Same limits as the search.

## Path parameters

- `organization_id` string, uuid, required
- `ecosystem` 'apt' | 'pip' | 'npm', required
- `name` string, required

## Query parameters

- `base` string

## Response `200`

Default Response

- TemplatePackage
  - `name` string, required
  - `version` string, nullable, required: The latest version.
  - `summary` string, nullable, required
  - `versions` string[], required: Known versions, newest first (at most 200).

## Other responses

- `4XX`: Default Response
- `5XX`: Default Response

---

[API](https://skmtc.dev/shardflux/apis/shardflux-api.md) · [All operations](https://skmtc.dev/shardflux/apis/shardflux-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shardflux/apis/shardflux-api/revisions/ea685f7b39c4?raw)
