---
title: "Store a memory in your private vault — first 500 writes free, then $0.01/pack"
method: POST
path: "/api/vault/write"
tags: ["vault"]
---

# Store a memory in your private vault — first 500 writes free, then $0.01/pack

`POST /api/vault/write`

## Request

- Base URL: `https://x711.io`
- URL: `https://x711.io/api/vault/write`
- Auth: API key in header `X-API-Key`

## Request body

- object
  - `content` string, required
  - `type` 'fact' | 'insight' | 'context' | 'skill'
  - `tags` string[]
  - `importance` number
  - `immortal` boolean: Disable decay permanently (+$0.05)

## Response `201`

Memory stored

## Other responses

- `401`: API key required

---

[API](https://skmtc.dev/x711/apis/x711-universal-agent-gas-station-api.md) · [All operations](https://skmtc.dev/x711/apis/x711-universal-agent-gas-station-api/llms.txt) · [OpenAPI document](https://skmtc.dev/x711/apis/x711-universal-agent-gas-station-api/revisions/8ed6c60350a6?raw)
