Skip to main content
POST
Preview a revision's RAW response + narrowed field map (no persist)

Authorizations

x-api-key
string
header
required

Path Parameters

tool_id
string<uuid>
required
revision_id
string<uuid>
required

Body

application/json

Preview a revision's response + narrowing without persisting (ENG-631).

Runs the revision's HTTP config and returns the RAW body plus a narrowed preview. response_field_map is an optional unsaved selection to preview; when omitted the router falls back to the revision's saved response_schema. Mirrors the integrations test-invoke surface.

input
Input · object
metadata
Metadata · object
response_field_map
ResponseFieldSelector · object | null

The projection applied to a tool response.

Response

Successful Response

Raw response body + narrowed preview for the dashboard field-map editor.

body is always the RAW upstream response (never narrowed). narrowed is what the agent would receive after applying the effective field map (request override → saved response_schema); None when no map applies.

status_code
integer
required
headers
Headers · object
body
any
narrowed
unknown
success
boolean
default:true
error
string | null
execution_time_ms
number | null
request_url
string | null
request_method
string | null