Skip to main content

Stale

List deployments where the source object has been updated since the file was last deployed. Shows which files need redeployment. Requires file:read permission.

$ osapi client file stale

Total: 2

Stale Deployments:
OBJECT HOSTNAME PROVIDER DEPLOYED DEPLOYED SHA CURRENT SHA
hello-echo web-01 service 2026-04-01T18:00:00Z abc123def456… 789abc012def…
my-ca-cert web-02 certificate 2026-03-31T12:00:00Z 111222333444… 555666777888…

When all deployments are in sync:

$ osapi client file stale

Total: 0

All deployments are in sync.

JSON Output

Use --json for raw JSON output:

$ osapi client file stale --json
{"stale":[...],"total":2}

Flags

FlagDescriptionDefault
-j, --jsonOutput raw JSON response