Reference profiles leg — child list (sandbox)
SANDBOX-ONLY. Returns a BARE JSON ARRAY of the seeded sandbox child profiles (Mia/Leo/Ava) for a valid Authorization: Bearer sbxtok_… token. Gated on the Restricted band. Source: internal/ocsshttp/handler_sandbox_oauth.go Profiles().
/api/v1), gated on
PHOSRA_ENV==sandbox — 404 elsewhere.Authorization: Bearer sbxtok_… token from
POST /oauth/token. The response is not wrapped in
an object — it is the array itself.
Worked example
Fully runnable — supply a token from the token leg:200 response (captured from the hosted sandbox):
sbxtok_ bearer token returns 401 invalid_token. The subject_ref is the
stable child id that downstream policy and enforcement legs key on.Authorizations
SANDBOX-ONLY opaque bearer ("sbxtok_…") issued by POST /oauth/token, presented to GET /oauth/profiles. Not a production credential — the sandbox reference OAuth surface is stateless and gated on PHOSRA_ENV==sandbox.
Response
Bare array of child profiles (NOT wrapped in an object).
Unique identifier for this resource.
"mia"
Human-readable child display name shown on the consent page.
"Mia"
Stable child id downstream policy/enforcement legs key on.
"a11ce0fa-0000-4000-8000-0000000000a1"
Profile kind; always child for the seeded sandbox family.
"child"