Get Source Access Policy
Returns the effective source access policy for a user or organization. The policy has two facets:
-
allowlist— which sources may be called at all.modeisrestricted(only the listedsourcesare callable) orunrestricted(no gate). For user-scope queries the allowlist cascades:User.allowed_sourceswins if set, otherwiseOrganization.allowed_sourcesapplies;sourcetells you which level the allowlist came from. -
sources— per-source quota state. Only sources with at least one cap appear here. For user-scope queries, caps stack: when both user and org cap a source, the lower cap wins per window. Windows are calendar-aligned in UTC:dailysince 00:00 UTC today;monthlysince 00:00 UTC on the 1st of the current month.
To decide if N locations of source X may be called: (1) if allowlist.mode == 'restricted' and X not in allowlist.sources, denied; (2) if sources[X].remaining[window] < N for any window, denied; otherwise allowed.
Documentation Index
Fetch the complete documentation index at: https://docs.pingintel.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Token-based authentication with required prefix "Token"
Query Parameters
Filter by organization short name (e.g. 'AMWNS'). Staff only. Mutually exclusive with username.
Filter by this username. Defaults to the requesting user. Staff only when querying another user.