Skip to main content
Every Data API response is scoped to your grant. entity_scope narrows a read to one entity inside that grant, and can never widen it.

The entity_scope parameter

All forty-seven collections accept entity_scope. The contract doesn’t fix the format of its value. Today it is the ID that names one row or one customer on each collection:

How it’s checked

Your app key acts for one person, and reads what that person can see in Beacon today. Beacon checks that before it reads any row. A person who sees only their own or their team’s customers never receives the tables that describe the whole company: Months and quarters, Segments, Cohorts, Chart of accounts, Ledger entries, Products, Prices, Signal rules, People, Teams, Cash by month, Revenue by group, and every module table except Customer score history, Deal fit and Data problems. Each answers 403 with outside_grant and denied_at set to entity_scope. Deals, Customer score history, Deal fit and Data problems aren’t among them. A person who sees only their own or their team’s deals still reads Deals and Deal fit, and gets only those deals. On Customer score history and Data problems they get only their own or their team’s customers; a data problem about no single customer doesn’t reach them. Beacon never widens or reduces the scope you send without telling you. A refusal for scope carries denied_at, which names the part of your grant the read failed: role_authority, entity_scope or data_class. It doesn’t say what lies beyond your access, so what_would_make_it_available is absent. The other refusals are listed on the API reference. What a grant states is on Access and grants.

Example

A request whose scope is wider than the grant, and its response. Example data: the entity_scope value is a placeholder.

API reference

The forty-seven collections and their shared rules.

Paging

Read a collection page by page.

Access and grants

What a reader grant states.