---
title: "GET /api/testRun/findUnique"
method: GET
path: "/api/testRun/findUnique"
tags: ["testRun"]
---

# GET /api/testRun/findUnique

`GET /api/testRun/findUnique`

Find one unique TestRun

## Response `200`

Successful operation

- object
  - `data` TestRun, required
    - `id` string, required
    - `status` string, required
    - `errorLog` string, nullable
    - `reportUrl` string, nullable
    - `testId` string, required
    - `test` Test
      - `id` string, required
      - `name` string, required
      - `description` string, nullable
      - `url` string, nullable
      - `naturalLanguageInput` string, nullable
      - `status` string, required
      - `isActive` boolean, required
      - `projectId` string, required
      - `project` Project
        - `id` string, required
        - `name` string, required
        - `description` string, nullable
        - `organizationId` string, required
        - `organization` Organization
          - `id` string, required
          - `name` string, required
          - `pictureUrl` string, nullable
          - `stripeCustomerId` string, nullable
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
          - `roles` OrganizationRole[]
            - `id` string, required
            - `name` string, required
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
            - `userId` string, required
            - `user` User, required
              - …
            - `organizationId` string, required
            - `organization` Organization, required — recursive
          - `projects` Project[]
          - `agentCredentials` Agent[]
            - `id` string, required
            - `provider` string, required
            - `modelType` string, required
            - `numAgents` integer, required
            - `isActive` boolean, required
            - `anthropicApiKey` string, nullable
            - `awsAccessKeyId` string, nullable
            - `awsSecretAccessKey` string, nullable
            - `awsSessionToken` string, nullable
            - `awsRegion` string, nullable
            - `apiEndpoint` string, nullable
            - `apiKey` string, nullable
            - `organizationId` string, required
            - `organization` Organization, required — recursive
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
          - `integration` Integration[]
            - `id` string, required
            - `type` 'jira' | 'linear' | 'slack' | 'discord' | 'github', required
            - `name` string, required
            - `config` unknown, required
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
            - `organizationId` string, required
            - `organization` Organization, required — recursive
        - `tests` Test[]
        - `createdAt` string, date-time, required
        - `updatedAt` string, date-time, required
        - `cookies` unknown
        - `session` unknown
        - `localStorage` unknown
      - `createdById` string, required
      - `createdBy` User
        - `id` string, required
        - `name` string, nullable
        - `email` string, nullable
        - `pictureUrl` string, nullable
        - `tokenInvitation` string, nullable
        - `stripeCustomerId` string, nullable
        - `status` 'INVITED' | 'VERIFIED', required
        - `globalRole` string, required
        - `password` string, nullable
        - `createdAt` string, date-time, required
        - `updatedAt` string, date-time, required
        - `organizationRoles` OrganizationRole[]
          - `id` string, required
          - `name` string, required
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
          - `userId` string, required
          - `user` User, required — recursive
          - `organizationId` string, required
          - `organization` Organization, required
            - `id` string, required
            - `name` string, required
            - `pictureUrl` string, nullable
            - `stripeCustomerId` string, nullable
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
            - `roles` OrganizationRole[]
            - `projects` Project[]
              - …
            - `agentCredentials` Agent[]
              - …
            - `integration` Integration[]
              - …
        - `testsAsCreatedBy` Test[]
        - `testRunsAsExecutedBy` TestRun[]
        - `testShares` TestShare[]
          - `id` string, required
          - `permission` string, required
          - `testId` string, required
          - `test` Test — recursive
          - `userId` string, required
          - `user` User — recursive
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
      - `testRuns` TestRun[]
      - `testShares` TestShare[]
        - `id` string, required
        - `permission` string, required
        - `testId` string, required
        - `test` Test — recursive
        - `userId` string, required
        - `user` User
          - `id` string, required
          - `name` string, nullable
          - `email` string, nullable
          - `pictureUrl` string, nullable
          - `tokenInvitation` string, nullable
          - `stripeCustomerId` string, nullable
          - `status` 'INVITED' | 'VERIFIED', required
          - `globalRole` string, required
          - `password` string, nullable
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
          - `organizationRoles` OrganizationRole[]
            - `id` string, required
            - `name` string, required
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
            - `userId` string, required
            - `user` User, required — recursive
            - `organizationId` string, required
            - `organization` Organization, required
              - …
          - `testsAsCreatedBy` Test[]
          - `testRunsAsExecutedBy` TestRun[]
          - `testShares` TestShare[]
        - `createdAt` string, date-time, required
        - `updatedAt` string, date-time, required
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
    - `executedById` string, required
    - `executedBy` User
      - `id` string, required
      - `name` string, nullable
      - `email` string, nullable
      - `pictureUrl` string, nullable
      - `tokenInvitation` string, nullable
      - `stripeCustomerId` string, nullable
      - `status` 'INVITED' | 'VERIFIED', required
      - `globalRole` string, required
      - `password` string, nullable
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
      - `organizationRoles` OrganizationRole[]
        - `id` string, required
        - `name` string, required
        - `createdAt` string, date-time, required
        - `updatedAt` string, date-time, required
        - `userId` string, required
        - `user` User, required — recursive
        - `organizationId` string, required
        - `organization` Organization, required
          - `id` string, required
          - `name` string, required
          - `pictureUrl` string, nullable
          - `stripeCustomerId` string, nullable
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
          - `roles` OrganizationRole[]
          - `projects` Project[]
            - `id` string, required
            - `name` string, required
            - `description` string, nullable
            - `organizationId` string, required
            - `organization` Organization — recursive
            - `tests` Test[]
              - …
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
            - `cookies` unknown
            - `session` unknown
            - `localStorage` unknown
          - `agentCredentials` Agent[]
            - `id` string, required
            - `provider` string, required
            - `modelType` string, required
            - `numAgents` integer, required
            - `isActive` boolean, required
            - `anthropicApiKey` string, nullable
            - `awsAccessKeyId` string, nullable
            - `awsSecretAccessKey` string, nullable
            - `awsSessionToken` string, nullable
            - `awsRegion` string, nullable
            - `apiEndpoint` string, nullable
            - `apiKey` string, nullable
            - `organizationId` string, required
            - `organization` Organization, required — recursive
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
          - `integration` Integration[]
            - `id` string, required
            - `type` 'jira' | 'linear' | 'slack' | 'discord' | 'github', required
            - `name` string, required
            - `config` unknown, required
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
            - `organizationId` string, required
            - `organization` Organization, required — recursive
      - `testsAsCreatedBy` Test[]
        - `id` string, required
        - `name` string, required
        - `description` string, nullable
        - `url` string, nullable
        - `naturalLanguageInput` string, nullable
        - `status` string, required
        - `isActive` boolean, required
        - `projectId` string, required
        - `project` Project
          - `id` string, required
          - `name` string, required
          - `description` string, nullable
          - `organizationId` string, required
          - `organization` Organization
            - `id` string, required
            - `name` string, required
            - `pictureUrl` string, nullable
            - `stripeCustomerId` string, nullable
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
            - `roles` OrganizationRole[]
              - …
            - `projects` Project[]
            - `agentCredentials` Agent[]
              - …
            - `integration` Integration[]
              - …
          - `tests` Test[]
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
          - `cookies` unknown
          - `session` unknown
          - `localStorage` unknown
        - `createdById` string, required
        - `createdBy` User — recursive
        - `testRuns` TestRun[]
        - `testShares` TestShare[]
          - `id` string, required
          - `permission` string, required
          - `testId` string, required
          - `test` Test — recursive
          - `userId` string, required
          - `user` User — recursive
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
        - `createdAt` string, date-time, required
        - `updatedAt` string, date-time, required
      - `testRunsAsExecutedBy` TestRun[]
      - `testShares` TestShare[]
        - `id` string, required
        - `permission` string, required
        - `testId` string, required
        - `test` Test
          - `id` string, required
          - `name` string, required
          - `description` string, nullable
          - `url` string, nullable
          - `naturalLanguageInput` string, nullable
          - `status` string, required
          - `isActive` boolean, required
          - `projectId` string, required
          - `project` Project
            - `id` string, required
            - `name` string, required
            - `description` string, nullable
            - `organizationId` string, required
            - `organization` Organization
              - …
            - `tests` Test[]
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
            - `cookies` unknown
            - `session` unknown
            - `localStorage` unknown
          - `createdById` string, required
          - `createdBy` User — recursive
          - `testRuns` TestRun[]
          - `testShares` TestShare[]
          - `createdAt` string, date-time, required
          - `updatedAt` string, date-time, required
        - `userId` string, required
        - `user` User — recursive
        - `createdAt` string, date-time, required
        - `updatedAt` string, date-time, required
    - `testSteps` TestStep[]
      - `id` string, required
      - `order` number, required
      - `action` string, required
      - `status` string, required
      - `screenshotUrl` string, nullable
      - `testRunId` string, required
      - `testRun` TestRun — recursive
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `meta` Meta — Meta information about the request or response
    - `serialization` unknown

## Other responses

- `400` — Invalid request
- `403` — Request is forbidden
- `422` — Request is unprocessable due to validation errors

---

[API](https://skmtc.dev/iris-networks/apis/my-awesome-api.md) · [All operations](https://skmtc.dev/iris-networks/apis/my-awesome-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iris-networks/my-awesome-api/revisions/4cea49731f1e/schema)
