curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/x/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>"
}
]
}
]
}
]
}Get the live runtime state of an application including pod-level details, node placement, restart counts, and the currently active deployment version.
curl --request GET \
--url https://{controlPlaneURL}/api/svc/v1/x/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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier of the application
Live runtime state of the application
Timestamp when this state snapshot was captured (ISO 8601)
Application ID
Cluster ID where the application is deployed
Namespace of the application.
Currently active deployment version
Application components with pod details
Show child attributes
Was this page helpful?