v1

latestOpenAPI 3.1.02026-08-0413468163.9 KB
v1-connectors

Validate Github Repo Endpoint

Validate if a GitHub repository exists and is accessible.

This endpoint proxies the GitHub API check to avoid CORS issues from the frontend. Validates repository format and checks accessibility via GitHub API.

Args: repo: Repository in format "username/repo" github_token: Optional GitHub personal access token for private repos

Returns: { "valid": bool, "status": "valid" | "private" | "invalid" | "error", "message": str }

post/v1/connectors/validate-github-repo

Request body

repostring required
github_tokenstring nullable

Response

Successful Response

validboolean required
status'valid' | 'private' | 'invalid' | 'error' required
messagestring required