delivery_health
Consultar atividade do publicador, atraso da fila e alertas por destino.
REST · POST /api/v1/operations/delivery_health · MCP · delivery_health
Permissão necessária · read. Esta operação consulta dados.
Exemplo de entrada
{}
O REST retorna a saída abaixo diretamente. No MCP leia structuredContent.result. Consulte o contrato atual em /api/v1/openapi.json.
Em 401 confira a validade da credencial. Em 403 confira papel, escopos e contas. Em 409 releia o registro antes de tentar novamente.
JSON Schema · Entrada
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}
JSON Schema · Saída
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"state": {
"type": "string"
},
"heartbeatAt": {
"type": [
"string",
"null"
]
},
"lastDispatchAt": {
"type": [
"string",
"null"
]
},
"storageReady": {
"type": [
"boolean",
"null"
]
},
"overdue": {
"type": "number"
},
"oldest_at": {
"type": [
"string",
"null"
]
},
"oldestDelaySeconds": {
"type": "number"
},
"alerts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"account_id": {
"type": "string"
},
"kind": {
"type": "string"
},
"since": {
"type": "string"
}
},
"required": [
"id",
"account_id",
"kind",
"since"
],
"additionalProperties": {}
}
},
"coverage": {
"type": "string"
}
},
"required": [
"state",
"heartbeatAt",
"lastDispatchAt",
"storageReady",
"overdue",
"oldest_at",
"oldestDelaySeconds",
"alerts",
"coverage"
],
"additionalProperties": {}
}