---
title: "GET /api/v1/github/repository_lookup"
method: GET
path: "/api/v1/github/repository_lookup"
tags: ["github"]
---

# GET /api/v1/github/repository_lookup

`GET /api/v1/github/repository_lookup`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/github/repository_lookup`
- Auth: HTTP bearer

## Query parameters

- `owner` string, required
- `name` string, required

## Response `200`

The physical Composal repository this GitHub remote resolves to

- object
  - `organization_slug` string, required
  - `repository_slug` string, required
  - `github_full_name` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: No organization the caller belongs to has imported this remote
- `409`: More than one reachable repository syncs this remote
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
