v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Insights repositories (beta)

List repositories

Get a list of repositories

Expanding the repository collection response

LaunchDarkly supports expanding the repository collection response to include additional fields.

To expand the response, append the expand query parameter and include the following:

  • projects includes details on all of the LaunchDarkly projects associated with each repository

For example, use ?expand=projects to include the projects field in the response. By default, this field is not included in the response.

get/api/v2/engineering-insights/repositories

Query parameters

expandstring string

Expand properties in response. Options: projects

Expand properties in response. Options: projects

Response

Repository collection response

totalCountinteger required

Total number of repositories

_linksobject

The location and content type of related resources

Example response

{
  "totalCount": 1,
  "items": [
    {
      "_id": "5f9a9b1a-5b9a-4b9a-9a9a-9a9a9a9a9a9a",
      "version": 1,
      "key": "launchdarkly/LaunchDarkly-Docs",
      "type": "github",
      "url": "https://github.com/launchdarkly/LaunchDarkly-Docs",
      "mainBranch": "main",
      "projects": {
        "items": [
          {
            "_id": "57be1db38b75bf0772d11383",
            "_links": {
              "environments": {
                "href": "/api/v2/projects/example-project/environments",
                "type": "application/json"
              },
              "self": {
                "href": "/api/v2/projects/example-project",
                "type": "application/json"
              }
            },
            "key": "project-key-123abc",
            "name": "Example project"
          }
        ]
      }
    }
  ]
}