Run the saved set against a saved request

The whole current set, enabled rules in order, exactly as the dispatcher would run it. note names every rule and version with what it did.

POST
/api/v1/endpoints/{endpointId}/transformations/preview-set
AuthorizationBearer <token>

API key in the Authorization header: Authorization: Bearer wv_live_…. Keys are created on the API keys page in the app, shown once, and scoped to your workspace. X-Api-Key: wv_live_… is accepted as a fallback for tools that can't set Authorization.

In: header

Path Parameters

endpointId*string

The endpoint id (also the capture token in its URL).

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{
  "matched": true,
  "sampleRequestId": 0,
  "output": {
    "headers": {
      "property1": "string",
      "property2": "string"
    },
    "body": "string",
    "contentType": "string",
    "queryString": "string"
  },
  "steps": [
    {
      "index": 0,
      "op": "string",
      "applied": true,
      "note": "string"
    }
  ],
  "note": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "code": "string",
  "traceId": "string"
}

On this page