---
title: "Get the published logical data model from the project"
method: GET
path: "/gdc/projects/{projectId}/model/publish/{ldmId}"
tags: ["logicaldatamodel"]
---

# Get the published logical data model from the project

`GET /gdc/projects/{projectId}/model/publish/{ldmId}`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/projects/{projectId}/model/publish/{ldmId}`
- Auth: none declared

This method retrieves the logical data model (LDM) that you have [published to the project](#operation/publishLdm).

## Response `200`

OK - return publish project model result

- ProjectModelView
  - `projectModelView` object, required
    - `model` ProjectModel, required
      - `projectModel` object, required
        - `modelMetadata` ModelMetadata
          - `containCA` boolean: true if the model is generated including computed attributes
        - `datasets` PmDataset[], nullable
          - `dataset` PmDatasetResponse, required
            - `identifier` string, required
            - `title` string, required
            - `description` string
            - `anchor` PmAttribute
              - …
            - `attributes` PmAttribute[]
              - …
            - `bridges` string[]
            - `facts` PmFact[]
              - …
            - `references` string[]: IDs of referenced dataset / date dimensions
            - `summary` string, nullable
            - `production` boolean
        - `dateDimensions` PmDateDimension[], nullable
          - `dateDimension` PmDateDimensionResponse, required
            - `name` string, required
            - `title` string, required
            - `urn` string
            - `identifier` string
            - `identifierPrefix` string
            - `bridges` string[]
            - `production` boolean
    - `validationErrors` PmValidationError[]: List of model issues - should be empty except for non-compliant projects
      - `validationError` object, required
        - `code` string, required: unique code for the type of validation error - e.g. 'id.missing', 1:1 with message
        - `message` string, required: human-readable message for the user (with %s placeholders for message params)'
        - `parameters` string[], required: message parameters
        - `contexts` string[], required: IDs of objects involved
        - `reparable` boolean, required: is this error reparable by the client's ldm change?

## Other responses

- `202`: Accepted - return polling link if the task has not finished
- `403`: Forbidden - if current user does not have modification project model permission
- `404`: Not Found - if the task does not exist

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
