Syncs changes from one Policy Stream.
Returns the objects that changed since your cursor, in the order the changes were written. Each object appears once, with its current state and the kind of its latest change. changed_at is when the object changed, not the sort order: an object written later can have an earlier changed_at, so rely on the cursor rather than on timestamps.
Save next_cursor after every call and send it back as cursor next time. While has_more is true, call again right away. A good loop is: when a POLICY_STREAM_UPDATES webhook arrives (or on your own schedule), sync from your saved cursor until has_more is false, then store the last next_cursor.
A saved cursor never skips a change: an object only appears once every write that started before it has finished. Within one portal read, notices go out in the order they took effect, and when a new notice arrives for a policy, its latest policy term is sent again right after it, so the term's state, not an older notice, is the latest word on the policy.
Use GET /teams/{teamId}/policystream/objects/{objectId} for the full pull behind an object.
Requires Policy Stream to be enabled for your team. API keys restricted to specific widgets are rejected, since agent portal logins belong to the whole team. A sandbox API key only sees sandbox streams, and a production key only production streams.

