> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Code Repos

Retrieve a list of all active code repositories.

<Note>
  External Documentation

  To learn more, visit the [Aikido documentation](https://apidocs.aikido.dev/reference/listcoderepos).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                     |
  | ---------------- | ------------------------------------------------------------------------------- |
  | Branch           | The branch name to filter results by.                                           |
  | Include Inactive | Select to include inactive repositories.                                        |
  | Name             | The repository name to filter results by.                                       |
  | Page             | The page number to retrieve. Starting at `0`.                                   |
  | Per Page         | The maximum number of items to retrieve per page. Valid range is `10` to `200`. |
  | Return All Pages | Automatically fetch all resources, page by page.                                |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": 1,
		"name": "Compression service",
		"provider": "github",
		"external_repo_id": "R_kgDOI5RlKA",
		"external_repo_numeric_id": 1234567890,
		"active": true,
		"url": "https://api.github.com/repos/aikidemo/compression-service",
		"branch": "main",
		"last_scanned_at": 1720083163,
		"connectivity": "connected",
		"sensitivity": "normal"
	}
]
```

## Workflow Library Example

[List Code Repos with Aikido and Send Results Via Email](https://library.blinkops.com/workflows/list-code-repos-with-aikido-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-code-repos-with-aikido-and-send-results-via-email/canvas" />
</div>
