Skip to main content
GET
/
api
/
svc
/
v1
/
apps
/
{id}
/
state
Get Application State
curl --request GET \
  --url https://{controlPlaneURL}/api/svc/v1/apps/{id}/state \
  --header 'Authorization: Bearer <token>'
{
  "eventGenerationTimestamp": "<string>",
  "applicationId": "<string>",
  "clusterId": "<string>",
  "namespace": "<string>",
  "activeVersion": "<string>",
  "components": [
    {
      "pods": [
        {
          "name": "<string>",
          "status": "<string>",
          "containers": [
            {
              "name": "<string>",
              "state": "<string>",
              "image": "<string>",
              "reason": "<string>",
              "exitCode": 123,
              "lastState": {
                "state": "<string>",
                "reason": "<string>",
                "finishedAt": "<string>",
                "exitCode": 123
              }
            }
          ],
          "node": {
            "name": "<string>",
            "type": "<string>",
            "capacityType": "<string>",
            "status": {
              "memoryPressure": true,
              "diskPressure": true,
              "pidPressure": true,
              "ready": true
            }
          },
          "message": "<string>",
          "podTemplateHash": "<string>",
          "startTime": "<string>",
          "endTime": "<string>",
          "version": 123,
          "restarts": 123,
          "conditions": [
            {
              "type": "<string>",
              "status": "<string>",
              "reason": "<string>",
              "message": "<string>"
            }
          ]
        }
      ]
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Id of the application

Response

Live runtime state of the application

eventGenerationTimestamp
string | null
required

Timestamp when this state snapshot was captured (ISO 8601)

applicationId
string | null
required

Application ID

clusterId
string
required

Cluster ID where the application is deployed

namespace
string
required

Kubernetes namespace

activeVersion
string | null
required

Currently active deployment version

components
ApplicationStateComponent · object[] | null
required

Application components with pod details