Skip to main content
GET
/
openai
/
v1
/
containers
/
{container_id}
Retrieve container (OpenAI format)
curl --request GET \
  --url http://localhost:8080/openai/v1/containers/{container_id}
{
  "id": "<string>",
  "object": "<string>",
  "name": "<string>",
  "created_at": 123,
  "status": "running",
  "expires_after": {
    "anchor": "<string>",
    "minutes": 123
  },
  "last_active_at": 123,
  "memory_limit": "<string>",
  "metadata": {},
  "extra_fields": {
    "request_type": "<string>",
    "provider": "openai",
    "model_requested": "<string>",
    "model_deployment": "<string>",
    "latency": 123,
    "chunk_index": 123,
    "raw_request": {},
    "raw_response": {},
    "cache_debug": {
      "cache_hit": true,
      "cache_id": "<string>",
      "hit_type": "<string>",
      "provider_used": "<string>",
      "model_used": "<string>",
      "input_tokens": 123,
      "threshold": 123,
      "similarity": 123
    }
  }
}

Path Parameters

container_id
string
required

Container ID

Query Parameters

provider
string

Provider for the container (defaults to openai)

Response

Successful response

id
string

The unique identifier for the container

object
string

The object type (always "container")

name
string

The name of the container

created_at
integer<int64>

Unix timestamp of when the container was created

status
enum<string>

The status of a container

Available options:
running
expires_after
object

Expiration configuration for a container

last_active_at
integer<int64>

Unix timestamp of last activity

memory_limit
string

Memory limit for the container

metadata
object

User-provided metadata

extra_fields
object

Additional fields included in responses