v1
latestOpenAPI 3.0.0(C) Copyright IBM Corp. 2016 All Rights Reserved.2026-07-144737155.4 KBSingle containers
List the current state of a container.
This endpoint returns the current state of a container. This state can either be a transient state, such as BUILDING and NETWORKING, or a non-transient state, such as RUNNING, SHUTDOWN, CRASHED, or SUSPENDED.
get/containers/{id}/status
Path parameters
idstring required
The unique identifier that represents the container. Run cf ic ps, or call the GET /containers/json endpoint to retrieve the ID of the container.
Headers
X-Auth-Tokenstring required
The Bluemix JSON web token that you receive when logging into Bluemix. Run cf oauth-token to retrieve your access token.
X-Auth-Project-Idstring required
The unique ID of your organization space where you want to create or work with your containers. Run cf space <space_name> --guid, where <space_name> is the name of your space, to retrieve your space ID.
Response
OK. The current status of a container is returned.