Describe gateway policy and runtime readiness without contacting the gateway
curl --request GET \
--url https://harness.example.com/gateway/status \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://harness.example.com/gateway/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://harness.example.com/gateway/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"enabled": true,
"runtime_configured": true,
"inference_proxy_url": "<string>",
"upstream_gateway_url": "<string>",
"provisioner_type": "<string>",
"harnesses": [
{
"name": "codex",
"gateway_type": "litellm"
}
],
"runtime_checks": {
"gateway_policy": true,
"gateway_url": true,
"inference_proxy_url": true,
"provisioner": true,
"secret_encryption": true,
"internal_auth": true,
"inference_jwt_signing": true
}
}Gateway
Describe gateway policy and runtime readiness without contacting the gateway
GET
/
gateway
/
status
Describe gateway policy and runtime readiness without contacting the gateway
curl --request GET \
--url https://harness.example.com/gateway/status \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://harness.example.com/gateway/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://harness.example.com/gateway/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"enabled": true,
"runtime_configured": true,
"inference_proxy_url": "<string>",
"upstream_gateway_url": "<string>",
"provisioner_type": "<string>",
"harnesses": [
{
"name": "codex",
"gateway_type": "litellm"
}
],
"runtime_checks": {
"gateway_policy": true,
"gateway_url": true,
"inference_proxy_url": true,
"provisioner": true,
"secret_encryption": true,
"internal_auth": true,
"inference_jwt_signing": true
}
}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.
Response
200 - application/json
Gateway mode state and per-harness routing policy
True when the global gateway policy enables gateway mode.
True when all required server-side gateway settings are present.
Administrator-only inference proxy URL.
Administrator-only upstream inference gateway URL.
Administrator-only built-in or executable provisioner selected by configuration.
Administrator-only routed harness details.
Show child attributes
Show child attributes
Administrator-only configuration-presence checks. Credential values are never returned.
Show child attributes
Show child attributes
