Duplicate a project
POST/apis/cra.diagrid.io/v1beta1/projects/:ProjectId/duplicate
Create a new project configured like an existing one, optionally in a different region, and copy that project's resources into it.
The copy carries the source project's configuration — its managed services, agent infrastructure, app tunnel policy, global App ID settings and labels — and then its contents: App IDs, components and their credentials, subscriptions, resiliency policies, HTTP endpoints, MCP servers and their access policies, agents and notification routing. Anything the platform generates rather than something you configured is not copied, because the new project generates its own: API tokens, join tokens, live app tunnels, and the resources a copied agent or MCP server provisions for itself.
The new project exists when this returns and its resources do not. Follow the copy with the duplication read below; it is named after the new project.
Every rule that applies when you create a project applies here, so the name must be free in your organization, your project limit must allow another one, and the region it is placed in must support what the source project has enabled. A resource that cannot be reproduced fails the whole duplicate and the new project is deleted, so you are never left with half a copy.
Request
Responses
- 202
- 400
- 403
- 404
- 409
- default
Accepted. The new project exists; its resources are being copied.
The request, or the source project's configuration in the target region, is not valid.
You are not authorized to perform this action.
The source project was not found.
A project with the requested name already exists.
Unexpected error.