---
updatedAt: 2026-05-20T18:20:28.000Z
agentTools:
  projectIndex: https://developer.usertesting.com/llms.txt
---

# Find all sessions in a test

Returns a paginated list of summaries for each completed session in a test. Each summary includes the session ID, status, and timestamps. 

  In the response, sessions are sorted in descending order, i.e., from newest to oldest.
  
  _Compatibility:_
  - All tests with the "STUDYV2" type are compatible. These include tests with the following product types:
    - "SURVEY" (survey)
    - "LIVE_CONVERSATION" (non-classic live conversation)
    - "NON_THINK_OUT_LOUD" (interaction test)
    - "THINK_OUT_LOUD" (think-out-loud test) 
  - Go to [How to Obtain a Test ID (UUID)](https://developer.usertesting.com/docs/how-to-obtain-a-testid-uuid) for details.
  
  _Best practices:_
  - Always use pagination query parameters (_limit_ and _offset_) along with the appropriate logic to ensure all sessions are retrieved.
  - Use the response data from _limit_, _offset_, and _totalCount_ in the _meta.pagination_ property to calculate the number of pagination iterations (API requests) needed to collect all sessions in the test.
  
  _Use case examples:_
  - For an example on near real-time polling, go to [Stream Insights into Slack or Jira](https://developer.usertesting.com/v2.0/docs/stream-insights-into-slack-or-jira).
  - For an example on how to add session summaries into an automated research data pipeline, go to [Create an Automated Pipeline](https://developer.usertesting.com/v2.0/docs/tutorial).
  

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/api/v2/sessionResults": {
      "get": {
        "description": "Returns a paginated list of summaries for each completed session in a test. Each summary includes the session ID, status, and timestamps. \n\n  In the response, sessions are sorted in descending order, i.e., from newest to oldest.\n  \n  _Compatibility:_\n  - All tests with the \"STUDYV2\" type are compatible. These include tests with the following product types:\n    - \"SURVEY\" (survey)\n    - \"LIVE_CONVERSATION\" (non-classic live conversation)\n    - \"NON_THINK_OUT_LOUD\" (interaction test)\n    - \"THINK_OUT_LOUD\" (think-out-loud test) \n  - Go to [How to Obtain a Test ID (UUID)](https://developer.usertesting.com/docs/how-to-obtain-a-testid-uuid) for details.\n  \n  _Best practices:_\n  - Always use pagination query parameters (_limit_ and _offset_) along with the appropriate logic to ensure all sessions are retrieved.\n  - Use the response data from _limit_, _offset_, and _totalCount_ in the _meta.pagination_ property to calculate the number of pagination iterations (API requests) needed to collect all sessions in the test.\n  \n  _Use case examples:_\n  - For an example on near real-time polling, go to [Stream Insights into Slack or Jira](https://developer.usertesting.com/v2.0/docs/stream-insights-into-slack-or-jira).\n  - For an example on how to add session summaries into an automated research data pipeline, go to [Create an Automated Pipeline](https://developer.usertesting.com/v2.0/docs/tutorial).\n  ",
        "operationId": "SessionResultsController_getSessionSummaryResults",
        "parameters": [
          {
            "name": "testId",
            "required": true,
            "in": "query",
            "description": "ID of the test containing the sessions.",
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "description": "Maximum number of sessions to return in the result set.",
            "schema": {
              "minimum": 1,
              "maximum": 500,
              "default": 25,
              "example": 25,
              "type": "number"
            }
          },
          {
            "name": "offset",
            "required": false,
            "in": "query",
            "description": "Number of sessions to skip before starting to collect the result set.",
            "schema": {
              "minimum": 0,
              "maximum": 10000,
              "default": 0,
              "example": 0,
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Session summaries successfully retrieved.",
            "headers": {
              "Cache-Control": {
                "description": "Caching policy for the response.",
                "schema": {
                  "type": "string",
                  "example": "private, no-store"
                }
              },
              "Pragma": {
                "description": "HTTP/1.0 backward compatibility for no-cache.",
                "schema": {
                  "type": "string",
                  "example": "no-cache"
                }
              },
              "Strict-Transport-Security": {
                "description": "Enforces secure (HTTP over SSL/TLS) connections to the server.",
                "schema": {
                  "type": "string",
                  "example": "max-age=31536000; includeSubDomains"
                }
              },
              "Content-Length": {
                "description": "The length of the response body in bytes.",
                "schema": {
                  "type": "integer",
                  "example": 256
                }
              },
              "Content-Type": {
                "description": "The MIME type of the returned response.",
                "schema": {
                  "type": "string",
                  "example": "application/json; charset=utf-8"
                }
              },
              "x-ratelimit-limit": {
                "description": "The maximum number of requests allowed in the current period.",
                "schema": {
                  "type": "integer",
                  "example": 10
                }
              },
              "x-ratelimit-remaining": {
                "description": "The number of requests remaining in the current period.",
                "schema": {
                  "type": "integer",
                  "example": 7
                }
              },
              "x-ratelimit-reset": {
                "description": "The time (in seconds) remaining in the current period until the rate limit resets.",
                "schema": {
                  "type": "integer",
                  "example": 60
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionSummaryResultsResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. The offset must be between 0-10000 and limit must be between 1-500."
          },
          "401": {
            "description": "Missing or invalid access token."
          },
          "404": {
            "description": "Test not found."
          },
          "429": {
            "description": "Too many requests. Maximum of 10 requests per minute."
          }
        },
        "summary": "Find all sessions in a test",
        "tags": [
          "General Session Data"
        ]
      }
    }
  },
  "info": {
    "title": "Results API",
    "description": "With the Results API, you can access the results of your UserTesting account's Surveys, Live Conversations, Interaction Tests, and Think-out-loud Tests for analysis and reporting purposes. \n      \nEach test can contain multiple sessions. Each session represents an individual participant's interaction with the test.\n\nFrom test results you can obtain QXscores, which provide a reliable benchmark metric for evaluating the quality of an experience.\n\nYou can retrieve session results that include summaries of sessions, detailed session data, transcripts, and videos. \n",
    "version": "2.0",
    "contact": {
      "name": "UserTesting Support",
      "url": "https://developer.usertesting.com/",
      "email": "support@usertesting.com"
    }
  },
  "tags": [
    {
      "name": "General Session Data",
      "description": "Retrieve session summaries and detailed session results from a test."
    }
  ],
  "servers": [
    {
      "url": "https://api.use2.usertesting.com"
    }
  ],
  "components": {
    "schemas": {
      "SessionSummaryResultItemDto": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string",
            "description": "ID of the session.",
            "format": "uuid",
            "example": "41f72104-5f84-44fa-a16a-03f5751596ec"
          },
          "audienceId": {
            "type": "string",
            "description": "Identifier of the audience that the session participant belongs to. Null if session has no assigned audience.",
            "format": "uuid",
            "example": "41f72104-5f84-44fa-a16a-03f575159611",
            "nullable": true
          },
          "status": {
            "type": "string",
            "description": "Session completion status.",
            "example": "COMPLETE"
          },
          "startTime": {
            "type": "string",
            "description": "Timestamp representing when the session started. UTC timezone. ISO 8601 format.",
            "example": "2024-11-21T12:23:52.614Z",
            "format": "date-time"
          },
          "finishTime": {
            "type": "string",
            "description": "Timestamp representing when the session finished. UTC timezone. ISO 8601 format.",
            "example": "2024-11-21T12:25:03.347Z",
            "format": "date-time",
            "nullable": true
          }
        },
        "required": [
          "sessionId",
          "status",
          "startTime"
        ]
      },
      "SessionSummaryPaginationDto": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "number",
            "description": "Maximum number of sessions returned in the result set.",
            "example": 25
          },
          "offset": {
            "type": "number",
            "description": "Number of sessions skipped before starting to collect the result set.",
            "example": 0
          },
          "totalCount": {
            "type": "number",
            "description": "Total number of sessions within the test.",
            "example": 1
          }
        },
        "required": [
          "limit",
          "offset",
          "totalCount"
        ]
      },
      "SessionSummaryResultsMetaDto": {
        "type": "object",
        "properties": {
          "pagination": {
            "description": "Pagination metadata for the response.",
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionSummaryPaginationDto"
              }
            ]
          }
        },
        "required": [
          "pagination"
        ]
      },
      "SessionSummaryResultsResponseDto": {
        "type": "object",
        "properties": {
          "testId": {
            "type": "string",
            "description": "ID of the test queried for session summaries.",
            "format": "uuid",
            "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
          },
          "sessions": {
            "description": "Collection of session summaries.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SessionSummaryResultItemDto"
            }
          },
          "meta": {
            "description": "Response metadata.",
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionSummaryResultsMetaDto"
              }
            ]
          }
        },
        "required": [
          "testId",
          "sessions",
          "meta"
        ]
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Go to [Authorization](https://developer.usertesting.com/v1.0/docs/authentication-authorization) for information on how to generate an access token."
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```