---
title: "Retrieves a live container by ID"
method: GET
path: "/api/v1/containers/live"
tags: ["Containers"]
---

# Retrieves a live container by ID

`GET /api/v1/containers/live`

Returns the live (published) version of a container. Optionally includes associated content type information.

## Query parameters

- `containerId` string
- `includeContentType` boolean

## Response `200`

Live container retrieved successfully. Returns ContainerView by default, or ContainerWithContentTypesView if includeContentType=true.

- ResponseEntitySingleContainerView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` ContainerView
    - `container` Container
      - `getiDate` string, date-time
      - `type` string
      - `owner` string
      - `inode` string
      - `identifier` string
      - `source` 'UNKNOWN' | 'DB' | 'FILE'
      - `title` string
      - `friendlyName` string
      - `modDate` string, date-time
      - `modUser` string
      - `sortOrder` integer
      - `showOnMenu` boolean
      - `code` string
      - `maxContentlets` integer
      - `useDiv` boolean
      - `preLoop` string
      - `postLoop` string
      - `notes` string
      - `hostId` string
      - `hostName` string
      - `variant` string
      - `versionType` string
      - `permissionId` string
      - `versionId` string
      - `working` boolean
      - `deleted` boolean
      - `archived` boolean
      - `live` boolean
      - `locked` boolean
      - `name` string
      - `permissionType` string
      - `idate` string, date-time
      - `categoryId` string
      - `new` boolean
      - `parents` object[]
    - `path` string
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400` — Bad request - Invalid container ID
- `401` — Unauthorized - User not authenticated
- `403` — Forbidden - User lacks required permissions
- `404` — Live container not found
- `500` — Internal server error

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
