---
title: "POST /agents/listForProject/{projectId}"
method: POST
path: "/agents/listForProject/{projectId}"
tags: ["agents"]
---

# POST /agents/listForProject/{projectId}

`POST /agents/listForProject/{projectId}`

## Path parameters

- `projectId` string, required

## Response `201`

- ListAgentsResponseDto
  - `items` ListAgentItem[], required
    - `id` string, required
    - `name` string, required
    - `projectId` string, required
    - `creatorId` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `total` number, required

## Other responses

- `401` — You are not authorized to access this resource

## Changes

- **2023-09-23** `a3a86f6676bc` — 1 info
  - endpoint added
- **2023-09-20** `6610666a572e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api/changes/agents/listForProject/:projectId/post.md)

---

[API](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api.md) · [All operations](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agentlabs-dev/agentlabs-api/revisions/5cafb4936550/schema)
