Retrieve Batch Status

Retrieve the status of an eligibility check batch submitted through the API or CSV upload

GET/eligibility-manager/batch/{batchId}

This endpoint retrieves the processing status of an eligibility check batch you submitted through the asynchronous Batch Eligibility Checks endpoint or through CSV upload in the Stedi portal.

You can use this endpoint to determine when to start polling for the results of the eligibility checks within the batch. For example, you shouldn't start polling until the successCount is greater than zero. You can also use this endpoint to monitor the progress of large batches and confirm that all checks have been completed.

  1. Call this endpoint with the batch ID for the eligibility check batch. This is the batchId Stedi returned in the Batch Eligibility Checks endpoint response. It's also available on the batch's details page in the Stedi portal.
  2. Stedi returns a summary of the batch's processing status, including the number of completed checks, the error count, and the overall batch status.

Visit Retrieve batch results for a complete how-to guide.

Authorizationstringrequiredheader

A Stedi API Key for authentication.

Path Parameters

batchIdstring

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.

Response

application/json

GetBatch 200 response

batchTypestringrequired

The type of batch. Currently only supports eligibility.

Possible values
ELIGIBILITY
createdAtstringrequired

The date and time when the batch was created.

  • Format: date-time

The number of eligibility checks that failed during processing. A failure means that Stedi successfully processed the check but didn't receive a response from the payer, even after retrying. A common reason for failure is payer connectivity issues.

idstringrequired

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.

importUrlstring

The URL to download the original CSV file. Only relevant for batches submitted through CSV upload in the Stedi portal.

The number of eligibility checks that are currently in progress (started or retrying).

namestringrequired

The name assigned to the batch upon creation. For CSV uploads, this is the name you provided when uploading the file. For API submissions, this is the same as the batchId.

  • Pattern: ^[a-zA-Z0-9-_]{1,100}$
sourcestring

How the batch was submitted. Can be:

  • API: The batch was submitted through the Batch Eligibility Check endpoint.
  • CSV_IMPORT: The batch was submitted through CSV upload in the Stedi portal.
Possible values
CSV_IMPORT
API
statusstringrequired

The status of the batch. Can be:

  • PENDING: Stedi created the batch and is waiting for the CSV file to finish uploading.
  • VALIDATED: Stedi finished validating the batch and is ready to start executing it.
  • VALIDATION_FAILED: Stedi found errors in the batch submission that you need to fix before processing can continue. This is usually due to malformed CSV data.
  • IN_PROGRESS: Stedi is processing the batch. Some eligibility checks in the batch may be complete while others are still in progress.
  • COMPLETED: Stedi finished processing all items in the batch successfully. This doesn't mean that all eligibility checks successfully returned benefits information, only that Stedi successfully sent them to the payers and received responses.
  • COMPLETED_WITH_ERRORS: Stedi finished processing all eligibility checks in the batch, but some failed. A common reason for failure is payer connectivity issues.
Possible values
PENDING
VALIDATED
VALIDATION_FAILED
IN_PROGRESS
COMPLETED

The number of eligibility checks that were successfully completed. This means that Stedi successfully sent the check to the payer and received a response, but doesn't indicate whether the payer returned benefits information.

The total number of eligibility checks in the batch. In the case of CSV uploads, one row in the CSV file corresponds to one eligibility check.

updatedAtstringrequired

The date and time when the batch was last updated.

  • Format: date-time

The number of eligibility checks that Stedi has validated.

The number of eligibility checks that failed validation. This is relevant to CSV uploads, where Stedi validates each row in the CSV file before processing it.