> ## 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 Workspace Repos

Returns a paginated list of all repositories owned by the specified
account or UUID.

The result can be narrowed down based on the authenticated user's role.

E.g. with `?role=contributor`, only those repositories that the
authenticated user has write access to are returned (this includes any
repo the user is an admin on, as that implies write access).

This endpoint also supports filtering and sorting of the results. See
[filtering and sorting](https://developer.atlassian.com/cloud/bitbucket/rest/intro/#filtering) for more details.

<Note>
  External Documentation

  To learn more, visit the [Bitbucket documentation](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                                        |
  | -------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
  | Workspace Slug | This can either be the workspace ID (slug) or the workspace UUID<br />surrounded by curly-braces, for example: `{workspace UUID}`. |
</div>

## Example Output

```json theme={"dark"}
{
	"values": [],
	"pagelen": 8,
	"size": 1,
	"page": 0
}
```

## Workflow Library Example

[List Workspace Repos with Bitbucket and Send Results Via Email](https://library.blinkops.com/workflows/list-workspace-repos-with-bitbucket-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-workspace-repos-with-bitbucket-and-send-results-via-email/canvas" />
</div>
