> ## 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.

# Get Repository

Get the details of a git repository.

**Required Permissions**:

* `vso.code`

<Note>
  External Documentation

  To learn more, visit the [Azure DevOps documentation](https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/get-repository?view=azure-devops-rest-7.1\&tabs=HTTP).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter     | Description                       |
  | ------------- | --------------------------------- |
  | Organization  | The name of the organization.     |
  | Project       | The project ID or project name.   |
  | Repository ID | The name or ID of the repository. |
</div>

## Example Output

```json theme={"dark"}
{
	"serverUrl": "https://dev.azure.com/fabrikam",
	"collection": {
		"id": "e22ddea7-989e-455d-b46a-67e991b04714",
		"name": "fabrikam",
		"url": "https://dev.azure.com/fabrikam/_apis/projectCollections/e22ddea7-989e-455d-b46a-67e991b04714"
	},
	"repository": {
		"id": "2f3d611a-f012-4b39-b157-8db63f380226",
		"name": "FabrikamCloud",
		"url": "https://dev.azure.com/fabrikam/_apis/git/repositories/2f3d611a-f012-4b39-b157-8db63f380226",
		"project": {
			"id": "3b3ae425-0079-421f-9101-bcf15d6df041",
			"name": "FabrikamCloud",
			"url": "https://dev.azure.com/fabrikam/_apis/projects/3b3ae425-0079-421f-9101-bcf15d6df041",
			"state": 1,
			"revision": 411518573
		},
		"remoteUrl": "https://dev.azure.com/fabrikam/FabrikamCloud/_git/FabrikamCloud"
	}
}
```

## Workflow Library Example

[Get Repository with Azure Devops and Send Results Via Email](https://library.blinkops.com/workflows/get-repository-with-azure-devops-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/get-repository-with-azure-devops-and-send-results-via-email/canvas" />
</div>
