---
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

---

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