---
title: "GetCloneCredentials returns credentials and other details for a project's Git repository or archive path if git repo is not configured."
method: GET
path: "/v1/orgs/{org}/projects/{project}/clone-credentials"
---

# GetCloneCredentials returns credentials and other details for a project's Git repository or archive path if git repo is not configured.

`GET /v1/orgs/{org}/projects/{project}/clone-credentials`

## Path parameters

- `org` string, required
- `project` string, required

## Query parameters

- `superuserForceAccess` boolean

## Response `200`

A successful response.

- V1GetCloneCredentialsResponse
  - `archiveDownloadUrl` string
  - `gitManagedRepo` boolean
  - `gitPassword` string
  - `gitPasswordExpiresAt` string, date-time
  - `gitPrimaryBranch` string
  - `gitRepoUrl` string
  - `gitSubpath` string
  - `gitUsername` string

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.dev/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/revisions/abe7a430f373/schema)
