Get Discovery Snapshot
GetDiscoverySnapshot returns the instance’s latest self-reported vocabulary — used by the authoring UI to build discovery-driven pickers (principals/scopes/destinations/postures/credentials/routes) independent of any policy read or write.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The tbInstanceId field.
Response
Successful response
The TBControlPlaneServiceGetDiscoverySnapshotResponse message.
TBDiscoverySnapshot is one Time Bandit instance's self-reported vocabulary: the principals, ingress scopes, destinations, credential recipe names, posture names, and route names it knows about. Names only -- never token values or credential material.
Dynamo-only: the control plane has no query pattern that needs Postgres (lookup is always a direct tenant_id+tb_instance_id get).