---
title: "POST /v1/{+context}:addContextChildren"
method: POST
path: "/v1/{+context}:addContextChildren"
tags: ["projects"]
---

# POST /v1/{+context}:addContextChildren

`POST /v1/{+context}:addContextChildren`

Adds a set of Contexts as children to a parent Context. If any of the child Contexts have already been added to the parent Context, they are simply skipped. If this call would create a cycle or cause any Context to have more than 10 parents, the request will fail with an INVALID_ARGUMENT error.

## Path parameters

- `context` string, required

## Request body

- GoogleCloudAiplatformV1AddContextChildrenRequest — Request message for MetadataService.AddContextChildren.
  - `childContexts` string[] — The resource names of the child Contexts.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/aiplatform.md) · [All operations](https://skmtc.net/google/apis/aiplatform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/aiplatform/versions/b608d71b91f0/schema)
