---
title: "Resolve whether a path belongs to a tracked repo"
method: GET
path: "/api/repos/resolve"
tags: ["repos"]
---

# Resolve whether a path belongs to a tracked repo

`GET /api/repos/resolve`

## Query parameters

- `path` string — Absolute path or path inside a repository
- `branch` string — Current branch for agent-hook snooze lookup

## Response `200`

OK

- ResolveRepoOutputBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `repo` ResolvedRepo
    - `agent_hook_snoozed_until` string, date-time
    - `identity` string, required
    - `name` string, required
    - `root_path` string, required
  - `tracked` boolean, required

## Other responses

- `default` — Error

## Changes

- **2026-08-03** `8a1522d135c4` — 2 info
  - added the new optional `query` request parameter `branch`
  - added the optional property `repo/agent_hook_snoozed_until` to the response with the `200` status

[Change history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/repos/resolve/get.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) · [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kenn-io/roborev/revisions/0dfdca81e88d/schema)
