1. apps/api/auth/verifyRepo.ts
explanations[0]: RECENT_EDIT · ownership check and readiness gate
Start on repokit.co/api for the product overview. Use the raw API base URL only for actual HTTP + JSON requests.
Page intent
Use this page as the human-facing API overview, then use the base URL below when you send real requests from a client or workflow.
Request
{
"repository_id": "<repository_id>",
"query": "add repo verification before API access",
"top_k": 3
}files
path · score · confidence · explanations1. apps/api/auth/verifyRepo.ts
explanations[0]: RECENT_EDIT · ownership check and readiness gate
2. lib/github/claim-repository.ts
explanations[0]: PATH_MATCH · claim and verification handshake
Metadata
request_id
feda8a88...
repository_id
gh-1189094555
model_version
lightgbm-lambdamart-v1
candidate_universe_size
156
latency_ms
42
runtime
active runtime object
Base URL
https://api.repokit.co
Primary endpoint
https://api.repokit.co/find_relevant_files
Feedback endpoint
https://api.repokit.co/find_relevant_files/feedback
Repokit provides repository-aware retrieval inside one repository.
This page is the human-facing API product page. The raw hostnames below are for technical request targets, not for marketing navigation.
curl -sS \
-H "Authorization: Bearer <your_token>" \
-H "Content-Type: application/json" \
https://api.repokit.co/find_relevant_files \
-d '{
"repository_id": "<repository_id>",
"query": "fix request validation error in routing",
"active_files": ["app/routing.py"],
"recent_files": ["tests/test_routing.py"],
"failing_tests": ["tests/test_routing.py"],
"top_k": 5
}'