---
title: "Retrieve company activity feed entries"
method: GET
path: "/companies/{company_id}/reports/activityFeed"
tags: ["Reporting"]
---

# Retrieve company activity feed entries

`GET /companies/{company_id}/reports/activityFeed`

## Request

- Base URL: `https://api.mabl.com`
- URL: `https://api.mabl.com/companies/{company_id}/reports/activityFeed`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Query the activity feed for a company. This feed covers company-owned entities such as Link agents and company api keys; activity on entities owned by the company's workspaces stays in the workspace activity feed.

## Path parameters

- `company_id` string, required

## Query parameters

- `action_type` string
- `entity_type` string
- `actor_id` string
- `actor_is_mabl_employee` boolean
- `start_time` integer
- `end_time` integer
- `limit` integer
- `cursor` string

## Response `200`

Array of activity feed entries

- ActivityFeed
  - `entries` ActivityFeedEntry[]: All activity logs that match the query
    - `id` string: Id of the activity log entry
    - `workspace_id` string: Workspace id associated with the action. Populated for workspace-owned entities; company-owned entities carry company_id instead.
    - `company_id` string: Company id associated with the action. Populated for company-owned entities (for example Link agents); workspace-owned entities carry workspace_id instead.
    - `entity_id` string: Id of the entity acted on
    - `entity_previous_id` string: Entity id of the entity acted on, prior to the action
    - `entity_invariant_id` string: Invariant id of the entity acted on, only populated for versioned entities
    - `entity_canonical_id` string: Canonical id of the entity acted on, consistent across object versions. Always populated.
    - `entity_name` string: Name of the entity immediately after being acted on
    - `entity_previous_name` string: Name of the entity immediately before the action
    - `entity_type` string: Type of the entity acted on
    - `actor_id` string: Id for the user or api key performing the action
    - `actor_is_mabler` boolean: Defines if this activity log entry was performed by a mabl employee.
    - `agent_type` 'test_authoring' | 'flow_authoring' | 'test_creation_planning' | 'test_planning' | 'agent_review' | 'app_summary' | 'test_run_analysis' | 'test_recovery' | 'runtime_recovery_summary_agent' | 'plan_run_analysis' | 'deployment_analysis' | 'workspace_results_analysis' | 'results_auto_analysis' | 'workspace_assistant' | 'app_modeling' | 'app_modeling_run' | 'file_assertion' | 'test_impact' | 'test_impact_shadow' | 'repair_notes' | 'external_agent' | 'exploratory_qa'
    - `agent_caller` 'mabl' | 'external': Who the agent acting for the actor was: mabl's own agent or an external agent connected to mabl, such as a coding agent over MCP. Null for actions not performed by an agent.
    - `agent_session_id` string: Id of the agent session that performed the action. Null for actions not performed by an agent.
    - `on_behalf_of` string: Id of the user or api key the agent acted on behalf of. Null for actions not performed by an agent.
    - `action_type` string: Action type taken on the entity. Can be create, update, delete, or recover.
    - `action_subtype` string: Subtype of the action taken on the entity
    - `action_timestamp` integer: Time the action occurred, in epoch milliseconds
    - `created_time` integer: Time the entity acted on was created, in epoch milliseconds
    - `entity_json` string: Json of the entity acted on
    - `entity_previous_json` string: Json of the entity immediately after being acted on
    - `entity_version_number` integer: Version of the entity acted on, only populated for versioned types
    - `entity_previous_version_number` integer: Version of the entity before the action, only populated for versioned types
    - `is_automator_event` boolean: Defines if this activity log entry meets the basic definition of an automator event
  - `cursor` string: Cursor used for pagination

## Other responses

- `400`: Invalid or missing parameter
- `401`: User not authenticated
- `403`: User not authorized
- `default`: Unexpected error

## Changes

- **2026-10-19** `b602223aa51f`: 4 info
  - added the optional property `guardrail/allOf[#/components/schemas/GuardrailRefusal]/approval` to the response with the `400` status
  - added the optional property `guardrail/allOf[#/components/schemas/GuardrailRefusal]/approval` to the response with the `401` status
  - added the optional property `guardrail/allOf[#/components/schemas/GuardrailRefusal]/approval` to the response with the `403` status
  - added the optional property `guardrail/allOf[#/components/schemas/GuardrailRefusal]/approval` to the response with the `default` status
- **2026-10-17** `91ff383fb7f9`: 1 warning, 1 info
  - added the new `external_agent` enum value to the `entries/items/agent_type` response property for the response status `200`
  - added the optional property `entries/items/agent_caller` to the response with the `200` status
- **2026-10-16** `ea5e6f26b08d`: 1 warning
  - added the new `exploratory_qa` enum value to the `entries/items/agent_type` response property for the response status `200`
- **2026-10-15** `4e32d22292af`: 8 info
  - added the optional property `error_code` to the response with the `400` status
  - added the optional property `error_code` to the response with the `401` status
  - added the optional property `error_code` to the response with the `403` status
  - added the optional property `error_code` to the response with the `default` status
  - …4 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/mabl/apis/mabl-api/changes/companies/:company_id/reports/activityFeed/get.md)

---

[API](https://skmtc.dev/mabl/apis/mabl-api.md) · [All operations](https://skmtc.dev/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mabl/apis/mabl-api/revisions/b602223aa51f?raw)
