> ## Documentation Index
> Fetch the complete documentation index at: https://docs.negentro.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Persistent Persona & Pinned Memory Weighting

> Maintain deterministic agent tone, core principles, and identity using memory pinning and assistant boost.

`POST /api/v1/memories/:id/pin`

## Pinning Persona Facts into Context

```bash POST /api/v1/memories/:id/pin theme={null}
curl -X POST https://api.piyapi.cloud/api/v1/memories/mem_persona_01/pin \
  -H "Authorization: Bearer sk_live_prod_key_here" \
  -H "Content-Type: application/json" \
  -d '{ "is_pinned": true, "priority_weight": 2.5 }'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.