Skip to main content
GET
/
public
/
v1
/
payor-detection
/
runs
/
{payor_detection_run_id}
Get payor detection run
curl --request GET \
  --url https://app.silnahealth.com/api/public/v1/payor-detection/runs/{payor_detection_run_id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://app.silnahealth.com/api/public/v1/payor-detection/runs/{payor_detection_run_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://app.silnahealth.com/api/public/v1/payor-detection/runs/{payor_detection_run_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://app.silnahealth.com/api/public/v1/payor-detection/runs/{payor_detection_run_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://app.silnahealth.com/api/public/v1/payor-detection/runs/{payor_detection_run_id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://app.silnahealth.com/api/public/v1/payor-detection/runs/{payor_detection_run_id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://app.silnahealth.com/api/public/v1/payor-detection/runs/{payor_detection_run_id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "coverages_found": 123,
  "potential_coverages": 123,
  "total": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "payor_detections": [
    {
      "queried_payor_entity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "queried_payor_entity_name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "detected_payor_entity_id": null,
      "detected_payor_entity_name": null,
      "patient_first_name": null,
      "patient_last_name": null,
      "patient_date_of_birth": null,
      "member_number": null,
      "plan_coverage_description": null,
      "plan_start_date": null,
      "plan_end_date": null,
      "other_payors": [
        {
          "name": "<string>",
          "order_number": null
        }
      ]
    }
  ]
}
{
"message": "<string>"
}
{
"message": "<string>"
}
{
"message": "<string>"
}
Poll this endpoint until status is COMPLETE, then inspect the payor_detections array for individual results. While the run is IN_PROGRESS, the payor_detections array will be empty. The response includes summary counts to help you quickly assess results:
  • coverages_found — Number of detections with confirmed coverage (confidence_level = COVERAGE_FOUND)
  • potential_coverages — Number of detections that may need manual review (confidence_level = POTENTIAL_COVERAGE)
  • total — Total number of detections in the run
Each detection in payor_detections includes a confidence_level and status that together tell you whether coverage was confirmed, potential, or not found. See the Payor Detection Overview for detailed explanations of each status and confidence level. When a detection shows COVERAGE_FOUND, you can use the detected_payor_entity_id and member_number to create a patient plan via the Create Patient Plan API.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

payor_detection_run_id
string
required

Response

id
string<uuid>
required

The ID of the payor detection run

status
enum<string>
required

The status of the payor detection run

Available options:
IN_PROGRESS,
COMPLETE
coverages_found
integer
required

Number of detections with COVERAGE_FOUND confidence level

potential_coverages
integer
required

Number of detections with POTENTIAL_COVERAGE confidence level

total
integer
required

Total number of payor detections in this run

created_at
string<date-time>
required

When this run was created

payor_detections
V1PayorDetectionSchema · object[]

The individual payor detection results