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

## Parameters

| Parameter | Description |
| - | - |
| Organization | The name of the organization. |
| Project | The project ID or project name. |
| Repository ID | The name or ID of the repository. |

## 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"
	}
}
```
