---
id: change/bcapps/10670
type: change
title: "#10670 Add Agent Task Log JSON export"
summary: Agent Task Log now supports JSON export of selected rows with detailed context including task information, messages, actions, and page snapshots, with access control based on agent-management permissions.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - page agent task list
  - page agent task log entry
  - page agent task log entry list
  - codeunit agent task log entry
  - codeunit agent task log export
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:05:46.824Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: d1221382a9e7e9f059bb1f88c8a8c9ed78014410
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10670
    title: "microsoft/BCApps#10670: Add Agent Task Log JSON export"
    date: "2026-09-11"
    commit: d1221382a9e7e9f059bb1f88c8a8c9ed78014410
    t: null
    quote: add a selected-row JSON export action to the Agent Task Log list
links:
  learn: []
  objects:
    - object/page/4300
    - object/page/4312
    - object/page/4303
    - object/codeunit/4314
    - object/codeunit/4313
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10670
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10670
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-11T06:47:44Z"
author: nikolakukrika
author_type: User
community_contribution: false
labels:
  - "AL: System Application"
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 6
  additions: 1038
  deletions: 66
  al: 5
apps:
  - System Application
objects_touched:
  - key: page/4300
    page: page/4300
    type: page
    id: 4300
    name: Agent Task List
    app: System Application
    status: modified
  - key: page/4312
    page: page/4312
    type: page
    id: 4312
    name: Agent Task Log Entry
    app: System Application
    status: modified
  - key: page/4303
    page: page/4303
    type: page
    id: 4303
    name: Agent Task Log Entry List
    app: System Application
    status: modified
  - key: codeunit/4314
    page: codeunit/4314
    type: codeunit
    id: 4314
    name: Agent Task Log Entry
    app: System Application
    status: modified
  - key: codeunit/4313
    page: codeunit/4313
    type: codeunit
    id: 4313
    name: Agent Task Log Export
    app: System Application
    status: added
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 624671
systems:
  - copilot
quote: add a selected-row JSON export action to the Agent Task Log list
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10670 Add Agent Task Log JSON export

> Agent Task Log now supports JSON export of selected rows with detailed context including task information, messages, actions, and page snapshots, with access control based on agent-management permissions.

[Pull request](https://github.com/microsoft/BCApps/pull/10670) · merged into `main` (BC30) on 2026-09-11 by nikolakukrika · 6 files (+1038 -66), 5 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Added JSON export action to Agent Task Log list for selected rows
- Export includes task details, messages, related actions, page context, tools, and memorized data
- Enforces agent-management access control and redacts snapshots without Troubleshoot All Agents permission
- Refactored calculation helpers to share logic between detail page and export functionality
- Added focused JSON and context tests for export behavior
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 4300 "Agent Task List"](../../objects/page/4300.md), System Application: modified
- [Page 4312 "Agent Task Log Entry"](../../objects/page/4312.md), System Application: modified
- [Page 4303 "Agent Task Log Entry List"](../../objects/page/4303.md), System Application: modified
- [Codeunit 4314 "Agent Task Log Entry"](../../objects/codeunit/4314.md), System Application: modified
- [Codeunit 4313 "Agent Task Log Export"](../../objects/codeunit/4313.md), System Application: added

## Context

- Work items: AB#624671
- Labels: AL: System Application, Team: Integrations
- Systems: copilot
- From the description: "add a selected-row JSON export action to the Agent Task Log list"

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
