Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

Custom table columns from JSON body paths (display-only)

Open voidfreud opened this issue 3 months ago • 5 comments

Description

Custom Header Column can show request/response headers, GraphQL query name, and (via #2736) query parameter keys. It still cannot show a field from a JSON body, e.g. model or messages[0].role on a chat API POST.

Scripting can copy a value into Comment (one column) or inject a real header so Custom Header Column can display it. Injected headers go to the server or back to the client. Comment cannot feed other columns.

Why this feature/change is important?

Many APIs (LLM chat, GraphQL-like JSON, etc.) put the distinguishing data in the body, not headers. A display-only column from a JSON path would make the main list usable without mutating traffic.

Suggested behavior

Same UX as query-key columns: pick a JSON path on the request or response body (model, messages.0.role, …). Add a table column. Blank if missing. Display-only: do not add or change headers.

Scripting remains useful for computed strings; this is for a real extra column, not Comment.

voidfreud avatar Aug 24 '26 10:08 voidfreud

make sense. I will support it 👍

NghiaTranUIT avatar Aug 24 '26 12:08 NghiaTranUIT

Thanks for jumping on this so quickly, and for agreeing to do it. Really appreciate it.

Proxyman is one of the best apps I've used. Wish you all the best, and I'm happy to give more feedback as I keep using it.

voidfreud avatar Aug 24 '26 17:08 voidfreud

@voidfreud you can use this Beta build: https://assets.proxyman.com/beta/Proxyman_6.16.0_create_custom_column_from_json_v2.dmg

You can create your custom column from a JSON Body. You have to use JSON Path or jq to filter it 👍

Screnshots

Image Image

NghiaTranUIT avatar Aug 25 '26 12:08 NghiaTranUIT

In the JSON Tab, you can use JSON Path or jq filter, and save it as a column too 👍

Image

NghiaTranUIT avatar Aug 25 '26 12:08 NghiaTranUIT

Sorry for a long response, just tried it! YES, that rocks! Thank you so much!

voidfreud avatar Aug 28 '26 15:08 voidfreud