latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-14129143297.4 KB

0e52fe5f8d33

admin

List Shared Data Heartbeat Logs

Return heartbeat scheduler runs with their content fields.

The non-consent variant /admin/users/{id}/heartbeat-logs returns only metadata (id, action_type, channel, created_at) since #336. For consenting users the full content surfaces here: message_text (what the agent sent on this tick), reasoning (why it sent / skipped — often quotes the user back to themselves), and tasks (the serialized task state the LLM was deciding from). All three columns are envelope-encrypted at rest; ORM reads decrypt transparently and we redact PII shapes before serialization.

get/api/admin/shared-data/users/{user_id}/heartbeat-logs

Path parameters

user_idstring required

Query parameters

limitinteger
start_datestring nullable

ISO-8601 timestamp; lower bound on created_at.

ISO-8601 timestamp; lower bound on created_at.

end_datestring nullable

ISO-8601 timestamp; upper bound on created_at.

ISO-8601 timestamp; upper bound on created_at.

Response

Successful Response

user_idstring required
consent_atstring nullable required
totalinteger required