---
title: "GET /v1/endpoint/{endpoint_name}/container/metadata"
method: GET
path: "/v1/endpoint/{endpoint_name}/container/metadata"
tags: ["endpoint"]
---

# GET /v1/endpoint/{endpoint_name}/container/metadata

`GET /v1/endpoint/{endpoint_name}/container/metadata`

## Request

- Base URL: `https://api.octoai.cloud`
- URL: `https://api.octoai.cloud/v1/endpoint/{endpoint_name}/container/metadata`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/octoml/apis/octoai-api/docs/v1/endpoint/:endpoint_name/container/metadata/get.ts> (a function with typed inputs; its response is checked against the schema)

Return container metadata

## Path parameters

- `endpoint_name` string, required

## Response `200`

Container metadata

- ContainerResponse
  - `image_url` string, required: URL of the docker image
  - `exposed_ports` ContainerPort[], required: Ports exposed by container
    - `port_num` integer, required
    - `proto` string, required
  - `labels` object, required: Labels for container
  - `env` string[], required: Env is a list of environment variables to be used in a container

---

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