---
title: "Upgrade a Pack"
method: PATCH
path: "/packs/{id}"
tags: ["packs"]
---

# Upgrade a Pack

`PATCH /packs/{id}`

Upgrade the specified Pack.</br></br>If the Pack includes any user-modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack.Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.

## Path parameters

- `id` string, required

## Request body

- PackUpgradeRequest
  - `allowCustomFunctions` boolean
  - `minor` string
  - `source` string, required
  - `spec` string

## Response `200`

a list of PackInfo objects

- CountedPackInfo
  - `count` integer — number of items present in the items array
  - `items` PackInfo[]
    - `author` string
    - `collectors` number
    - `dependencies` object
    - `description` string
    - `displayName` string
    - `exports` string[]
    - `id` string, required
    - `inputs` number
    - `isDisabled` boolean
    - `minLogStreamVersion` string
    - `outputs` number
    - `settings` object
    - `source` string, required
    - `spec` string
    - `tags` TagsTypePackInstallInfo
      - `dataType` string[]
      - `domain` string[]
      - `streamtags` string[]
      - `technology` string[]
    - `version` string

## Other responses

- `401` — Unauthorized
- `500` — Unexpected error

## Changes

- **2026-03-06** `11df16b26c1d` — 1 info
  - added the optional property `items/items/collectors` to the response with the `200` status
- **2025-11-14** `72b542d3fe49` — 2 breaking, 1 info
  - the response property `items/items/tags/dataType` became optional for the status `200`
  - the response property `items/items/tags/technology` became optional for the status `200`
  - added the optional property `items/items/dependencies` to the response with the `200` status
- **2025-08-26** `72f306103a82` — 3 breaking, 3 warning
  - added required request body
  - the response property `items/items/tags/domain` became optional for the status `200`
  - the response property `items/items/tags/streamtags` became optional for the status `200`
  - deleted the `query` request parameter `minor`
  - …2 more

[Change history](https://skmtc.dev/criblio/apis/cribl-api-reference/changes/packs/:id/patch.md)

---

[API](https://skmtc.dev/criblio/apis/cribl-api-reference.md) · [All operations](https://skmtc.dev/criblio/apis/cribl-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/criblio/cribl-api-reference/revisions/11df16b26c1d/schema)
