Repos API: list Detail repositories and user account info
List repositories connected to Detail and retrieve the authenticated user’s account information, including organization memberships.
The repos and user endpoints give you the reference data you need to work with the rest of the API. Use the repos endpoint to discover repo_id values, which are required parameters for the bugs, scans, and rules endpoints. Use the user endpoint to verify your API key and inspect your organization memberships.
If you already know the owner/repo slug for a repository, fetch the full list and filter by fullName client-side to find its repo_id. Alternatively, look up the repo ID in Settings → Repositories in the Detail dashboard.
Returns the authenticated user’s email address and their Detail organization memberships. This is a useful endpoint to verify that your API key is valid and to inspect which organizations you have access to.