Skip to content

GitHub

The workspace's GitHub connection.

The workspace’s GitHub connection.

See the OpenAPI document for schemas and operation IDs.

  • Protected operations require an API key in x-api-key or a browser session cookie; some actions require a verified user session
  • Tenant-scoped operations use X-Organization-Id; browser sessions can use their active workspace. Discovery and personal-workspace bootstrap do not require an active workspace
  • The base URL for your deployment, https://server.hlix.ai by default
Method Path Operation
GET /v1/api/github/reachable Check whether this workspace’s GitHub connection can reach a repository

Check whether this workspace’s GitHub connection can reach a repository

Section titled “Check whether this workspace’s GitHub connection can reach a repository”

GET /v1/api/github/reachable · operation ID checkGithubRepositoryReachable

Parameters

Name In Required Type Description
repository query yes string The repository as owner/name.
X-Organization-Id header no string The workspace (organization) to act in. Omitted, the session’s active organization is used.

Responses

Status Body Description
200 GithubReachability reachable is true when project create on this repository would succeed through this workspace’s GitHub connection, false when it is not connected or was not granted the repository. Nothing is created.
400 ApiError The request named no active organization.
401 ApiError No valid session or API key.
403 ApiError Workspace connectors are restricted to the agency.
404 ApiError The resource does not exist, or the caller is a task-scoped credential and this endpoint is outside its allowlist.
502 ApiError GitHub could not be checked. Try again.

The response table for each operation lists its documented errors. Common status codes include:

  • 400 — the body failed schema validation, or the request named no active organization. A ValidationError body carries the failing fields; an ApiError body carries only error.
  • 401 — no valid session or API key.
  • 403 — authenticated, but not a member of the named organization, or a client collaborator without the required access.
  • 404 — check the resource ID and your access to the selected Workspace.
  • 409 — the expected revision or state is stale, or another operation currently owns the transition.
  • 500 — the operation failed server-side. Retry only where an idempotency key makes that safe.