Fork a project
The org is orgId in the path. Creates a new project from this project's configuration and records this project as its source. The fork copies the spicepod the project deploys, its linked connections, project secrets, linked organization secrets, update channel, version range, replica and executor counts, storage size, description, and tags. It does not copy API keys (new ones are generated), deployments, the GitHub repository link, the instance size, or visibility (forks are private). The fork is not deployed: deploy it with POST /v1/projects/{projectId}/deployments. Requires apps:write. The server copies secret values without returning them, so no secrets scope is needed. A source connected to a GitHub repository is read from that repository, and its spicepod is copied only when it loads no other file from the repository; to deploy a fork from a fork of the repository, fork the project in the Spice portal.
Request
- Base URLhttps://api.spice.ai
- AuthHTTP bearer
Path parameters
The org id from GET /v1/orgs
The ID of the project to fork
Headers
When present, X-Org-Name must name the same org as orgId. Otherwise the request returns org_path_mismatch (400).
Request body
Response
Project forked. It has not been deployed yet.
Example response
{
"shared_state": [
{
"setting": "pg_replication_slot"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.