Diagnosis Structure¶
Diagnosis¶
{
"id": "<string>",
"provider_id": "<string>",
"status": "<string>",
"scenarios": ["<string>"],
"destination": "<string>",
"source": "<string>",
"inbound_number_id": "<string>",
"observe_inbound": <boolean>,
"steps": [
{
"id": "<string>",
"scenario": "<string>",
"status": "<string>",
"summary": "<string>",
"evidence": {},
"hint_code": "<string>",
"tm_start": "<string>"
}
],
"tm_create": "<string>",
"tm_update": "<string>"
}
id(UUID): The diagnosis id. Returned fromPOST /providers/{id}/diagnoses.provider_id(UUID): The diagnosed provider. Returned fromGET /providers.status(enum string):running,completedorfailed.scenarios(Array of enum string): The requested scenarios:static,signal,inbound,invite_probe,real_call.destination(String, omitted when empty): The requested destination number.source(String, omitted when empty): The requested source number.inbound_number_id(UUID, omitted when not given): The requested inbound number.observe_inbound(Boolean, omitted when false): Whether the inbound observation was requested.steps(Array of Step): The steps in the order they ran. See Step.tm_create(string, ISO 8601): Timestamp when the diagnosis was created.tm_update(string, ISO 8601): Timestamp of the last step change.
Step¶
id(String): The step id:static.fields,static.preview,signal.dns,signal.options,inbound.allowlist,inbound.number,inbound.observe,invite_probe.result,real_call.connect,real_call.dtmf,real_call.mediaorrunner(a run level failure).scenario(enum string): The scenario of the step.status(enum string):running(in progress),pass,warn,failorskipped.summary(String): One English line.evidence(Object, omitted when empty): Measured values such as response codes, delays and addresses. The keys depend on the step. Whileinbound.observeisrunning, it holdsobserve_until(RFC 3339 time, the end of the 120 second window). The stepreal_call.connectholdsvoipbin_billed(alwaysfalse: the call is excluded from VoIPBin billing) andcarrier_cost_possible(alwaystrue: the carrier can still charge the call).hint_code(String, omitted when empty): A machine readable name for the finding. See hint codes.tm_start(string, ISO 8601): Timestamp when the step started.
The internal customer_id of the requester is never part of the response.
Example¶
{
"id": "6f1b0d3c-7a52-4f6b-9a4e-2d6f5f9c1a10",
"provider_id": "4dbeabd6-f397-4375-95d2-a38411e07ed1",
"status": "completed",
"scenarios": ["static", "signal", "invite_probe"],
"destination": "+15550100001",
"steps": [
{
"id": "signal.options",
"scenario": "signal",
"status": "pass",
"summary": "OPTIONS answered.",
"evidence": {"attempt_codes": [200, 200, 200], "rtt_ms_max": 48},
"tm_start": "2026-12-03T10:00:02.000000Z"
},
{
"id": "invite_probe.result",
"scenario": "invite_probe",
"status": "fail",
"summary": "The provider rejected the INVITE.",
"evidence": {"outcome": "rejected", "final_code": 403},
"hint_code": "auth_or_ip",
"tm_start": "2026-12-03T10:00:09.000000Z"
}
],
"tm_create": "2026-12-03T10:00:00.000000Z",
"tm_update": "2026-12-03T10:00:12.000000Z"
}
Interpretation¶
{
"available": <boolean>,
"message": "<string>",
"suggestions": [
{
"field": "<string>",
"current_value": "<string>",
"suggested_value": "<string>",
"reason": "<string>",
"basis": "<string>"
}
]
}
available(Boolean):falsewhen the helper is not configured on the platform.message(String): Plain English text, not markdown. Empty whenavailableis false.suggestions(Array): May be empty.fieldishostname,tech_prefix,tech_postfix,codecsortech_headers.basisisruleorinference.
GET /provider_helper/status returns {"available": <boolean>}.