SynapseDocumentation

Get service health history

Returns recent provider health probe history for a service owned by the authenticated provider wallet.

GET/api/v1/services/:id/health/historyWallet JWT

For AI agents

Provider-owned health drilldown. Use it to understand why a service is or is not currently callable.

Requires: Valid JWT (provider who owns the service)

Parameters

id

path · required

Service ID

limitPerTarget

query · optional

Recent probe records per target

hours

query · optional

History window in hours

Generated OpenAPI reference

GET/api/v1/services/{id}/health/history

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Service ID

Query Parameters

limitPerTarget?integer

Recent probe records per target

hours?integer

History window in hours

Response Body

application/json

application/json

curl -X GET "https://api-staging.synapse-network.ai/api/v1/services/svc_xyz/health/history"
{
  "status": "success",
  "serviceId": "svc_xyz",
  "targets": [
    {
      "url": "https://api.example.com/invoke",
      "history": [
        {
          "status": "healthy",
          "latencyMs": 142,
          "checkedAt": "2026-04-18T12:00:00Z"
        }
      ]
    }
  ]
}
{
  "code": "SERVICE_NOT_FOUND",
  "message": "Service not found"
}