---
title: "Get container"
method: GET
path: "/containers/{containerId}"
tags: ["Containers"]
---

# Get container

`GET /containers/{containerId}`

Get container given the container ID. The container ID associated with a given computation can be accessed through the computations API operations.

## Path parameters

- `containerId` string, required

## Query parameters

- `includeDataLinkContent` boolean

## Headers

- `slb-data-partition-id` string, required

## Response `200`

Retrieved container successfully.

- Container — A container is an instance of a data-type which is used to obtain the location of files which are part of the container, along with input and output errors.
  - `id` string — The ID of the container.
  - `dataType` WorkflowDataType — A specification reference which allows the API users to specify the version of a specification when creating or updating a parent specification.
    - `id` string, required — The specification ID.
    - `version` integer, required — The version of the specification of the given ID.
    - `address` SpecAddress — An address used to describe the location of a Spec within a WorkflowSpec. Used to enrich the spec model with additional attributes such as specifying the location of a data container or providing annotations.
      - `type` 'Invalid' | 'Computation' | 'DataTypeInput' | 'DataTypeOutput', required — Whether the address refers to a data-type input, a data-type output or a computation specification.
      - `computationIndex` integer — The zero based index of the Computation Spec.
      - `dataTypeIndex` integer — The zero based index of a data-type with respect to a computation specification. Inputs and outputs are treated as separate ordered lists.
  - `store` string — The data store where the data within the container is located.
  - `fileNames` string[] — The file names which are part of the container. (marked for deprecation in favour of files).
  - `files` File[] — The files which are part of the container.
    - `name` string, required — The name of the file.
    - `content` string — Encoded content of the file in the Data URI format. It will be empty if the file size is larger than 15kb.
  - `labels` ContainerLabels — The labels of a container.
  - `caseContainers` CaseContainer[] — The containers for each case (only if the current container is a composite container)
    - `name` string, required — The name of the case.
    - `uri` string, required — The uri of the container.
    - `dataType` string, required — The data-type the container contains.
    - `version` integer, required — The version of the data-type to which the data container is associated.

## Other responses

- `401` — Unauthorized.
- `404` — The container was not found.
- `default` — Unexpected error.

---

[API](https://skmtc.net/slb/apis/evaluation.md) · [All operations](https://skmtc.net/slb/apis/evaluation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/slb/evaluation/versions/b563a2fae7de/schema)
