---
title: "GetRepoMeta returns credentials and other metadata for accessing a project's repo"
method: GET
path: "/v1/projects/{projectId}/repo/meta"
---

# GetRepoMeta returns credentials and other metadata for accessing a project's repo

`GET /v1/projects/{projectId}/repo/meta`

## Path parameters

- `projectId` string, required

## Response `200`

A successful response.

- V1GetRepoMetaResponse
  - `archiveCreatedOn` string, date-time — The creation time of the archive returned from archive_download_url.
  - `archiveDownloadUrl` string — Signed URL for downloading a tarball of project files. If this is set, the git_* fields will be empty (and vice versa).
  - `archiveId` string — A stable ID for the archive returned from archive_download_url.
  - `editable` boolean — Whether editing is allowed. Set to true for dev deployments.
  - `expiresOn` string, date-time — How long the returned config is valid for. Clients should call GetRepoMeta again after this time.
  - `gitBranch` string — The branch to use for the deployment.
  - `gitSubpath` string — Optional subpath within the Git repository to use as the project root.
  - `gitUrl` string — Git remote for cloning (and maybe pushing) a Git repository. The URL uses HTTPS with embedded username/password.
  - `lastUpdatedOn` string, date-time — When the returned config was last modified. This covers all fields in the response except the ephemeral credentials embedded in git_url and archive_download_url.
  - `managedGitRepo` boolean — Whether the git repo is managed by Rill.
  - `primaryBranch` string — Primary branch of the project.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.net/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/versions/289a0ca9ce49/schema)
