---
title: "Add Agent To Project"
method: POST
path: "/v1/workspaces/{workspace}/projects/{project_id}/agents"
tags: ["v1", "protected", "projects"]
---

# Add Agent To Project

`POST /v1/workspaces/{workspace}/projects/{project_id}/agents`

Add an agent to a project.

## Path parameters

- `project_id` string, uuid, required
- `workspace` string, required — Slug of the workspace the request acts in

## Request body

- AssociationBody
  - `id` string, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `d3ad8e1a3681` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/workspaces/:workspace/projects/:project_id/agents/post.md)

---

[API](https://skmtc.dev/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.dev/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentarea/apis/agentarea-api/revisions/286327d8bd86?raw)
