For the complete documentation index, see llms.txt. This page is also available as Markdown.

Response Codes

The Sahamati SLA endpoint returns the following HTTP responses for each push request made by SNA:

Code
Status
Response Body

200

OK

{ "success": true, "message": "Successfully pushed metric", "warning": "Agent upgrade available..." }

400

Bad Request

{ "errorCode": "Bad request", "errorMsg": "JSON validation failed" }

401

Unauthorized

{ "errorCode": "Unauthorized", "errorMsg": "Auth token is invalid/expired" }

404

Not Found

{ "errorCode": "Not Found", "errorMsg": "Agent version incompatible" }

500

Server Error

{ "errorCode": "Server Error", "errorMsg": "Internal Server Error" }

Last updated

Was this helpful?