---
title: "POST /api/testShare/upsert"
method: POST
path: "/api/testShare/upsert"
tags: ["testShare"]
---

# POST /api/testShare/upsert

`POST /api/testShare/upsert`

Upsert a TestShare

## Request body

- TestShareUpsertArgs
  - `select` TestShareSelect
    - `id` boolean
    - `permission` boolean
    - `testId` boolean
    - `test` union
      - boolean
      - TestArgs
        - `select` TestSelect
          - `id` boolean
          - `name` boolean
          - `description` boolean
          - `url` boolean
          - `naturalLanguageInput` boolean
          - `status` boolean
          - `isActive` boolean
          - `projectId` boolean
          - `project` union
            - boolean
            - ProjectArgs
              - …
          - `createdById` boolean
          - `createdBy` union
            - boolean
            - UserArgs
              - …
          - `testRuns` union
            - boolean
            - TestRunFindManyArgs
              - …
          - `testShares` union
            - boolean
            - TestShareFindManyArgs
              - …
          - `createdAt` boolean
          - `updatedAt` boolean
          - `_count` union
            - boolean
            - TestCountOutputTypeArgs
              - …
        - `include` TestInclude
          - `project` union
            - boolean
            - ProjectArgs
              - …
          - `createdBy` union
            - boolean
            - UserArgs
              - …
          - `testRuns` union
            - boolean
            - TestRunFindManyArgs
              - …
          - `testShares` union
            - boolean
            - TestShareFindManyArgs
              - …
          - `_count` union
            - boolean
            - TestCountOutputTypeArgs
              - …
    - `userId` boolean
    - `user` union
      - boolean
      - UserArgs
        - `select` UserSelect
          - `id` boolean
          - `name` boolean
          - `email` boolean
          - `pictureUrl` boolean
          - `tokenInvitation` boolean
          - `stripeCustomerId` boolean
          - `status` boolean
          - `globalRole` boolean
          - `password` boolean
          - `createdAt` boolean
          - `updatedAt` boolean
          - `organizationRoles` union
            - boolean
            - OrganizationRoleFindManyArgs
              - …
          - `testsAsCreatedBy` union
            - boolean
            - TestFindManyArgs
              - …
          - `testRunsAsExecutedBy` union
            - boolean
            - TestRunFindManyArgs
              - …
          - `testShares` union
            - boolean
            - TestShareFindManyArgs
              - …
          - `_count` union
            - boolean
            - UserCountOutputTypeArgs
              - …
        - `include` UserInclude
          - `organizationRoles` union
            - boolean
            - OrganizationRoleFindManyArgs
              - …
          - `testsAsCreatedBy` union
            - boolean
            - TestFindManyArgs
              - …
          - `testRunsAsExecutedBy` union
            - boolean
            - TestRunFindManyArgs
              - …
          - `testShares` union
            - boolean
            - TestShareFindManyArgs
              - …
          - `_count` union
            - boolean
            - UserCountOutputTypeArgs
              - …
    - `createdAt` boolean
    - `updatedAt` boolean
  - `include` TestShareInclude
    - `test` union
      - boolean
      - TestArgs
        - `select` TestSelect
          - `id` boolean
          - `name` boolean
          - `description` boolean
          - `url` boolean
          - `naturalLanguageInput` boolean
          - `status` boolean
          - `isActive` boolean
          - `projectId` boolean
          - `project` union
            - boolean
            - ProjectArgs
              - …
          - `createdById` boolean
          - `createdBy` union
            - boolean
            - UserArgs
              - …
          - `testRuns` union
            - boolean
            - TestRunFindManyArgs
              - …
          - `testShares` union
            - boolean
            - TestShareFindManyArgs
              - …
          - `createdAt` boolean
          - `updatedAt` boolean
          - `_count` union
            - boolean
            - TestCountOutputTypeArgs
              - …
        - `include` TestInclude
          - `project` union
            - boolean
            - ProjectArgs
              - …
          - `createdBy` union
            - boolean
            - UserArgs
              - …
          - `testRuns` union
            - boolean
            - TestRunFindManyArgs
              - …
          - `testShares` union
            - boolean
            - TestShareFindManyArgs
              - …
          - `_count` union
            - boolean
            - TestCountOutputTypeArgs
              - …
    - `user` union
      - boolean
      - UserArgs
        - `select` UserSelect
          - `id` boolean
          - `name` boolean
          - `email` boolean
          - `pictureUrl` boolean
          - `tokenInvitation` boolean
          - `stripeCustomerId` boolean
          - `status` boolean
          - `globalRole` boolean
          - `password` boolean
          - `createdAt` boolean
          - `updatedAt` boolean
          - `organizationRoles` union
            - boolean
            - OrganizationRoleFindManyArgs
              - …
          - `testsAsCreatedBy` union
            - boolean
            - TestFindManyArgs
              - …
          - `testRunsAsExecutedBy` union
            - boolean
            - TestRunFindManyArgs
              - …
          - `testShares` union
            - boolean
            - TestShareFindManyArgs
              - …
          - `_count` union
            - boolean
            - UserCountOutputTypeArgs
              - …
        - `include` UserInclude
          - `organizationRoles` union
            - boolean
            - OrganizationRoleFindManyArgs
              - …
          - `testsAsCreatedBy` union
            - boolean
            - TestFindManyArgs
              - …
          - `testRunsAsExecutedBy` union
            - boolean
            - TestRunFindManyArgs
              - …
          - `testShares` union
            - boolean
            - TestShareFindManyArgs
              - …
          - `_count` union
            - boolean
            - UserCountOutputTypeArgs
              - …
  - `where` TestShareWhereUniqueInput, required
    - `id` string
    - `AND` union
      - TestShareWhereInput
        - `AND` union
          - TestShareWhereInput — recursive
          - TestShareWhereInput[]
        - `OR` TestShareWhereInput[]
        - `NOT` union
          - TestShareWhereInput — recursive
          - TestShareWhereInput[]
        - `id` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `permission` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `testId` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `userId` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `createdAt` union
          - DateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
          - string, date-time
        - `updatedAt` union
          - DateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
          - string, date-time
        - `test` union
          - TestNullableRelationFilter
            - `is` TestWhereInput
              - …
            - `isNot` TestWhereInput
              - …
          - TestWhereInput
            - `AND` union
              - …
            - `OR` TestWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `description` union
              - …
            - `url` union
              - …
            - `naturalLanguageInput` union
              - …
            - `status` union
              - …
            - `isActive` union
              - …
            - `projectId` union
              - …
            - `createdById` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `project` union
              - …
            - `createdBy` union
              - …
            - `testRuns` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
        - `user` union
          - UserNullableRelationFilter
            - `is` UserWhereInput
              - …
            - `isNot` UserWhereInput
              - …
          - UserWhereInput
            - `AND` union
              - …
            - `OR` UserWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `email` union
              - …
            - `pictureUrl` union
              - …
            - `tokenInvitation` union
              - …
            - `stripeCustomerId` union
              - …
            - `status` union
              - …
            - `globalRole` union
              - …
            - `password` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `organizationRoles` OrganizationRoleListRelationFilter
              - …
            - `testsAsCreatedBy` TestListRelationFilter
              - …
            - `testRunsAsExecutedBy` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
      - TestShareWhereInput[]
        - `AND` union
          - TestShareWhereInput — recursive
          - TestShareWhereInput[]
        - `OR` TestShareWhereInput[]
        - `NOT` union
          - TestShareWhereInput — recursive
          - TestShareWhereInput[]
        - `id` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `permission` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `testId` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `userId` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `createdAt` union
          - DateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
          - string, date-time
        - `updatedAt` union
          - DateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
          - string, date-time
        - `test` union
          - TestNullableRelationFilter
            - `is` TestWhereInput
              - …
            - `isNot` TestWhereInput
              - …
          - TestWhereInput
            - `AND` union
              - …
            - `OR` TestWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `description` union
              - …
            - `url` union
              - …
            - `naturalLanguageInput` union
              - …
            - `status` union
              - …
            - `isActive` union
              - …
            - `projectId` union
              - …
            - `createdById` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `project` union
              - …
            - `createdBy` union
              - …
            - `testRuns` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
        - `user` union
          - UserNullableRelationFilter
            - `is` UserWhereInput
              - …
            - `isNot` UserWhereInput
              - …
          - UserWhereInput
            - `AND` union
              - …
            - `OR` UserWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `email` union
              - …
            - `pictureUrl` union
              - …
            - `tokenInvitation` union
              - …
            - `stripeCustomerId` union
              - …
            - `status` union
              - …
            - `globalRole` union
              - …
            - `password` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `organizationRoles` OrganizationRoleListRelationFilter
              - …
            - `testsAsCreatedBy` TestListRelationFilter
              - …
            - `testRunsAsExecutedBy` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
    - `OR` TestShareWhereInput[]
      - `AND` union
        - TestShareWhereInput — recursive
        - TestShareWhereInput[]
      - `OR` TestShareWhereInput[]
      - `NOT` union
        - TestShareWhereInput — recursive
        - TestShareWhereInput[]
      - `id` union
        - StringFilter
          - `equals` string
          - `in` string[]
          - `notIn` string[]
          - `lt` string
          - `lte` string
          - `gt` string
          - `gte` string
          - `contains` string
          - `startsWith` string
          - `endsWith` string
          - `mode` 'default' | 'insensitive'
          - `not` union
            - string
            - NestedStringFilter
              - …
        - string
      - `permission` union
        - StringFilter
          - `equals` string
          - `in` string[]
          - `notIn` string[]
          - `lt` string
          - `lte` string
          - `gt` string
          - `gte` string
          - `contains` string
          - `startsWith` string
          - `endsWith` string
          - `mode` 'default' | 'insensitive'
          - `not` union
            - string
            - NestedStringFilter
              - …
        - string
      - `testId` union
        - StringFilter
          - `equals` string
          - `in` string[]
          - `notIn` string[]
          - `lt` string
          - `lte` string
          - `gt` string
          - `gte` string
          - `contains` string
          - `startsWith` string
          - `endsWith` string
          - `mode` 'default' | 'insensitive'
          - `not` union
            - string
            - NestedStringFilter
              - …
        - string
      - `userId` union
        - StringFilter
          - `equals` string
          - `in` string[]
          - `notIn` string[]
          - `lt` string
          - `lte` string
          - `gt` string
          - `gte` string
          - `contains` string
          - `startsWith` string
          - `endsWith` string
          - `mode` 'default' | 'insensitive'
          - `not` union
            - string
            - NestedStringFilter
              - …
        - string
      - `createdAt` union
        - DateTimeFilter
          - `equals` string, date-time
          - `in` string[]
          - `notIn` string[]
          - `lt` string, date-time
          - `lte` string, date-time
          - `gt` string, date-time
          - `gte` string, date-time
          - `not` union
            - string, date-time
            - NestedDateTimeFilter
              - …
        - string, date-time
      - `updatedAt` union
        - DateTimeFilter
          - `equals` string, date-time
          - `in` string[]
          - `notIn` string[]
          - `lt` string, date-time
          - `lte` string, date-time
          - `gt` string, date-time
          - `gte` string, date-time
          - `not` union
            - string, date-time
            - NestedDateTimeFilter
              - …
        - string, date-time
      - `test` union
        - TestNullableRelationFilter
          - `is` TestWhereInput
            - `AND` union
              - …
            - `OR` TestWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `description` union
              - …
            - `url` union
              - …
            - `naturalLanguageInput` union
              - …
            - `status` union
              - …
            - `isActive` union
              - …
            - `projectId` union
              - …
            - `createdById` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `project` union
              - …
            - `createdBy` union
              - …
            - `testRuns` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
          - `isNot` TestWhereInput
            - `AND` union
              - …
            - `OR` TestWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `description` union
              - …
            - `url` union
              - …
            - `naturalLanguageInput` union
              - …
            - `status` union
              - …
            - `isActive` union
              - …
            - `projectId` union
              - …
            - `createdById` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `project` union
              - …
            - `createdBy` union
              - …
            - `testRuns` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
        - TestWhereInput
          - `AND` union
            - TestWhereInput — recursive
            - TestWhereInput[]
          - `OR` TestWhereInput[]
          - `NOT` union
            - TestWhereInput — recursive
            - TestWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
            - StringFilter
              - …
            - string
          - `description` union
            - StringNullableFilter
              - …
            - string
          - `url` union
            - StringNullableFilter
              - …
            - string
          - `naturalLanguageInput` union
            - StringNullableFilter
              - …
            - string
          - `status` union
            - StringFilter
              - …
            - string
          - `isActive` union
            - BoolFilter
              - …
            - boolean
          - `projectId` union
            - StringFilter
              - …
            - string
          - `createdById` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `project` union
            - ProjectNullableRelationFilter
              - …
            - ProjectWhereInput
              - …
          - `createdBy` union
            - UserNullableRelationFilter
              - …
            - UserWhereInput
              - …
          - `testRuns` TestRunListRelationFilter
            - `every` TestRunWhereInput
              - …
            - `some` TestRunWhereInput
              - …
            - `none` TestRunWhereInput
              - …
          - `testShares` TestShareListRelationFilter
            - `every` TestShareWhereInput — recursive
            - `some` TestShareWhereInput — recursive
            - `none` TestShareWhereInput — recursive
      - `user` union
        - UserNullableRelationFilter
          - `is` UserWhereInput
            - `AND` union
              - …
            - `OR` UserWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `email` union
              - …
            - `pictureUrl` union
              - …
            - `tokenInvitation` union
              - …
            - `stripeCustomerId` union
              - …
            - `status` union
              - …
            - `globalRole` union
              - …
            - `password` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `organizationRoles` OrganizationRoleListRelationFilter
              - …
            - `testsAsCreatedBy` TestListRelationFilter
              - …
            - `testRunsAsExecutedBy` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
          - `isNot` UserWhereInput
            - `AND` union
              - …
            - `OR` UserWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `email` union
              - …
            - `pictureUrl` union
              - …
            - `tokenInvitation` union
              - …
            - `stripeCustomerId` union
              - …
            - `status` union
              - …
            - `globalRole` union
              - …
            - `password` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `organizationRoles` OrganizationRoleListRelationFilter
              - …
            - `testsAsCreatedBy` TestListRelationFilter
              - …
            - `testRunsAsExecutedBy` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
        - UserWhereInput
          - `AND` union
            - UserWhereInput — recursive
            - UserWhereInput[]
          - `OR` UserWhereInput[]
          - `NOT` union
            - UserWhereInput — recursive
            - UserWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
            - StringNullableFilter
              - …
            - string
          - `email` union
            - StringNullableFilter
              - …
            - string
          - `pictureUrl` union
            - StringNullableFilter
              - …
            - string
          - `tokenInvitation` union
            - StringNullableFilter
              - …
            - string
          - `stripeCustomerId` union
            - StringNullableFilter
              - …
            - string
          - `status` union
            - EnumUserStatusFilter
              - …
            - 'INVITED' | 'VERIFIED'
          - `globalRole` union
            - StringFilter
              - …
            - string
          - `password` union
            - StringNullableFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `organizationRoles` OrganizationRoleListRelationFilter
            - `every` OrganizationRoleWhereInput
              - …
            - `some` OrganizationRoleWhereInput
              - …
            - `none` OrganizationRoleWhereInput
              - …
          - `testsAsCreatedBy` TestListRelationFilter
            - `every` TestWhereInput
              - …
            - `some` TestWhereInput
              - …
            - `none` TestWhereInput
              - …
          - `testRunsAsExecutedBy` TestRunListRelationFilter
            - `every` TestRunWhereInput
              - …
            - `some` TestRunWhereInput
              - …
            - `none` TestRunWhereInput
              - …
          - `testShares` TestShareListRelationFilter
            - `every` TestShareWhereInput — recursive
            - `some` TestShareWhereInput — recursive
            - `none` TestShareWhereInput — recursive
    - `NOT` union
      - TestShareWhereInput
        - `AND` union
          - TestShareWhereInput — recursive
          - TestShareWhereInput[]
        - `OR` TestShareWhereInput[]
        - `NOT` union
          - TestShareWhereInput — recursive
          - TestShareWhereInput[]
        - `id` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `permission` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `testId` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `userId` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `createdAt` union
          - DateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
          - string, date-time
        - `updatedAt` union
          - DateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
          - string, date-time
        - `test` union
          - TestNullableRelationFilter
            - `is` TestWhereInput
              - …
            - `isNot` TestWhereInput
              - …
          - TestWhereInput
            - `AND` union
              - …
            - `OR` TestWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `description` union
              - …
            - `url` union
              - …
            - `naturalLanguageInput` union
              - …
            - `status` union
              - …
            - `isActive` union
              - …
            - `projectId` union
              - …
            - `createdById` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `project` union
              - …
            - `createdBy` union
              - …
            - `testRuns` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
        - `user` union
          - UserNullableRelationFilter
            - `is` UserWhereInput
              - …
            - `isNot` UserWhereInput
              - …
          - UserWhereInput
            - `AND` union
              - …
            - `OR` UserWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `email` union
              - …
            - `pictureUrl` union
              - …
            - `tokenInvitation` union
              - …
            - `stripeCustomerId` union
              - …
            - `status` union
              - …
            - `globalRole` union
              - …
            - `password` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `organizationRoles` OrganizationRoleListRelationFilter
              - …
            - `testsAsCreatedBy` TestListRelationFilter
              - …
            - `testRunsAsExecutedBy` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
      - TestShareWhereInput[]
        - `AND` union
          - TestShareWhereInput — recursive
          - TestShareWhereInput[]
        - `OR` TestShareWhereInput[]
        - `NOT` union
          - TestShareWhereInput — recursive
          - TestShareWhereInput[]
        - `id` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `permission` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `testId` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `userId` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `createdAt` union
          - DateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
          - string, date-time
        - `updatedAt` union
          - DateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
          - string, date-time
        - `test` union
          - TestNullableRelationFilter
            - `is` TestWhereInput
              - …
            - `isNot` TestWhereInput
              - …
          - TestWhereInput
            - `AND` union
              - …
            - `OR` TestWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `description` union
              - …
            - `url` union
              - …
            - `naturalLanguageInput` union
              - …
            - `status` union
              - …
            - `isActive` union
              - …
            - `projectId` union
              - …
            - `createdById` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `project` union
              - …
            - `createdBy` union
              - …
            - `testRuns` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
        - `user` union
          - UserNullableRelationFilter
            - `is` UserWhereInput
              - …
            - `isNot` UserWhereInput
              - …
          - UserWhereInput
            - `AND` union
              - …
            - `OR` UserWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `email` union
              - …
            - `pictureUrl` union
              - …
            - `tokenInvitation` union
              - …
            - `stripeCustomerId` union
              - …
            - `status` union
              - …
            - `globalRole` union
              - …
            - `password` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `organizationRoles` OrganizationRoleListRelationFilter
              - …
            - `testsAsCreatedBy` TestListRelationFilter
              - …
            - `testRunsAsExecutedBy` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
    - `permission` union
      - StringFilter
        - `equals` string
        - `in` string[]
        - `notIn` string[]
        - `lt` string
        - `lte` string
        - `gt` string
        - `gte` string
        - `contains` string
        - `startsWith` string
        - `endsWith` string
        - `mode` 'default' | 'insensitive'
        - `not` union
          - string
          - NestedStringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `not` union
              - …
      - string
    - `testId` union
      - StringFilter
        - `equals` string
        - `in` string[]
        - `notIn` string[]
        - `lt` string
        - `lte` string
        - `gt` string
        - `gte` string
        - `contains` string
        - `startsWith` string
        - `endsWith` string
        - `mode` 'default' | 'insensitive'
        - `not` union
          - string
          - NestedStringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `not` union
              - …
      - string
    - `userId` union
      - StringFilter
        - `equals` string
        - `in` string[]
        - `notIn` string[]
        - `lt` string
        - `lte` string
        - `gt` string
        - `gte` string
        - `contains` string
        - `startsWith` string
        - `endsWith` string
        - `mode` 'default' | 'insensitive'
        - `not` union
          - string
          - NestedStringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `not` union
              - …
      - string
    - `createdAt` union
      - DateTimeFilter
        - `equals` string, date-time
        - `in` string[]
        - `notIn` string[]
        - `lt` string, date-time
        - `lte` string, date-time
        - `gt` string, date-time
        - `gte` string, date-time
        - `not` union
          - string, date-time
          - NestedDateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
      - string, date-time
    - `updatedAt` union
      - DateTimeFilter
        - `equals` string, date-time
        - `in` string[]
        - `notIn` string[]
        - `lt` string, date-time
        - `lte` string, date-time
        - `gt` string, date-time
        - `gte` string, date-time
        - `not` union
          - string, date-time
          - NestedDateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
      - string, date-time
    - `test` union
      - TestNullableRelationFilter
        - `is` TestWhereInput
          - `AND` union
            - TestWhereInput — recursive
            - TestWhereInput[]
          - `OR` TestWhereInput[]
          - `NOT` union
            - TestWhereInput — recursive
            - TestWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
            - StringFilter
              - …
            - string
          - `description` union
            - StringNullableFilter
              - …
            - string
          - `url` union
            - StringNullableFilter
              - …
            - string
          - `naturalLanguageInput` union
            - StringNullableFilter
              - …
            - string
          - `status` union
            - StringFilter
              - …
            - string
          - `isActive` union
            - BoolFilter
              - …
            - boolean
          - `projectId` union
            - StringFilter
              - …
            - string
          - `createdById` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `project` union
            - ProjectNullableRelationFilter
              - …
            - ProjectWhereInput
              - …
          - `createdBy` union
            - UserNullableRelationFilter
              - …
            - UserWhereInput
              - …
          - `testRuns` TestRunListRelationFilter
            - `every` TestRunWhereInput
              - …
            - `some` TestRunWhereInput
              - …
            - `none` TestRunWhereInput
              - …
          - `testShares` TestShareListRelationFilter
            - `every` TestShareWhereInput
              - …
            - `some` TestShareWhereInput
              - …
            - `none` TestShareWhereInput
              - …
        - `isNot` TestWhereInput
          - `AND` union
            - TestWhereInput — recursive
            - TestWhereInput[]
          - `OR` TestWhereInput[]
          - `NOT` union
            - TestWhereInput — recursive
            - TestWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
            - StringFilter
              - …
            - string
          - `description` union
            - StringNullableFilter
              - …
            - string
          - `url` union
            - StringNullableFilter
              - …
            - string
          - `naturalLanguageInput` union
            - StringNullableFilter
              - …
            - string
          - `status` union
            - StringFilter
              - …
            - string
          - `isActive` union
            - BoolFilter
              - …
            - boolean
          - `projectId` union
            - StringFilter
              - …
            - string
          - `createdById` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `project` union
            - ProjectNullableRelationFilter
              - …
            - ProjectWhereInput
              - …
          - `createdBy` union
            - UserNullableRelationFilter
              - …
            - UserWhereInput
              - …
          - `testRuns` TestRunListRelationFilter
            - `every` TestRunWhereInput
              - …
            - `some` TestRunWhereInput
              - …
            - `none` TestRunWhereInput
              - …
          - `testShares` TestShareListRelationFilter
            - `every` TestShareWhereInput
              - …
            - `some` TestShareWhereInput
              - …
            - `none` TestShareWhereInput
              - …
      - TestWhereInput
        - `AND` union
          - TestWhereInput — recursive
          - TestWhereInput[]
        - `OR` TestWhereInput[]
        - `NOT` union
          - TestWhereInput — recursive
          - TestWhereInput[]
        - `id` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `name` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `description` union
          - StringNullableFilter
            - `equals` string, nullable
            - `in` string[], nullable
            - `notIn` string[], nullable
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `url` union
          - StringNullableFilter
            - `equals` string, nullable
            - `in` string[], nullable
            - `notIn` string[], nullable
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `naturalLanguageInput` union
          - StringNullableFilter
            - `equals` string, nullable
            - `in` string[], nullable
            - `notIn` string[], nullable
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `status` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `isActive` union
          - BoolFilter
            - `equals` boolean
            - `not` union
              - …
          - boolean
        - `projectId` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `createdById` union
          - StringFilter
            - `equals` string
            - `in` string[]
            - `notIn` string[]
            - `lt` string
            - `lte` string
            - `gt` string
            - `gte` string
            - `contains` string
            - `startsWith` string
            - `endsWith` string
            - `mode` 'default' | 'insensitive'
            - `not` union
              - …
          - string
        - `createdAt` union
          - DateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
          - string, date-time
        - `updatedAt` union
          - DateTimeFilter
            - `equals` string, date-time
            - `in` string[]
            - `notIn` string[]
            - `lt` string, date-time
            - `lte` string, date-time
            - `gt` string, date-time
            - `gte` string, date-time
            - `not` union
              - …
          - string, date-time
        - `project` union
          - ProjectNullableRelationFilter
            - `is` ProjectWhereInput
              - …
            - `isNot` ProjectWhereInput
              - …
          - ProjectWhereInput
            - `AND` union
              - …
            - `OR` ProjectWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `description` union
              - …
            - `organizationId` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `cookies` JsonNullableFilter
              - …
            - `session` JsonNullableFilter
              - …
            - `localStorage` JsonNullableFilter
              - …
            - `organization` union
              - …
            - `tests` TestListRelationFilter
              - …
        - `createdBy` union
          - UserNullableRelationFilter
            - `is` UserWhereInput
              - …
            - `isNot` UserWhereInput
              - …
          - UserWhereInput
            - `AND` union
              - …
            - `OR` UserWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `email` union
              - …
            - `pictureUrl` union
              - …
            - `tokenInvitation` union
              - …
            - `stripeCustomerId` union
              - …
            - `status` union
              - …
            - `globalRole` union
              - …
            - `password` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `organizationRoles` OrganizationRoleListRelationFilter
              - …
            - `testsAsCreatedBy` TestListRelationFilter
              - …
            - `testRunsAsExecutedBy` TestRunListRelationFilter
              - …
            - `testShares` TestShareListRelationFilter
              - …
        - `testRuns` TestRunListRelationFilter
          - `every` TestRunWhereInput
            - `AND` union
              - …
            - `OR` TestRunWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `status` union
              - …
            - `errorLog` union
              - …
            - `reportUrl` union
              - …
            - `testId` union
              - …
            - `executedById` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `test` union
              - …
            - `executedBy` union
              - …
            - `testSteps` TestStepListRelationFilter
              - …
          - `some` TestRunWhereInput
            - `AND` union
              - …
            - `OR` TestRunWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `status` union
              - …
            - `errorLog` union
              - …
            - `reportUrl` union
              - …
            - `testId` union
              - …
            - `executedById` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `test` union
              - …
            - `executedBy` union
              - …
            - `testSteps` TestStepListRelationFilter
              - …
          - `none` TestRunWhereInput
            - `AND` union
              - …
            - `OR` TestRunWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `status` union
              - …
            - `errorLog` union
              - …
            - `reportUrl` union
              - …
            - `testId` union
              - …
            - `executedById` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `test` union
              - …
            - `executedBy` union
              - …
            - `testSteps` TestStepListRelationFilter
              - …
        - `testShares` TestShareListRelationFilter
          - `every` TestShareWhereInput
            - `AND` union
              - …
            - `OR` TestShareWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `permission` union
              - …
            - `testId` union
              - …
            - `userId` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `test` union
              - …
            - `user` union
              - …
          - `some` TestShareWhereInput
            - `AND` union
              - …
            - `OR` TestShareWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `permission` union
              - …
            - `testId` union
              - …
            - `userId` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `test` union
              - …
            - `user` union
              - …
          - `none` TestShareWhereInput
            - `AND` union
              - …
            - `OR` TestShareWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `permission` union
              - …
            - `testId` union
              - …
            - `userId` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `test` union
              - …
            - `user` union
              - …
    - `user` union
      - UserNullableRelationFilter
        - `is` UserWhereInput
          - `AND` union
            - UserWhereInput — recursive
            - UserWhereInput[]
          - `OR` UserWhereInput[]
          - `NOT` union
            - UserWhereInput — recursive
            - UserWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
            - StringNullableFilter
              - …
            - string
          - `email` union
            - StringNullableFilter
              - …
            - string
          - `pictureUrl` union
            - StringNullableFilter
              - …
            - string
          - `tokenInvitation` union
            - StringNullableFilter
              - …
            - string
          - `stripeCustomerId` union
            - StringNullableFilter
              - …
            - string
          - `status` union
            - EnumUserStatusFilter
              - …
            - 'INVITED' | 'VERIFIED'
          - `globalRole` union
            - StringFilter
              - …
            - string
          - `password` union
            - StringNullableFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `organizationRoles` OrganizationRoleListRelationFilter
            - `every` OrganizationRoleWhereInput
              - …
            - `some` OrganizationRoleWhereInput
              - …
            - `none` OrganizationRoleWhereInput
              - …
          - `testsAsCreatedBy` TestListRelationFilter
            - `every` TestWhereInput
              - …
            - `some` TestWhereInput
              - …
            - `none` TestWhereInput
              - …
          - `testRunsAsExecutedBy` TestRunListRelationFilter
            - `every` TestRunWhereInput
              - …
            - `some` TestRunWhereInput
              - …
            - `none` TestRunWhereInput
              - …
          - `testShares` TestShareListRelationFilter
            - `every` TestShareWhereInput
              - …
            - `some` TestShareWhereInput
              - …
            - `none` TestShareWhereInput
              - …
        - `isNot` UserWhereInput
          - `AND` union
            - UserWhereInput — recursive
            - UserWhereInput[]
          - `OR` UserWhereInput[]
          - `NOT` union
            - UserWhereInput — recursive
            - UserWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
