v1

latestOpenAPI 3.1.02026-08-0413468163.9 KB
v1-connectors

Validate Github Auth Endpoint

Validate GitHub authentication credentials.

For PAT auth, this verifies the token is valid and retrieves the authenticated user. For OAuth/GitHub App auth, this validates the app credentials.

Args: auth_type: "pat" or "oauth" access_token: GitHub Personal Access Token (for PAT auth) app_id, installation_id, private_key: GitHub App credentials (for OAuth)

Returns: { "valid": bool, "status": "valid" | "invalid" | "error", "message": str, "username": str | None # The authenticated user/app name }

post/v1/connectors/validate-github-auth

Request body

auth_type'pat' | 'oauth'
access_tokenstring nullable
app_idstring nullable
installation_idstring nullable
private_keystring nullable

Response

Successful Response

validboolean required
status'valid' | 'invalid' | 'error' required
messagestring required
usernamestring nullable required