Skip to main content

Prerequisites

  • A SuprLogs account (suprlogs.com) with at least one project and some published changelog data (use the dashboard to connect GitHub and publish).
  • An API key from Settings → API Keys (scoped to the projects you want to read).

Base URL and authentication

  • Base URL: https://api.suprlogs.com (local dev: http://localhost:4704).
  • Authentication (for GET /v1/projects): Authorization: Bearer <your-api-key> or X-API-KEY: <your-api-key>.

Step 1: Health check

GET /health confirms the API is running (no auth).
Example response (200):

Step 2: List published changelog entries (public)

GET /v1/changelog/{slug} returns published entries for a project — no auth needed.
The response includes project metadata, an entries array of ChangelogEntry objects (title, content, generated_json, version_label, etc.), and meta with pagination info.

Step 3: Get a single entry (public)

GET /v1/changelog/{slug}/entries/{id} returns one published entry by UUID.

Step 4: Fetch all projects with entries (authenticated)

GET /v1/projects returns every project the API key can access, each with up to entries_limit published entries (default 50, max 200), newest first.
Use the JSON to map projects[].slug to your routing and render projects[].changelog_entries in your own design.

Next steps

  • API Reference — Contract, auth notes, and how the spec is generated.
  • Dashboard — Repos, publishing, and API keys.