---
title: "Assign agent to project"
method: POST
path: "/api/projects/{id}/agents"
tags: ["Projects"]
---

# Assign agent to project

`POST /api/projects/{id}/agents`

## Path parameters

- `id` integer, required

## Request body

- object
  - `agent_name` string, required
  - `role` string

## Response `201`

Agent assigned

- object
  - `success` boolean

## Other responses

- `400` — Invalid request
- `401` — Authentication required
- `404` — Resource not found

## Changes

- **2026-03-21** `6f26b67f7a0a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/builderz-labs/apis/mission-control-api/changes/api/projects/:id/agents/post.md)

---

[API](https://skmtc.dev/builderz-labs/apis/mission-control-api.md) · [All operations](https://skmtc.dev/builderz-labs/apis/mission-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/builderz-labs/mission-control-api/revisions/b920835b2793/schema)
