---
title: "Save Agent Vault File"
method: PUT
path: "/api/companies/{company_uuid}/vault/files/{filename}"
tags: ["agent-company-context"]
---

# Save Agent Vault File

`PUT /api/companies/{company_uuid}/vault/files/{filename}`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/companies/{company_uuid}/vault/files/{filename}`
- Auth: HTTP bearer

Overwrite a company vault markdown file (M2M / admin-scoped writers).

## Path parameters

- `company_uuid` string, uuid, required
- `filename` string, required

## Request body

- CompanyVaultFileSaveRequest
  - `content` string, required

## Response `200`

Successful Response

- CompanyVaultFileSaveResponse
  - `filename` string, required
  - `saved` boolean, required

## Other responses

- `422`: Validation Error

---

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