---
title: "List Git Permissions"
method: GET
path: "/v3/enterprise/organizations/{org_id}/git-providers/permissions"
tags: ["git_permissions"]
---

# List Git Permissions

`GET /v3/enterprise/organizations/{org_id}/git-providers/permissions`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/devinenterprise/apis/devin-api-v1/docs/v3/enterprise/organizations/:org_id/git-providers/permissions/get.ts> (a function with typed inputs; its response is checked against the schema)

List git permissions for the organization.

## Path parameters

- `org_id` string, required

## Query parameters

- `after` string, nullable
- `first` integer

## Response `200`

Successful Response

- PaginatedResponseGitPermissionResponse
  - `end_cursor` string, nullable: Cursor to fetch the next page, or None if this is the last page.
  - `has_next_page` boolean: Whether there are more items available after this page.
  - `items` GitPermissionResponse[], required
    - `created_at` integer, nullable
    - `git_connection_id` string, required
    - `git_permission_id` string, required
    - `group_prefix` string, nullable
    - `prefix_path` string, nullable
    - `read_only` boolean
    - `repo_path` string, nullable
  - `total` integer, nullable: Optional total count (can be omitted for performance).

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Content
- `429`: Too Many Requests

---

[API](https://skmtc.dev/devinenterprise/apis/devin-api-v1.md) - [All operations](https://skmtc.dev/devinenterprise/apis/devin-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/devinenterprise/apis/devin-api-v1/revisions/e3244476af1c?raw)
