#13172 Export structured AI eval run data
AI Eval run data can now be exported in a structured form from the AI Test Toolkit command-line page, with optional authorized Agent Task details. Agent Task gains public GetTaskLogEntryDetails overloads, and the old record-based GetLogEntryDetails public method is removed.
- 17files
- 8AL files
- 8objects
Pull request · merged into main (BC30) on 2026-11-03 by nikolakukrika · 17 files (+1009 -58), 8 AL · feature · tier official · reviewed (checked by Opus)
What changed
- The AI Eval command-line page streams results.json, the evaluation result files and then the Agent Task detail files, keeping the suite/version/dataset hierarchy
- New public Agent Task methods: GetTaskLogEntryDetails(AgentTaskID) returns the full task export and GetTaskLogEntryDetails(AgentTaskID, StepNumber) returns a single log entry
- The AI Test Toolkit now uses the public API, and its internalsVisibleTo grants and the unused stream/BLOB adapter are removed
- The old record-based GetLogEntryDetails public method is removed
- Multiline messages and call stacks are now read to the end of the stream, with separators only between lines
- Breaking: existing extensions can stop compiling or working.
AL objects touched
- Page 4362 “Agent Task Log Entry Instr”, AgentDesignExperience: modified
- Codeunit 4303 “Agent Task”, System Application: modified
- Codeunit 4308 “Agent Message Impl.”, System Application: modified
- Codeunit 4300 “Agent Task Impl.”, System Application: modified
- Page 4312 “Agent Task Log Entry”, System Application: modified
- Table 4300 “Agent JSON Buffer”, System Application: modified
- Codeunit 4314 “Agent Task Log Entry”, System Application: modified
- Codeunit 4313 “Agent Task Log Export”, System Application: modified
Context
- Work items: AB#624671
- Labels: AL: Apps (W1), AL: System Application, AL: Tools, Team: Integrations
- Systems: copilot
- From the description: “Export structured AI Eval run data for analysis and automation, with optional authorized Agent Task troubleshooting details.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Managing agent tasks programmatically (preview) — possibly related: touches Codeunit 4303 “Agent Task”
- Iterate and manage an agent (preview) — possibly related: Documents Agent Task Log for troubleshooting and managing agent decision-making and performance data. (model-linked)
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).