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

# POST /api/user/upsert

`POST /api/user/upsert`

Upsert a User

## Request body

- UserUpsertArgs
  - `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
        - `select` OrganizationRoleSelect
          - `id` boolean
          - `name` boolean
          - `createdAt` boolean
          - `updatedAt` boolean
          - `userId` boolean
          - `user` union
            - boolean
            - UserArgs
              - …
          - `organizationId` boolean
          - `organization` union
            - boolean
            - OrganizationArgs
              - …
        - `include` OrganizationRoleInclude
          - `user` union
            - boolean
            - UserArgs
              - …
          - `organization` union
            - boolean
            - OrganizationArgs
              - …
        - `where` OrganizationRoleWhereInput
          - `AND` union
            - OrganizationRoleWhereInput — recursive
            - OrganizationRoleWhereInput[]
          - `OR` OrganizationRoleWhereInput[]
          - `NOT` union
            - OrganizationRoleWhereInput — recursive
            - OrganizationRoleWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `userId` union
            - StringFilter
              - …
            - string
          - `organizationId` union
            - StringFilter
              - …
            - string
          - `user` union
            - UserRelationFilter
              - …
            - UserWhereInput
              - …
          - `organization` union
            - OrganizationRelationFilter
              - …
            - OrganizationWhereInput
              - …
        - `meta` Meta — Meta information about the request or response
          - `serialization` unknown
    - `testsAsCreatedBy` union
      - boolean
      - TestFindManyArgs
        - `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
              - …
        - `where` 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
              - …
        - `meta` Meta — Meta information about the request or response
          - `serialization` unknown
    - `testRunsAsExecutedBy` union
      - boolean
      - TestRunFindManyArgs
        - `select` TestRunSelect
          - `id` boolean
          - `status` boolean
          - `errorLog` boolean
          - `reportUrl` boolean
          - `testId` boolean
          - `test` union
            - boolean
            - TestArgs
              - …
          - `executedById` boolean
          - `executedBy` union
            - boolean
            - UserArgs
              - …
          - `testSteps` union
            - boolean
            - TestStepFindManyArgs
              - …
          - `createdAt` boolean
          - `updatedAt` boolean
          - `_count` union
            - boolean
            - TestRunCountOutputTypeArgs
              - …
        - `include` TestRunInclude
          - `test` union
            - boolean
            - TestArgs
              - …
          - `executedBy` union
            - boolean
            - UserArgs
              - …
          - `testSteps` union
            - boolean
            - TestStepFindManyArgs
              - …
          - `_count` union
            - boolean
            - TestRunCountOutputTypeArgs
              - …
        - `where` TestRunWhereInput
          - `AND` union
            - TestRunWhereInput — recursive
            - TestRunWhereInput[]
          - `OR` TestRunWhereInput[]
          - `NOT` union
            - TestRunWhereInput — recursive
            - TestRunWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `status` union
            - StringFilter
              - …
            - string
          - `errorLog` union
            - StringNullableFilter
              - …
            - string
          - `reportUrl` union
            - StringNullableFilter
              - …
            - string
          - `testId` union
            - StringFilter
              - …
            - string
          - `executedById` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `test` union
            - TestNullableRelationFilter
              - …
            - TestWhereInput
              - …
          - `executedBy` union
            - UserNullableRelationFilter
              - …
            - UserWhereInput
              - …
          - `testSteps` TestStepListRelationFilter
            - `every` TestStepWhereInput
              - …
            - `some` TestStepWhereInput
              - …
            - `none` TestStepWhereInput
              - …
        - `meta` Meta — Meta information about the request or response
          - `serialization` unknown
    - `testShares` union
      - boolean
      - TestShareFindManyArgs
        - `select` TestShareSelect
          - `id` boolean
          - `permission` boolean
          - `testId` boolean
          - `test` union
            - boolean
            - TestArgs
              - …
          - `userId` boolean
          - `user` union
            - boolean
            - UserArgs
              - …
          - `createdAt` boolean
          - `updatedAt` boolean
        - `include` TestShareInclude
          - `test` union
            - boolean
            - TestArgs
              - …
          - `user` union
            - boolean
            - UserArgs
              - …
        - `where` TestShareWhereInput
          - `AND` union
            - TestShareWhereInput — recursive
            - TestShareWhereInput[]
          - `OR` TestShareWhereInput[]
          - `NOT` union
            - TestShareWhereInput — recursive
            - TestShareWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `permission` union
            - StringFilter
              - …
            - string
          - `testId` union
            - StringFilter
              - …
            - string
          - `userId` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `test` union
            - TestNullableRelationFilter
              - …
            - TestWhereInput
              - …
          - `user` union
            - UserNullableRelationFilter
              - …
            - UserWhereInput
              - …
        - `meta` Meta — Meta information about the request or response
          - `serialization` unknown
    - `_count` union
      - boolean
      - UserCountOutputTypeArgs
        - `select` UserCountOutputTypeSelect
          - `organizationRoles` boolean
          - `testsAsCreatedBy` boolean
          - `testRunsAsExecutedBy` boolean
          - `testShares` boolean
  - `include` UserInclude
    - `organizationRoles` union
      - boolean
      - OrganizationRoleFindManyArgs
        - `select` OrganizationRoleSelect
          - `id` boolean
          - `name` boolean
          - `createdAt` boolean
          - `updatedAt` boolean
          - `userId` boolean
          - `user` union
            - boolean
            - UserArgs
              - …
          - `organizationId` boolean
          - `organization` union
            - boolean
            - OrganizationArgs
              - …
        - `include` OrganizationRoleInclude
          - `user` union
            - boolean
            - UserArgs
              - …
          - `organization` union
            - boolean
            - OrganizationArgs
              - …
        - `where` OrganizationRoleWhereInput
          - `AND` union
            - OrganizationRoleWhereInput — recursive
            - OrganizationRoleWhereInput[]
          - `OR` OrganizationRoleWhereInput[]
          - `NOT` union
            - OrganizationRoleWhereInput — recursive
            - OrganizationRoleWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `userId` union
            - StringFilter
              - …
            - string
          - `organizationId` union
            - StringFilter
              - …
            - string
          - `user` union
            - UserRelationFilter
              - …
            - UserWhereInput
              - …
          - `organization` union
            - OrganizationRelationFilter
              - …
            - OrganizationWhereInput
              - …
        - `meta` Meta — Meta information about the request or response
          - `serialization` unknown
    - `testsAsCreatedBy` union
      - boolean
      - TestFindManyArgs
        - `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
              - …
        - `where` 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
              - …
        - `meta` Meta — Meta information about the request or response
          - `serialization` unknown
    - `testRunsAsExecutedBy` union
      - boolean
      - TestRunFindManyArgs
        - `select` TestRunSelect
          - `id` boolean
          - `status` boolean
          - `errorLog` boolean
          - `reportUrl` boolean
          - `testId` boolean
          - `test` union
            - boolean
            - TestArgs
              - …
          - `executedById` boolean
          - `executedBy` union
            - boolean
            - UserArgs
              - …
          - `testSteps` union
            - boolean
            - TestStepFindManyArgs
              - …
          - `createdAt` boolean
          - `updatedAt` boolean
          - `_count` union
            - boolean
            - TestRunCountOutputTypeArgs
              - …
        - `include` TestRunInclude
          - `test` union
            - boolean
            - TestArgs
              - …
          - `executedBy` union
            - boolean
            - UserArgs
              - …
          - `testSteps` union
            - boolean
            - TestStepFindManyArgs
              - …
          - `_count` union
            - boolean
            - TestRunCountOutputTypeArgs
              - …
        - `where` TestRunWhereInput
          - `AND` union
            - TestRunWhereInput — recursive
            - TestRunWhereInput[]
          - `OR` TestRunWhereInput[]
          - `NOT` union
            - TestRunWhereInput — recursive
            - TestRunWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `status` union
            - StringFilter
              - …
            - string
          - `errorLog` union
            - StringNullableFilter
              - …
            - string
          - `reportUrl` union
            - StringNullableFilter
              - …
            - string
          - `testId` union
            - StringFilter
              - …
            - string
          - `executedById` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `test` union
            - TestNullableRelationFilter
              - …
            - TestWhereInput
              - …
          - `executedBy` union
            - UserNullableRelationFilter
              - …
            - UserWhereInput
              - …
          - `testSteps` TestStepListRelationFilter
            - `every` TestStepWhereInput
              - …
            - `some` TestStepWhereInput
              - …
            - `none` TestStepWhereInput
              - …
        - `meta` Meta — Meta information about the request or response
          - `serialization` unknown
    - `testShares` union
      - boolean
      - TestShareFindManyArgs
        - `select` TestShareSelect
          - `id` boolean
          - `permission` boolean
          - `testId` boolean
          - `test` union
            - boolean
            - TestArgs
              - …
          - `userId` boolean
          - `user` union
            - boolean
            - UserArgs
              - …
          - `createdAt` boolean
          - `updatedAt` boolean
        - `include` TestShareInclude
          - `test` union
            - boolean
            - TestArgs
              - …
          - `user` union
            - boolean
            - UserArgs
              - …
        - `where` TestShareWhereInput
          - `AND` union
            - TestShareWhereInput — recursive
            - TestShareWhereInput[]
          - `OR` TestShareWhereInput[]
          - `NOT` union
            - TestShareWhereInput — recursive
            - TestShareWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `permission` union
            - StringFilter
              - …
            - string
          - `testId` union
            - StringFilter
              - …
            - string
          - `userId` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `test` union
            - TestNullableRelationFilter
              - …
            - TestWhereInput
              - …
          - `user` union
            - UserNullableRelationFilter
              - …
            - UserWhereInput
              - …
        - `meta` Meta — Meta information about the request or response
          - `serialization` unknown
    - `_count` union
      - boolean
      - UserCountOutputTypeArgs
        - `select` UserCountOutputTypeSelect
          - `organizationRoles` boolean
          - `testsAsCreatedBy` boolean
          - `testRunsAsExecutedBy` boolean
          - `testShares` boolean
  - `where` UserWhereUniqueInput, required
    - `id` string
    - `email` string
    - `AND` union
      - UserWhereInput
        - `AND` union
          - UserWhereInput — recursive
          - UserWhereInput[]
        - `OR` UserWhereInput[]
        - `NOT` union
          - UserWhereInput — recursive
          - UserWhereInput[]
        - `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
          - 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
        - `email` 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
        - `pictureUrl` 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
        - `tokenInvitation` 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
        - `stripeCustomerId` 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
          - EnumUserStatusFilter
            - `equals` 'INVITED' | 'VERIFIED'
            - `in` UserStatus[]
            - `notIn` UserStatus[]
            - `not` union
              - …
          - 'INVITED' | 'VERIFIED'
        - `globalRole` 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
        - `password` 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
        - `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
        - `organizationRoles` OrganizationRoleListRelationFilter
          - `every` OrganizationRoleWhereInput
            - `AND` union
              - …
            - `OR` OrganizationRoleWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `userId` union
              - …
            - `organizationId` union
              - …
            - `user` union
              - …
            - `organization` union
              - …
          - `some` OrganizationRoleWhereInput
            - `AND` union
              - …
            - `OR` OrganizationRoleWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `userId` union
              - …
            - `organizationId` union
              - …
            - `user` union
              - …
            - `organization` union
              - …
          - `none` OrganizationRoleWhereInput
            - `AND` union
              - …
            - `OR` OrganizationRoleWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `userId` union
              - …
            - `organizationId` union
              - …
            - `user` union
              - …
            - `organization` union
              - …
        - `testsAsCreatedBy` TestListRelationFilter
          - `every` 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
              - …
          - `some` 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
              - …
          - `none` 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
              - …
        - `testRunsAsExecutedBy` 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
              - …
      - UserWhereInput[]
        - `AND` union
          - UserWhereInput — recursive
          - UserWhereInput[]
        - `OR` UserWhereInput[]
        - `NOT` union
          - UserWhereInput — recursive
          - UserWhereInput[]
        - `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
          - 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
        - `email` 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
        - `pictureUrl` 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
        - `tokenInvitation` 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
        - `stripeCustomerId` 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
          - EnumUserStatusFilter
            - `equals` 'INVITED' | 'VERIFIED'
            - `in` UserStatus[]
            - `notIn` UserStatus[]
            - `not` union
              - …
          - 'INVITED' | 'VERIFIED'
        - `globalRole` 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
        - `password` 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
        - `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
        - `organizationRoles` OrganizationRoleListRelationFilter
          - `every` OrganizationRoleWhereInput
            - `AND` union
              - …
            - `OR` OrganizationRoleWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `userId` union
              - …
            - `organizationId` union
              - …
            - `user` union
              - …
            - `organization` union
              - …
          - `some` OrganizationRoleWhereInput
            - `AND` union
              - …
            - `OR` OrganizationRoleWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `userId` union
              - …
            - `organizationId` union
              - …
            - `user` union
              - …
            - `organization` union
              - …
          - `none` OrganizationRoleWhereInput
            - `AND` union
              - …
            - `OR` OrganizationRoleWhereInput[]
            - `NOT` union
              - …
            - `id` union
              - …
            - `name` union
              - …
            - `createdAt` union
              - …
            - `updatedAt` union
              - …
            - `userId` union
              - …
            - `organizationId` union
              - …
            - `user` union
              - …
            - `organization` union
              - …
        - `testsAsCreatedBy` TestListRelationFilter
          - `every` 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
              - …
          - `some` 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
              - …
          - `none` 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
              - …
        - `testRunsAsExecutedBy` 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
              - …
    - `OR` UserWhereInput[]
      - `AND` union
        - UserWhereInput — recursive
        - UserWhereInput[]
      - `OR` UserWhereInput[]
      - `NOT` union
        - UserWhereInput — recursive
        - UserWhereInput[]
      - `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
      - `name` 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
            - NestedStringNullableFilter
              - …
        - string
      - `email` 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
            - NestedStringNullableFilter
              - …
        - string
      - `pictureUrl` 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
            - NestedStringNullableFilter
              - …
        - string
      - `tokenInvitation` 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
            - NestedStringNullableFilter
              - …
        - string
      - `stripeCustomerId` 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
            - NestedStringNullableFilter
              - …
        - string
      - `status` union
        - EnumUserStatusFilter
          - `equals` 'INVITED' | 'VERIFIED'
          - `in` UserStatus[]
          - `notIn` UserStatus[]
          - `not` union
            - 'INVITED' | 'VERIFIED'
            - NestedEnumUserStatusFilter
              - …
        - 'INVITED' | 'VERIFIED'
      - `globalRole` 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
      - `password` 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
            - NestedStringNullableFilter
              - …
        - 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
      - `organizationRoles` OrganizationRoleListRelationFilter
        - `every` OrganizationRoleWhereInput
          - `AND` union
            - OrganizationRoleWhereInput — recursive
            - OrganizationRoleWhereInput[]
          - `OR` OrganizationRoleWhereInput[]
          - `NOT` union
            - OrganizationRoleWhereInput — recursive
            - OrganizationRoleWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `userId` union
            - StringFilter
              - …
            - string
          - `organizationId` union
            - StringFilter
              - …
            - string
          - `user` union
            - UserRelationFilter
              - …
            - UserWhereInput — recursive
          - `organization` union
            - OrganizationRelationFilter
              - …
            - OrganizationWhereInput
              - …
        - `some` OrganizationRoleWhereInput
          - `AND` union
            - OrganizationRoleWhereInput — recursive
            - OrganizationRoleWhereInput[]
          - `OR` OrganizationRoleWhereInput[]
          - `NOT` union
            - OrganizationRoleWhereInput — recursive
            - OrganizationRoleWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `userId` union
            - StringFilter
              - …
            - string
          - `organizationId` union
            - StringFilter
              - …
            - string
          - `user` union
            - UserRelationFilter
              - …
            - UserWhereInput — recursive
          - `organization` union
            - OrganizationRelationFilter
              - …
            - OrganizationWhereInput
              - …
        - `none` OrganizationRoleWhereInput
          - `AND` union
            - OrganizationRoleWhereInput — recursive
            - OrganizationRoleWhereInput[]
          - `OR` OrganizationRoleWhereInput[]
          - `NOT` union
            - OrganizationRoleWhereInput — recursive
            - OrganizationRoleWhereInput[]
          - `id` union
            - StringFilter
              - …
            - string
          - `name` union
            - StringFilter
              - …
            - string
          - `createdAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `updatedAt` union
            - DateTimeFilter
              - …
            - string, date-time
          - `userId` union
            - StringFilter
              - …
            - string
          - `organizationId` union
            - StringFilter
              - …
            - string
          - `user` union
            - UserRelationFilter
              - …
            - UserWhereInput — recursive
          - `organization` union
            - OrganizationRelationFilter
              - …
            - OrganizationWhereInput
              - …
      - `testsAsCreatedBy` TestListRelationFilter
        - `every` 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
- … truncated; see the full OpenAPI document linked below

## Response `200`

Successful operation

- object
  - `data` User, required
    - `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[]
            - `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 — recursive
            - `createdById` string, required
            - `createdBy` User — recursive
            - `testRuns` TestRun[]
              - …
            - `testShares` TestShare[]
              - …
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
          - `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[]
            - `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 — 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 — 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[]
        - `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[]
      - `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[]
              - …
            - `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
      - `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[]
      - `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[]
              - …
            - `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
      - `userId` string, required
      - `user` User — recursive
      - `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)
