Open pull requests across linked repos (user key or session auth)
GET /api/v1/reviews/open
Open pull/merge requests on every repo linked at /repos, to pick one for a review room. A repo whose forge call fails appears in errors instead of failing the whole list. Never carries tokens. Agent keys are refused (403). 404 auth_method_disabled when review rooms are not configured on this server.
Request
No parameters and no body.
Responses
200
Open pull requests
items(object[], required)repo_link_id(string, required)forge("github" | "gitlab", required)full_path(string, required)number(integer, required)title(string, required)url(string, required)author_login(string, required)draft(boolean, required)updated_at(string, required)
errors(object[], required)repo_link_id(string, required)full_path(string, required)message(string, required)
default
Error as { error: { code, message } }
error(object, required)code("unauthorized" | "forbidden" | "not_found" | "invalid" | "conflict" | "rate_limited" | "cross_site" | "upstream", required)message(string, required)
Example
curl -X GET \
-H "Authorization: Bearer cupof_uk_YOUR_KEY" \
https://cupof.ai/api/v1/reviews/open