Report a local client's applied revision and managed-file health
curl --request POST \
--url https://harness.example.com/client-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"instance_id": "workstation-f3d151",
"client_version": "0.1.0",
"platform": "macos",
"applied": true,
"files_ok": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
instance_id: 'workstation-f3d151',
client_version: '0.1.0',
platform: 'macos',
applied: true,
files_ok: true
})
};
fetch('https://harness.example.com/client-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://harness.example.com/client-status"
payload = {
"instance_id": "workstation-f3d151",
"client_version": "0.1.0",
"platform": "macos",
"applied": True,
"files_ok": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Configuration
Report a local client's applied revision and managed-file health
POST
/
client-status
Report a local client's applied revision and managed-file health
curl --request POST \
--url https://harness.example.com/client-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"instance_id": "workstation-f3d151",
"client_version": "0.1.0",
"platform": "macos",
"applied": true,
"files_ok": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
instance_id: 'workstation-f3d151',
client_version: '0.1.0',
platform: 'macos',
applied: true,
files_ok: true
})
};
fetch('https://harness.example.com/client-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://harness.example.com/client-status"
payload = {
"instance_id": "workstation-f3d151",
"client_version": "0.1.0",
"platform": "macos",
"applied": True,
"files_ok": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
OAuth 2.0 access token obtained through RFC 8628 at /api/auth/device/code and /api/auth/oauth2/token. The API enforces governance:read, session:write, and client-status:write as appropriate.
Body
application/json
Example:
"workstation-f3d151"
Example:
"0.1.0"
Example:
"macos"
Example:
"developer-laptop"
Applied harness name
Show child attributes
Show child attributes
A failed JIT reconciliation attempted before launching a harness.
Show child attributes
Show child attributes
Response
204
Status recorded
