Creates a new workspace linked to a GitHub repository. Returns the workspace ID and a GitHub App install URL if the app is not yet installed on the repo.
Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth
Full GitHub repository URL (e.g. https://github.com/org/repo)
Default branch name, defaults to 'main' if omitted
Workspace created
Unique workspace identifier
Repository URL
Default branch for the workspace
GitHub App installation URL — direct user here if the app is not yet installed
Unique request identifier