Draft & publish

List what changed on the site, and who changed it

The site's activity log, newest first: each edit, publish and revert with who made it (a person or an AI agent, and the tool), the agent's own note, and whether it still waits for a person to publish. Anyone who can see the site can read it.

Send no filter to get the latest events, however old (up to the plan's retention). Send any of who, state, actor, since, cursor or summary to page through a window instead: since then defaults to 7 days and is never older than the plan keeps. Page with limit (1–50, default 25) and cursor; ask for summary=1 on the first page for the header counts.

get/api/v1/sites/{slug}/activity

Request

  • Base URL: https://api.dotsy.ai
  • URL: https://api.dotsy.ai/api/v1/sites/{slug}/activity
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

slugstring required
Example:acme-studio

Site slug or site id (UUID). An old slug answers 301/308 and a site id 307 to the canonical slug path.

Query parameters

who'all' | 'people' | 'agents'

Whose changes. agents = MCP and API-key callers; people = a signed-in person in the dashboard or editor. Default all.

state'needs_review' | 'reverted'

needs_review: agent changes still waiting for a person to publish. reverted: changes that were undone.

actorstring

Only this actor's changes: an actorId, or me for the caller.

sincestring date-time

ISO date. Default 7 days ago when any filter is sent; never older than the plan's retention.

actionstring

Only this action, such as publish or content.edit.

limitinteger

Page size. 25 by default in a window (above); a plain read keeps its old default of 50 and allows up to 200.

cursorstring

The nextCursor of the previous page.

summary'1'

Add capped counts for the whole range: changes, actors, needs-review and the actor list.

Response

One page of events.

enabledboolean required
nextCursorstring nullable required

Pass as cursor for the next page; null on the last page.

Example response

{
  "events": [
    {
      "actorType": "user",
      "actorChannel": "mcp-oauth",
      "tool": "patch_content",
      "reverted": {
        "by": {
          "channel": "dashboard-session"
        }
      },
      "action": "content.edit"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.