Repository and code collaboration API for reading repos, issues, pull requests, and commits.
Repository and code collaboration API for reading repos, issues, pull requests, and commits. Use when a workflow needs to gather development context, check PR status, or read code. Requires a personal access token — most endpoints use the authenticated user’s permissions.7 example endpoints available through Lava’s AI Gateway. See the GitHub API docs for full documentation.
This provider requires your own credentials — connect your API key or OAuth account before use.
This is a catch-all provider — any valid URL under https://api.github.com is supported. Any GitHub REST API endpoint. Construct URL as https://api.github.com/{path}. See https://docs.github.com/en/rest for full reference. The endpoints below are curated examples.
const data = await lava.gateway('https://api.github.com/repos/{owner}/{repo}/issues', { body: {"title":"Bug report","body":"Description of the issue"} });
curl -X POST "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.github.com%2Frepos%2F%7Bowner%7D%2F%7Brepo%7D%2Fissues" \ -H "Authorization: Bearer $LAVA_SECRET_KEY" \ -H "Content-Type: application/json" \ -d '{"title":"Bug report","body":"Description of the issue"}'