Skip to main content

`GET /v1/app/instances/customer-mode`

GET 

/v1/app/instances/customer-mode

M2M-only service surface: the sign-up closure provisioning (Sentin8: Auth) calls this with its own workload token to learn which sentin8:app:{instance_id} groups a new customer should join.

Authorization (fail-closed, three gates):

  1. Bearer verify + M2M-only (token_tp == "m2m") - this is a service-to-service discovery surface, never a user surface.
  2. Shield gate on sentin8:app:instances:read.
  3. Owner scoping: the caller's service_type claim must resolve to an instance of THIS app service's own domain - answered only for envs in an org where app is enabled; the query itself stays env-scoped so a foreign env is an indistinguishable empty result (no tenant-existence oracle).

?env_id=… - enumerate the customer-mode (allow_signup) instances installed in an env (auth DESIGN invariant 12: the owner-API replacement for auth's retired direct read of sys.app_instances`).

Request​

Responses​

Customer-mode instances in the env