Skip to content

Get Scope

GET
/agency/client-services/scope

The client orgs this staff member may reach. A CSM: those assigned to them. Ops: every linked client.

The person and tier come from the signed staff headers, never from the query string. Re-derived on every call from the live agency link and the assignment tables, so a revoked assignment stops working at once. The MCP server calls this to offer client orgs in g8_list_orgs / g8_switch_org.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string
X-G8-Staff-Email
Any of:
string
X-G8-Staff-Tier
Any of:
string

Responses

200

Successful Response

object
data
required
object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string