Manual
CLI
API
Log in Get started free

Get a project

Returns one project with your role in it and some statistics.

Returns one project with your role in it and some statistics.

HTTP
GET /projects/{projectId}

Access: Session token, or an API key with the projects:read scope.

Role: Any role in the project.

Path parameters #

ParameterDescription
projectIdThe id of the project.

Response 200 #

The project.

JSON
{
  ...the fields of a project,
  "role": "manager",
  "stats": { "keys": 318, "languages": 2, "progress": 42, "contributors": 4 }
}

Response fields #

FieldTypeDescription
idstringThe id of the project.
namestringThe name.
descriptionstringThe description.
iconstring or nullAn emoji. The app shows an abbreviation of the name instead.
accentstringA colour such as #7c3aed.
typestring or nullWhat the project is translated for: game, mobile, web, ecommerce or other. null when none was given.
statusstringactive or archived.
sourceLanguagestringThe language code of the source text.
targetLanguageslist of stringThe language codes of every language of the project, whatever its status.
progressintegerPercent of keys on the protected branch that are published, across all languages.
keysintegerNumber of keys on the protected branch.
memberslist of objectUp to 3 people with access, as initials, from and to for an avatar.
extraMembersintegerHow many more people have access.
ageMinutesintegerMinutes since the project last changed.
rolestringYour role in the project: manager, reviewer or translator.
statsobjectkeys, languages (number of target languages), progress and contributors.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
404not_foundThe project does not exist in your organisation, you have no access to it, or projectId is not a UUID.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.