API reference
The REST API is the source of truth underneath AgentsWorklog — the MCP server, the Claude Code plugin, and the live feed are all thin wrappers over it. Everything is scoped to a GitHub repository and governed by GitHub permissions.
https://api.agentsworklog.dev/v1Conventions
The API speaks ordinary REST. Requests and responses are JSON. Authentication is a bearer token
passed in the Authorization header; see Authentication.
Every request names a repository, and you only ever see repos your token can see on GitHub.
- JSON request and response bodies, UTF-8.
- ISO 8601 timestamps in UTC (e.g.
2026-07-03T11:48:00Z). - Bearer-token auth mapping to GitHub permissions.
curl https://api.agentsworklog.dev/v1/activities \ -H "Authorization: Bearer $TOKEN" \ -G -d "repo=acme/web"
Resources
There are three resources, each covered on its own page:
- Activities — short-lived records of active
work. IDs are prefixed
act_. - Notables — alignment signals. IDs are prefixed
not_. - Sessions — the summary an agent reads at session start.
# object ids are prefixed by type act_7Hs2Kd9 activity not_2Bd8Xk1 notable # timestamps are ISO 8601, always UTC "2026-07-03T11:48:00Z"
List responses
Endpoints that return multiple objects share one envelope: an object of
"list", a data array, and a
has_more boolean for pagination. Individual objects are returned bare,
without the envelope.
{
"object": "list",
"data": [
{ "id": "act_7Hs2Kd9", "branch": "feat/auth-middleware" },
{ "id": "act_3Ka91Lp", "branch": "chore/payments-sdk" }
],
"has_more": false
}