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

0e52fe5f8d33

admin

Export User Llm Payloads

Download the captured LLM request payloads for one user.

Returns the previous-era and current-era payload snapshots stored by llm_payload_capture for users who have toggled data_sharing_consent. Non-consenting users are not captured in the first place, so 404 is returned both when no row exists and when the user has revoked consent (which deletes the row).

Response is served with Content-Disposition: attachment so the admin frontend can drop it to disk for offline analysis without rendering the JSON in-page.

get/api/admin/users/{user_id}/llm-payloads

Path parameters

user_idstring required

Response

Successful Response

{"stackTrail":"paths:/api/admin/users/{user_id}/llm-payloads:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}