Retrieve Batch Check Statuses
Retrieve status information for all eligibility checks within a batch, regardless of processing status
/eligibility-manager/batch/{batchId}/itemsThis endpoint retrieves the processing status and other summary information for all of the eligibility checks in the specified batch. It doesn't include the complete eligibility response. For the full results of each eligibility check, call the Poll Batch Checks endpoint instead.
You can use this endpoint to determine whether specific eligibility checks within a batch have completed. You can also use the response to determine whether patients have active or inactive coverage without having to poll.
- Call this endpoint with the batch ID for the eligibility check batch. This is the
batchIdStedi returned in the Batch Eligibility Checks endpoint response. It's also available on the batch's details page in the Stedi portal. - Stedi returns information about the processing status of each eligibility check within the batch, including whether the check completed successfully and information about the patient's coverage status (
eligibilitySearchStatus). Eachitemin the response corresponds to one eligibility check within the batch.
Visit Retrieve batch results for a complete how-to guide.
A Stedi API Key for authentication.
Path Parameters
The unique identifier for the batch. This is the batchId returned in the Batch Eligibility Check endpoint response. It's also listed as the Batch ID in the Stedi portal.
Query Parameters
The maximum number of elements to return in a page. If not specified, the default is 100.
- Range:
≥ 1 and ≤ 1000
A token returned by a previous call to this operation in the nextPageToken property. You can use it to retrieve the next page of results. If no pageToken is included in the request, Stedi returns the first page of results.
- Required string length:
1 - 1024
Response
GetBatchItems 200 response
A list of batch items. Each item represents a single eligibility check in the batch. Unlike the polling endpoint, which only returns results for completed eligibility checks, this endpoint returns results for all eligibility checks in the batch, regardless of their processing status.
All batch items may not be returned in a single response; use the nextPageToken to retrieve subsequent pages of results.
Token for pagination to retrieve the next page of results; null if there are no more results
- Required string length:
1 - 1024
curl --request GET \ --url "https://manager.us.stedi.com/2024-04-01/eligibility-manager/batch/{batchId}/items" \ --header "Authorization: <api_key>"fetch("https://manager.us.stedi.com/2024-04-01/eligibility-manager/batch/{batchId}/items", { headers: { "Authorization": "<api_key>" }})package mainimport ( "fmt" "net/http" "io/ioutil")func main() { url := "https://manager.us.stedi.com/2024-04-01/eligibility-manager/batch/{batchId}/items" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "<api_key>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}import requestsurl = "https://manager.us.stedi.com/2024-04-01/eligibility-manager/batch/{batchId}/items"response = requests.request("GET", url, headers = { "Authorization": "<api_key>"})print(response.text)import java.net.URI;import java.net.http.HttpClient;import java.net.http.HttpRequest;import java.net.http.HttpResponse;import java.net.http.HttpResponse.BodyHandlers;import java.time.Duration;HttpClient client = HttpClient.newBuilder() .connectTimeout(Duration.ofSeconds(10)) .build();HttpRequest.Builder requestBuilder = HttpRequest.newBuilder() .uri(URI.create("https://manager.us.stedi.com/2024-04-01/eligibility-manager/batch/{batchId}/items")) .header("Authorization", "<api_key>") .GET() .build();try { HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString()); System.out.println("Status code: " + response.statusCode()); System.out.println("Response body: " + response.body());} catch (Exception e) { e.printStackTrace();}{
"fieldList": [
{
"message": "string",
"path": "string"
}
],
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}{
"code": "string",
"message": "string"
}