---
title: "Retrieve details of all sampled requests for a given journey run ID"
method: POST
path: "/performanceTestRun/{performance_test_run_id}/requestDetails"
tags: ["TestRun"]
---

# Retrieve details of all sampled requests for a given journey run ID

`POST /performanceTestRun/{performance_test_run_id}/requestDetails`

Used to query sampled requests details for a given performance run

## Path parameters

- `performance_test_run_id` string, required

## Query parameters

- `workspace_id` string, required
- `limit` integer
- `cursor` string

## Request body

- RequestQueryOptions
  - `filter_options` RequestFilterOptions
    - `endpoint` PerformanceRunEndpoint — Represents an API endpoint used for reporting performance run metrics
      - `method` string, required — The HTTP method/verb, e.g. GET, POST, PUT, etc.
      - `pathExpression` string, required — Expression representing the path associated with this endpoint, e.g. /users, /workspace/* /plans/*
    - `http_code` integer — The status code of the response to filter by
    - `failure_reasons` string[] — The failure reasons given by Newman if a request does not have a response to filter by
  - `sort_columns` RequestSortColumn[] — Options to sort the relevant requests by
    - `column_name` 'request_end_time' | 'functional_test_name' | 'step_name' | 'latency' | 'response_body_bytes' | 'datatable_scenario_name' — column name to sort by
    - `sort_direction` 'ASC' | 'DESC' — Direction of sort when ordering query results

## Response `200`

Request detail summary result

- RequestDetailsQueryResult
  - `request_details` RequestDetails[]
    - `id` string — The unique identifier assigned to this request
    - `test_run_id` string — The id of the performance test run that generated this request
    - `functional_test_invariant_id` string — The id of the functional test from which this request came
    - `functional_test_name` string — The name of the functional test from which this request came
    - `runner_id` string — The runner id associated with this request
    - `step_id` string — The id of the functional test step that generated this request
    - `step_name` string — The name of the functional test step that generated this request
    - `workspace_id` string — The workspace id
    - `test_run_start_time` integer — The time when the performance test started (in epoch milliseconds)
    - `request_end_time` integer — The time when the request finished (in epoch milliseconds)
    - `latency` integer — The latency of the request in milliseconds
    - `datatable_row_id` string — The datatable row id associated with a functional test that generated this request
    - `datatable_scenario_name` string — The scenario name for the datatable row used in this request
    - `request_gcs_path` string — The GCS path to the data for this request
    - `http_code` integer — The status code of the response
    - `failure_reason` string — The failure reason given by Newman if a request does not have a response
    - `response_header_bytes` integer — The total size of the response header in bytes
    - `response_body_bytes` integer — The total size of the response body in bytes
    - `request_truncated` boolean — True if the request header and/or body were truncated
    - `response_truncated` boolean — True if the response header and/or body were truncated
  - `cursor` string — The cursor for paging

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
