List stale file deployments
GET/api/file/stale
Returns deployments where the source object in the Object Store has been updated since the file was last deployed. Controller-only check that compares state KV SHA-256 hashes against current object content.
Responses
- 200
- 401
- 403
- 500
Stale deployments found (may be empty).
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
stale
object[]
required
Name of the object in the Object Store.
Host where the file is deployed.
Provider that manages this deployment.
Deployment path on the target host.
SHA-256 hash of the currently deployed content.
SHA-256 hash of the current object store content.
When the file was last deployed.
Total number of stale deployments.
{
"stale": [
{
"object_name": "hello-echo",
"hostname": "web-01",
"provider": "service",
"path": "/etc/systemd/system/osapi-hello-echo.service",
"deployed_sha": "abc123def456",
"current_sha": "789abc012def",
"deployed_at": "2026-04-01T18:00:00Z"
}
],
"total": 0
}
Unauthorized - API key required.
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Forbidden - Insufficient permissions.
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Internal server error.
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}