---
title: "GET /api/agent/findMany"
method: GET
path: "/api/agent/findMany"
tags: ["agent"]
---

# GET /api/agent/findMany

`GET /api/agent/findMany`

Find a list of Agent

## Response `200`

Successful operation

- object
  - `data` Agent[], required — The Prisma response data serialized with superjson
    - `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
      - `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
          - `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[]
          - `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
              - …
            - `createdById` string, required
            - `createdBy` User — recursive
            - `testRuns` TestRun[]
              - …
            - `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
              - …
            - `executedById` string, required
            - `executedBy` User — recursive
            - `testSteps` TestStep[]
              - …
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
          - `testShares` TestShare[]
            - `id` string, required
            - `permission` string, required
            - `testId` string, required
            - `test` Test
              - …
            - `userId` string, required
            - `user` User — recursive
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
        - `organizationId` string, required
        - `organization` Organization, required — recursive
      - `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
            - `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[]
              - …
            - `testsAsCreatedBy` Test[]
            - `testRunsAsExecutedBy` TestRun[]
              - …
            - `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
              - …
            - `testSteps` TestStep[]
              - …
            - `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
              - …
            - `createdAt` string, date-time, required
            - `updatedAt` string, date-time, required
          - `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[]
      - `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
    - `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)
