---
title: "Assign child agents."
method: POST
path: "/api/v1/projects/{projectId}/children"
tags: ["Multi-Agent"]
---

# Assign child agents.

`POST /api/v1/projects/{projectId}/children`

## Request

- Base URL: `https://app.customgpt.ai`
- URL: `https://app.customgpt.ai/api/v1/projects/{projectId}/children`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/poll-the-people/apis/customgpt-ai/docs/api/v1/projects/:projectId/children/post.ts> (a function with typed inputs; its response is checked against the schema)

Assigns one or more agents as children of this Multi-Agent. Enforces plan limits, team ownership, and prevents assigning Multi-Agent projects as children.

## Path parameters

- `projectId` integer, required

## Request body

- object
  - `projectIds` integer[]: IDs of the child agents to assign. Must belong to the same team, must not already be assigned, and must not be Multi-Agent projects themselves.

## Response `204`

The operation completed successfully. No content is returned.

## Other responses

- `401`: API Token is either missing or invalid
- `403`: Multi-Agent is not available on your current plan, or this project is not a Multi-Agent.
- `404`: Agent not found
- `422`: Bad Argument
- `429`: Too many requests. You have exceeded your API rate limit.
- `500`: Internal Server Error

## Changes

- **2026-11-03** `77aab4354382`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/poll-the-people/apis/customgpt-ai/changes/api/v1/projects/:projectId/children/post.md)

---

[API](https://skmtc.dev/poll-the-people/apis/customgpt-ai.md) - [All operations](https://skmtc.dev/poll-the-people/apis/customgpt-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/poll-the-people/apis/customgpt-ai/revisions/77aab4354382?raw)
