Skip to main content

get_plan_audit_logs

Experimental. Campaign governance (sync_plans, check_governance, report_plan_outcome, get_plan_audit_logs) is part of AdCP 3.0 as an experimental surface — it may change between 3.x releases with at least 6 weeks’ notice. Sellers implementing it MUST declare governance.campaign in experimental_features. See experimental status for the full contract.
Retrieve governance state and audit trail for a plan, multiple plans, or an entire portfolio. Returns budget tracking, validation history, and compliance summary.

Request

Results are grouped by governance_context within each plan. Each governed action (media buy, rights license, signal activation, creative service) appears under its governance_context. Multiple plans — retrieve specific plans in one call:
Portfolio query — retrieve combined audit data for all member plans in one or more portfolios:
You can combine plan_ids and portfolio_plan_ids to query both specific plans and portfolios in a single call.

Response

Fields

Request

Response

Authorization

The request schema does not carry an envelope account field — tenant identity is resolved from the submitted IDs. The governance agent MUST verify that the authenticated principal is authorized for every plan_ids member, every plan expanded from portfolio_plan_ids, and every governed action addressed by governance_contexts. When any element fails the authorization check the governance agent MUST fail closed with a generic PLAN_NOT_FOUND response — the error body MUST NOT distinguish “unauthorized” from “not found” or name the offending ID. See Agent and Account Isolation for the pattern and existence-leak guardrails.

Error codes