Activity

List the workspace activity feed, newest first

Changed on

Bearer atc:read (or cookie session). The whole workspace shared feed, which is why it takes the read scope while a personal notification inbox does not (mirrors GET /api/v1/tests/{id}/runs). bunkai_list_activity is SECURITY INVOKER — it runs under the caller's own RLS, so a non-member workspace_id silently returns an empty page rather than leaking existence. Read-only, MVP-allowlisted event set only (8 of 12 write-site actions); no realtime, no defect activity. Pagination is KEYSET on (created_at desc, id desc). An empty items is always a valid 200 — this endpoint never answers 404.

get/api/v1/activity

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/v1/activity
  • Auth: one of:
    • API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
    • HTTP bearer

Query parameters

workspace_idstring uuid

Cookie sessions: optional, falls back to the active-workspace cookie. Bearer/PAT callers: REQUIRED — omitting it is a 422 (known gap, tracked as BK-182).

limitinteger

Page size, 1..50 (default 30). Out of range is rejected (422); the RPC additionally clamps for direct callers.

cursorstring

Opaque page token taken verbatim from the previous response's next_cursor. A malformed token returns 400 — it never silently falls back to the first page.

Response

One page of the activity feed (possibly empty).

next_cursorstring nullable required

Opaque token for the next (older) page, or null when this is the last page. base64url — echo it back verbatim as ?cursor=; never construct or parse one.

Changes

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status