GitLog AI

API Documentation

Programmatic access to GitLog AI.

Base URL
https://gitlog.ai/api/v1
Authentication

All requests require a GitHub Personal Access Token with repo scope.

Authorization: Bearer <GITHUB_ACCESS_TOKEN>

For BYOK (using your own LLM key), add:

X-API-Key: <OPENROUTER_API_KEY>
POST /generate
Generate a changelog from commits.

Request Body

{
  "repoFullName": "owner/repo",
  "fromRef": "v1.0.0",
  "toRef": "HEAD",
  "format": "keepachangelog"
}

Parameters

  • repoFullName (required): GitHub repository in "owner/repo" format.
  • fromRef (optional): Starting ref (tag, SHA). Default: "HEAD~50".
  • toRef (optional): Ending ref. Default: "HEAD".
  • format (optional): "keepachangelog" | "github_release" | "simple".

Response

{
  "success": true,
  "changelog": "# Changelog...",
  "commitCount": 25,
  "format": "keepachangelog"
}
Example (cURL)
curl -X POST https://gitlog.ai/api/v1/generate \
  -H "Authorization: Bearer ghp_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "repoFullName": "Kishoraditya/gitlog",
    "fromRef": "v0.1.0",
    "toRef": "HEAD",
    "format": "keepachangelog"
  }'