---
title: "Get Shared Data Profile"
method: GET
path: "/api/admin/shared-data/users/{user_id}/profile"
tags: ["admin"]
---

# Get Shared Data Profile

`GET /api/admin/shared-data/users/{user_id}/profile`

Return the consenting user's soul / user / heartbeat profile text.

These three fields used to live on ``GET /admin/users/{id}`` until
#336 dropped them. They are user-authored content (soul = how the
agent should behave for this user; user_text = synthesized profile;
heartbeat_text = proactive directives), so they belong behind the
consent gate. Strings are passed through ``redact_pii`` even though
they're plaintext at rest, because users sometimes paste contact
info into their soul / heartbeat directives.

Heartbeat config (opt-in flag, frequency, max_daily) is metadata
that the slim ``/admin/users/{id}`` route already returns; we
duplicate it here so an admin reviewing one consenting user has
everything in one response without cross-route hopping.

## Path parameters

- `user_id` string, required

## Response `200`

Successful Response

- SharedDataProfileResponse — User profile + agent personality text for one consenting user. All three text fields go through ``redact_pii`` before serialization so phone numbers / emails / tokens that the user pasted into their soul or memory directives don't surface verbatim. ``soul_text`` (agent personality), ``user_text`` (synthesized profile), and ``heartbeat_text`` (proactive directives) used to live on ``GET /admin/users/{id}`` until the slimming PR (#336); this is the consent-gated home for them.
  - `user_id` string, required
  - `consent_at` string, nullable, required
  - `soul_text` string, required
  - `user_text` string, required
  - `heartbeat_text` string, required
  - `heartbeat_opt_in` boolean, required
  - `heartbeat_frequency` string, required
  - `heartbeat_max_daily` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mozilla-ai/apis/clawbolt.md) · [All operations](https://skmtc.net/mozilla-ai/apis/clawbolt/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mozilla-ai/clawbolt/revisions/0e52fe5f8d33/schema)
