Overview
The API is REST and returns JSON. It is versioned under /api/v1 and scoped to one project by its public slug. The slug is in your changelog URL: https://ollum.dev/c/your-slug.
https://ollum.dev/api/v1/{slug}Authentication
Send your API key as a Bearer token in the Authorization header on every request. Create keys under Settings, API. A key is shown only once, so store it somewhere safe.
Keys are named and come in two kinds. A read key (gl_) works on the read endpoints and /report. A write key (glw_) works on the write endpoints only. Neither kind works in place of the other, so a read key that leaks cannot change anything. Create one key per integration, up to ten per project: each shows when it was last used and can be revoked on its own. Keep write keys on your servers. Every request made with a write key is listed under Settings, API.
Header
Authorization: Bearer gl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxExample request
curl https://ollum.dev/api/v1/my-project/entries \
-H "Authorization: Bearer gl_xxxx..."Rate limiting
Limits apply per API key, over a sliding window.
| Endpoint | Limit |
|---|---|
| GET endpoints | 60 requests per minute |
| Write endpoints | 30 requests per minute |
POST /report | 10 requests per minute |
Over the limit, the API returns 429 Too Many Requests with these headers:
X-RateLimit-Limit- Max requests in the current window.
X-RateLimit-Remaining- Requests left in the window.
X-RateLimit-Reset- ISO 8601 time the window resets.
Retry-After- Seconds until you can retry.
Errors
Every error returns a JSON body with one error field.
{ "error": "Invalid API key" }| Status | Meaning |
|---|---|
401 | Missing or invalid API key. |
403 | Valid key, but the feature needs a higher plan. |
404 | Resource not found. |
409 | A request with the same Idempotency-Key is still running. |
413 | Request body larger than 256 KB. |
422 | The Idempotency-Key was already used with a different request. |
400 | Malformed request body or a missing required field. |
429 | Rate limit exceeded. |
500 / 503 | Server or upstream error. Safe to retry. |
GET /api/v1/{slug}
Returns basic project metadata. Use it to check a key works and to get the published entry count.
Request
curl https://ollum.dev/api/v1/my-project \
-H "Authorization: Bearer gl_xxxx..."Response, 200 OK
{
"data": {
"name": "My Project",
"slug": "my-project",
"entry_count": 42,
"created_at": "2025-01-12T09:00:00.000Z"
}
}GET /api/v1/{slug}/entries
Returns a paginated list of published changelog entries, newest first by default.
Query parameters
limitinteger- Entries to return. Min 1, max 100. Default 20.
offsetinteger- Entries to skip, for pagination. Default 0.
tagstring- Only return entries whose tags include this value.
orderstringascreturns oldest first. Defaultdesc, newest first.
Request
# Newest 20
curl "https://ollum.dev/api/v1/my-project/entries" \
-H "Authorization: Bearer gl_xxxx..."
# Filter by tag, oldest first
curl "https://ollum.dev/api/v1/my-project/entries?tag=feature&order=asc" \
-H "Authorization: Bearer gl_xxxx..."
# Page 2
curl "https://ollum.dev/api/v1/my-project/entries?limit=50&offset=50" \
-H "Authorization: Bearer gl_xxxx..."Response, 200 OK
{
"data": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "v2.1.0: Dark mode and faster load times",
"content": "## What's new\n\nWe shipped dark mode...",
"tags": ["feature", "performance"],
"version_label": "v2.1.0",
"published_at": "2025-05-20T14:30:00.000Z",
"source": "github",
"created_at": "2025-05-20T14:28:11.000Z"
}
],
"meta": {
"total": 42,
"limit": 20,
"offset": 0
}
}GET /api/v1/{slug}/entries/{id}
Returns one published entry by its UUID. Returns 404 if the entry doesn't exist, isn't published or belongs to another project.
Path parameters
slugstring · required- Your project's public slug, as in the changelog URL.
iduuid · required- UUID of the changelog entry.
Request
curl https://ollum.dev/api/v1/my-project/entries/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H "Authorization: Bearer gl_xxxx..."Response, 200 OK
{
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"title": "v2.1.0: Dark mode and faster load times",
"content": "## What's new\n\nWe shipped dark mode...",
"tags": ["feature", "performance"],
"version_label": "v2.1.0",
"published_at": "2025-05-20T14:30:00.000Z",
"source": "github",
"created_at": "2025-05-20T14:28:11.000Z"
}
}POST /api/v1/{slug}/report
Reports a degradation or outage from your infrastructure. ollum creates a draft incident on your status page, which you review and publish from the dashboard. Limited to 10 requests per minute; it's meant for monitor webhooks, not polling.
Request body, application/json
componentNamestring · required- Name of the affected component, as set on your status page. Max 256 characters.
errorstring · required- Plain description of the error. ollum uses it to draft the incident message. Max 8,192 characters.
severityenum- Impact level. One of
degraded(default),partial_outage,major_outage.
Request
curl -X POST https://ollum.dev/api/v1/my-project/report \
-H "Authorization: Bearer gl_xxxx..." \
-H "Content-Type: application/json" \
-d '{
"componentName": "API",
"error": "p99 latency exceeded 5 s for 3 consecutive minutes",
"severity": "degraded"
}'Response, 200 OK
{
"ok": true,
"status": "draft"
}status: "draft" means the incident was queued. It is processed in the background and creates a draft on your status page. It is not published automatically.
Missing an endpoint? Send us a note and tell us what you need.
Write endpoints
These endpoints need the write key. Requests take a JSON body of up to 256 KB and act as the project owner. Everything a dashboard action does also happens here: publishing an entry emails subscribers, and an incident appears on the status page.
| Endpoint | What it does |
|---|---|
POST /entries | Creates a draft from Markdown. Answers 201 with the entry id. |
POST /entries/{id}/publish | Publishes a draft or scheduled entry as it stands. |
POST /incidents | Opens an incident and publishes it. Pro plan. |
POST /incidents/{id}/updates | Posts an update. The status resolved closes the incident. Pro plan. |
GET /subscribers | Lists confirmed subscribers, 50 per page. |
POST /subscribers | Emails the address a confirmation link. Answers 202. |
DELETE /subscribers/{id} | Removes a subscriber. Answers 204. |
POST /entries
titlestring · required- 1 to 200 characters.
markdownstring · required- The entry body, up to 50,000 characters. Converted to sanitised HTML.
tagsstring[]- Up to 10 tags of 40 characters each.
versionstring- A version label such as v2.1.0.
publishboolean- true publishes straight away and notifies subscribers. Default false.
curl -X POST https://ollum.dev/api/v1/my-project/entries \
-H "Authorization: Bearer glw_xxxx..." \
-H "Content-Type: application/json" \
-d '{"title": "Dark mode", "markdown": "You can now switch themes.", "tags": ["feature"], "publish": true}'POST /incidents
titlestring · required- 1 to 200 characters.
bodystring- What is happening, up to 20,000 characters.
statusenuminvestigating(default),identifiedormonitoring.impactenumminor(default),majororcritical.component_idsuuid[]- UUIDs of the affected status components.
POST /incidents/{id}/updates
messagestring · required- 1 to 5,000 characters.
statusenum · requiredinvestigating,identified,monitoringorresolved.
POST /subscribers
emailstring · required- The address to invite.
frequencyenuminstant(default),dailyorweekly.topicenumchangelog(default) orstatus.
Nobody is subscribed through the API without their consent: the address receives a confirmation email and is added only once its owner confirms.
Idempotency
A network error can leave you unsure whether a write went through. Send an Idempotency-Key header with a unique value, such as a UUID, and retry with the same value: the work is done once, and every retry gets the first answer back with the header Idempotent-Replayed: true.
Idempotency-Key: 6f1c2f0a-0d1e-4c57-9a3b-2c9d1e7b5a10- Same key, same request
- The stored answer is returned. Nothing runs again.
- Same key, different request
- 422. A key belongs to one method, path and body.
- Same key, first request still running
- 409 with Retry-After. Retry shortly.
- First request ended in a 5xx
- The key is free again, so the retry runs.
Keys are kept for 24 hours and are scoped to your project. They work on every write endpoint and are optional.
MCP server
ollum runs a Model Context Protocol server, so an AI assistant such as Claude Code or Cursor can work with your project from your editor. It speaks Streamable HTTP at one URL and authenticates with the same API keys; the key decides the project.
https://ollum.dev/api/mcpclaude mcp add --transport http ollum https://ollum.dev/api/mcp --header "Authorization: Bearer glw_xxxx..."| Tool | Key | What it does |
|---|---|---|
list_entries | read | Latest published entries. |
get_status | read | Live status, 90-day uptime per component and open incidents. |
list_drafts | write | Unpublished drafts with their edit links. |
get_pending_commits | write | Commits and merged pull requests not yet in a draft. |
create_draft | write | Creates a draft from Markdown. Nothing is published. |
publish_entry | write | Publishes a draft and notifies subscribers. |
open_incident | write | Opens and publishes an incident. Pro plan. |
post_incident_update | write | Posts an update; resolved closes the incident. Pro plan. |
A read key only sees the read tools. The tools that publish or email subscribers say so in their description, so the assistant asks you first. Every tool call made with a write key is listed under Settings, API. The limit is 60 requests per minute per key.