# Get project details

`GET https://api.lingohub.com/v1/{workspaceUrl}/projects/{projectUrl}`

LingoHub API V1 · [Projects](https://developers.lingohub.com/reference/v1/operations/tags/projects.md) · operation `v1ProjectGetProjectDetails`

Retrieves detailed information for a specific project, including its title, description, configured locales, owner, and HATEOAS links to related resources such as the project's resource files.

## Parameters

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `workspaceUrl` | path | yes | string | workspaceUrl |
| `projectUrl` | path | yes | string | projectUrl |

## Example request

```sh
curl --request GET \
  --url https://api.lingohub.com/v1/WORKSPACE_URL/projects/PROJECT_URL \
  --header 'Authorization: Bearer YOUR_API_KEY'
```

## Responses

- `200`: Successfully returns the project details.
- `401`: Unauthorized: Authentication credentials are missing or invalid.
- `403`: Forbidden: The authenticated user does not have permission to view this project.
- `404`: Not Found: The specified workspace or project does not exist.

## OpenAPI definition

The complete definition of this operation, with every schema it references:

````json
{
  "openapi": "3.1.0",
  "info": {
    "title": "LingoHub API V1",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.lingohub.com",
      "description": "Generated server url"
    }
  ],
  "tags": [
    {
      "name": "Projects",
      "description": "Endpoints for the operations that can be performed on projects of a workspace"
    }
  ],
  "paths": {
    "/v1/{workspaceUrl}/projects/{projectUrl}": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Get project details",
        "description": "Retrieves detailed information for a specific project, including its title, description, configured locales, owner, and HATEOAS links to related resources such as the project's resource files.",
        "operationId": "v1ProjectGetProjectDetails",
        "parameters": [
          {
            "name": "workspaceUrl",
            "in": "path",
            "description": "workspaceUrl",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectUrl",
            "in": "path",
            "description": "projectUrl",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully returns the project details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectDetails"
                },
                "examples": {
                  "projectDetails": {
                    "summary": "A project with three locales",
                    "description": "projectDetails",
                    "value": {
                      "title": "Frontend",
                      "description": null,
                      "links": [
                        {
                          "rel": "self",
                          "href": "https://api.lingohub.com/v1/lingohub-demo/projects/gl-ios"
                        },
                        {
                          "rel": "resources",
                          "href": "https://api.lingohub.com/v1/lingohub-demo/projects/gl-ios/resources"
                        }
                      ],
                      "owner_email": "demo@lingohub.com",
                      "project_locales": [
                        "en",
                        "de",
                        "zh-Hant"
                      ],
                      "created_at": "2024-05-13T13:49:38.000+00:00",
                      "updated_at": "2024-07-01T13:25:21.000+00:00"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized: Authentication credentials are missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1ErrorInfo"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden: The authenticated user does not have permission to view this project.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1ErrorInfo"
                }
              }
            }
          },
          "404": {
            "description": "Not Found: The specified workspace or project does not exist.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V1ErrorInfo"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ProjectDetails": {
        "type": "object",
        "description": "Detailed information about a localization project including its locales, owner, and HATEOAS links.",
        "properties": {
          "title": {
            "type": "string",
            "description": "The title of the project.",
            "example": "My Mobile App"
          },
          "owner_email": {
            "type": "string",
            "description": "Email address of the project's owner.",
            "example": "owner@example.com"
          },
          "description": {
            "type": "string",
            "description": "Project description.",
            "example": "Localization project for the mobile application"
          },
          "project_locales": {
            "type": "array",
            "description": "The list of locale codes configured for the project.",
            "example": [
              "en",
              "de",
              "fr-CA"
            ],
            "items": {
              "type": "string",
              "description": "Language code that uniquely identifies a locale. Valid examples would be 'en', 'en-GB', 'de', 'de-DE' etc. according to [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes)."
            }
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the project was created.",
            "example": "2025-01-15T10:30:00"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the project was last updated.",
            "example": "2025-02-20T14:45:00"
          },
          "links": {
            "type": "array",
            "description": "HATEOAS links for navigating to related resources (e.g. project resources, status).",
            "items": {
              "$ref": "#/components/schemas/Link"
            }
          }
        }
      },
      "Link": {
        "type": "object",
        "properties": {
          "href": {
            "type": "string"
          },
          "hreflang": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "deprecation": {
            "type": "string"
          },
          "profile": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "templated": {
            "type": "boolean"
          }
        }
      },
      "V1ErrorInfo": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "description": "API key authentication. Create API keys in your LingoHub workspace settings. Keys use the `lh-api_` prefix. Pass the full key as the Bearer token.",
        "scheme": "bearer"
      }
    }
  }
}
````