- … truncated; see the full OpenAPI document linked below

## Response `200`

Successful operation

- object
  - `data` TestShare, required
    - `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
          - `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[]
          - `id` string, required
          - `status` string, required
          - `errorLog` string, nullable
          - `reportUrl` string, nullable
          - `testId` string, required
          - `test` Test — recursive
          - `executedById` string, required
          - `executedBy` User — recursive
          - `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
        - `testShares` TestShare[]
      - `testRuns` TestRun[]
        - `id` string, required
        - `status` string, required
        - `errorLog` string, nullable
        - `reportUrl` string, nullable
        - `testId` string, required
        - `test` Test — recursive
        - `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
              - …
          - `testsAsCreatedBy` Test[]
          - `testRunsAsExecutedBy` TestRun[]
          - `testShares` TestShare[]
        - `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
      - `testShares` TestShare[]
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
    - `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
          - `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[]
          - `id` string, required
          - `status` string, required
          - `errorLog` string, nullable
          - `reportUrl` string, nullable
          - `testId` string, required
          - `test` Test — recursive
          - `executedById` string, required
          - `executedBy` User — recursive
          - `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
        - `testShares` TestShare[]
        - `createdAt` string, date-time, required
        - `updatedAt` string, date-time, required
      - `testRunsAsExecutedBy` TestRun[]
        - `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
              - …
            - `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
        - `executedById` string, required
        - `executedBy` User — recursive
        - `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
      - `testShares` TestShare[]
    - `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)
