Skip to content
Download

pm.response

MethodDescription
pm.response.codeHTTP status code (int)
pm.response.statusStatus string, e.g. "200 OK"
pm.response.responseTimeDuration in milliseconds (alias: pm.response.time)
pm.response.sizeBody size in bytes
pm.response.bodyRaw body as string
pm.response.json()Body parsed as JSON (map/array)
pm.response.headers.get(name)Get response header (case-insensitive)
pm.response.llm()AI requests only: the answer as { text, thinking, toolCalls, stopReason, model, usage, timing, steps, error }, the same for every provider. toolCalls items have id, name, input and server; usage has input, output, cacheRead, cacheWrite and reasoning; timing has firstToken and total in milliseconds.