---
title: "Save a context pack."
method: POST
path: "/v1/context-packs"
---

# Save a context pack.

`POST /v1/context-packs`

## Request

- Base URL: `https://api.cortexplus.io`
- URL: `https://api.cortexplus.io/v1/context-packs`
- Auth: HTTP bearer

Save an AI session handoff summary to CortexPlus memory. Secrets in the content are replaced by placeholders before storing; the secret values are never persisted. Requires the cortex.write scope.

## Request body

- object
  - `content` string, required: Handoff summary in Markdown.
  - `platform` string, required: AI platform that wrote the summary, e.g. chatgpt or claude.
  - `key` string, required: Short stable slug for the topic. Sending the same platform and key again updates the pack instead of creating another.
  - `title` string
  - `model` string
  - `messageCount` integer
  - `tags` string[]

## Response `201`

Successful response.

- object
  - `id` string, required
  - `title` string, required
  - `url` string, uri, required
  - `created` boolean, required
  - `redactions` object[], required
    - `kind` string, required
    - `placeholder` string, required
    - `count` integer, required

## Other responses

- `default`: Request failed.

---

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