Read the exact current historical comparison policy
Default off; only a dedicated commerceConnectedTransport credential is admitted. Enabled automatic onboarding additionally requires accountSourceAuthority:true with orgIds omitted. This is not a generic wildcard org key. Each handler independently verifies fresh Accounts signed authority, exact resource/source/plan/tenant/revision and the synced projection before disclosing any result. Generic fixed-orgIds service keys keep their existing permissions. Requires the transient source proof header, at least one approved Walmart or Adobe source and an explicit nonzero or null history allowance. Reads the selected exact version; never chooses a default or writes policy.
Authorization
CommerceConnectedTransport Dedicated service credential registered only for connected policy, comparison and human evidence transport. Requires a separate current signed source proof per call; never use a customer OAuth, refresh or product-session credential.
In: header
Query Parameters
uuid1 <= length <= 100Header Parameters
Must equal the body/query organization and the independently verified Accounts source UUID.
uuidResponse Body
application/json
curl -X GET "https://example.com/v1/internal/commerce/connected/history/policy?org_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&policy_version=string" \ -H "x-org-id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "x-commerce-source-authority: string"{ "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "policy": { "bundle_id": "fc6f5a67-caa1-4339-9c14-a67826143b60", "version": "string", "policy_digest": "string", "floor_percent": 0, "max_concurrent_discounts": 0, "price_tolerance_percent": 0, "price_reference": { "kind": "recorded_order_original_price", "max_markdown_percent": 0 }, "comparison": "observed_historical_commerce_checks", "full_policy_evaluated": false }}Default off, worker only: provision a queued TCP route POST
Internal worker only; excluded from public SDK methods. Default off. Identifier-only job, no target or organization selected by the caller. Use the organization's reserved domain and probe only its fixed HTTPS /_agentsafe/tcp/capabilities endpoint. Require transport:agentsafe-tcp-relay/1 and ready:true. Redirects and unexpected responses fail closed. This does not require or activate an HTTPS upstream. Strict empty JSON, at most 1024 bytes.
Compare bounded observed Walmart or Adobe history POST
Default off; only a dedicated commerceConnectedTransport credential is admitted. Enabled automatic onboarding additionally requires accountSourceAuthority:true with orgIds omitted. This is not a generic wildcard org key. Each handler independently verifies fresh Accounts signed authority, exact resource/source/plan/tenant/revision and the synced projection before disclosing any result. Generic fixed-orgIds service keys keep their existing permissions. Requires the transient source proof header and its exact supported marketplace source. Pure comparison of at most 100 documents over the previous 90 complete UTC dates against the exact policy digest. Evaluates only supported historical undercost, margin, discount stacking and price discrepancy facts; missing evidence is not_assessed. The report is unsigned, performs no full policy replay or external action, and is not a 90-day trial. Commerce owns source reads, report reservations and immutable persistence.

