Container Info
GET
/api/stacks/{stack_id}/containers/{ref}
const url = 'https://kelpie.example.com/api/stacks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/containers/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://kelpie.example.com/api/stacks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/containers/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”stack_id
required
Stack Id
string format: uuid
ref
required
Ref
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
ContainerInfo
object
ref
required
Ref
string
name
required
Name
string
service
required
Service
string
state
required
State
string
image
required
Image
string
command
required
Command
Array<string>
env
required
Env
Any of:
Array<string>
null
labels
required
Labels
object
key
additional properties
string
mounts
required
ports
required
networks
required
Networks
Array<object>
NetworkAddressobject
name
required
Name
string
addresses
required
Addresses
Array<string>
Example generated
{ "ref": "example", "name": "example", "service": "example", "container_id": "example", "node": "example", "state": "example", "status": "example", "health": "example", "health_log": "example", "error": "example", "exit_code": 1, "image": "example", "command": [ "example" ], "env": [ "example" ], "labels": { "additionalProperty": "example" }, "mounts": [ { "type": "example", "source": "example", "target": "example", "read_only": true } ], "ports": [ { "published": 1, "target": 1, "protocol": "example", "mode": "example" } ], "networks": [ { "name": "example", "addresses": [ "example" ] } ], "restart_count": 1, "created_at": "2026-04-15T12:00:00Z", "started_at": "2026-04-15T12:00:00Z", "finished_at": "2026-04-15T12:00:00Z"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}