Skip to main content
Clones the linked GitHub repository into the project’s workspace. This operation may take several minutes for large repositories.

Authentication

Requires a valid Bearer token. Requires an active GitHub connection and a linked repository.

Path Parameters

id
string
required
Project ID (UUID).

Response

Returns 200 OK when the import completes successfully.
This endpoint has a 5-minute timeout for large repositories.

Errors

StatusDescription
400Bad Request — no GitHub repository linked to this project
401Unauthorized — missing or invalid token
403Forbidden — no GitHub App installation connected
404Not Found — project does not exist or you do not have access
504Gateway Timeout — import took longer than 5 minutes