Skip to main content
GET
Metadata for one repository

Authorizations

Authorization
string
header
required

OAuth 2.0 authorization code flow.

Path Parameters

repo_id
string
required

Repo id: placement ULID or public repo_

Response

OK

archived
boolean
required

Whether the repository is archived on GitHub; false until GitHub reports it.

auto_run_on_push
boolean
required

Whether runners start automatically on push.

capabilities
object
required

The caller's rights on the repository.

checkpoint_count
integer<int64>
required

Number of checkpoints recorded for the repository.

default_branch
string
required

Default branch name, such as main, without refs/heads/; main when unknown.

description
string | null
required

The repository description; null when none is known.

full_name
string
required

owner/repo; the repository ID when no name is known.

github_id
integer<int64>
required

GitHub's numeric repository ID; 0 when the repository has no current GitHub metadata.

html_url
string | null
required

The repository's GitHub URL; null when none is known.

id
string
required

The repository's ID: repo_ followed by a ULID.

Pattern: ^(repo_)?[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$
language
string | null
required

Primary language as GitHub reports it; null when unknown.

name
string | null
required

The repository name without its owner; null when no name is known.

open_pr_count
integer<int64>
required

Number of open pull requests for a GitHub repository, or open changes for a repository hosted on Entire; 0 when none.

owning_project_id
string
required

Owning project ULID

permission
string
required
deprecated

Deprecated: use capabilities. The caller's tier: read, write, or admin. admin means can_manage_settings and does not imply write.

private
boolean
required

Whether the repository is private.

public_sharing_enabled
boolean
required

Whether sessions on this repository can be shared by public link.

runners_enabled
boolean
required

Whether runners are enabled for the repository.

stargazers_count
integer<int64>
required

GitHub star count; 0 when unknown.

trails_enabled
boolean
required

Whether trails are enabled for the repository.

viewer_can_see_checkpoint_data
boolean
required

Whether the caller can read the repository's checkpoints and sessions. A caller who can manage settings but not read data sees false.

$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"/api/v1/schemas/RepoListItem.json"

activity
integer<int64>[] | null

Default-branch commits per week for the last 52 weeks, oldest first, weeks starting Monday UTC. Present only when include has activity.

is_provider_admin
boolean

Whether the caller is an admin of the repository on GitHub. For display only: it grants nothing here. Omitted for repositories not mirrored from GitHub and for anonymous callers.

repo_group_id
string
deprecated

Deprecated: use id. The ULID in id, without its repo_ prefix.

updated_at
string<date-time>

Time of the last push; when that is unknown, the time Entire last synced the repository.