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.
GET /public/v1/repos
Returns a paginated list of repositories connected to Detail that the authenticated user can access.Query parameters
integer
Number of results to return. Between
1 and 100. Defaults to 50.integer
Number of results to skip for pagination. Defaults to
0.Response
Repo[]
Array of repository objects accessible to the authenticated user.
integer
Total number of repositories accessible to the user, regardless of
limit and offset.Example response
GET /public/v1/user
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.Response
string
The email address associated with the authenticated account.
Org[]
The Detail organizations this user belongs to.

