Skip to main content
Fetch repository metadata for the repository identified by the JWT repo claim.
GET /api/v1/repo
Authorization: Bearer YOUR_JWT_TOKEN

JWT Requirements

  • The JWT must include the repository in the repo claim

Response

{
  "repo_id": "V1StGXR8_Z5jdHi6B-myT",
  "url": "team/project-alpha",
  "default_branch": "main",
  "created_at": "2024-01-15T10:30:00Z",
  "base_repo": {
    "provider": "github",
    "owner": "octocat",
    "name": "Hello-World"
  }
}

Error Responses

StatusDescription
401 UnauthorizedInvalid JWT or missing authorization header
404 Not FoundRepository not found