GET
/
executions
/
{executionId}
/
metadata
curl --request GET \
  --url https://core.us.stedi.com/2023-08-01/executions/{executionId}/metadata \
  --header 'Authorization: <api-key>'
{
  "documentDownloadUrl": "<string>"
}

This endpoint retrieves a file execution’s metadata document.

There are no size restrictions on documents when fetching from this endpoint.

Response

This endpoint returns a 302 Temporary redirect to the document download URL. Many HTTP clients will automatically follow this redirect, or have a simple follow redirects configuration to set. For example, using the -L or --location flag in cURL will automatically follow the redirect. In this case, the response will contain the full metadata document.

In the event you cannot, or chose not to automatically follow the redirect, the body of the response contains a JSON object with a single key documentDownloadUrl which contains a temporary URL to download the document. This URL is available for 60 minutes.

Example

The following is an example of the metadata document for an 837 Professional Claim:

Authorizations

Authorization
string
header
required

A Stedi API Key for authentication.

Path Parameters

executionId
string
required

A unique identifier for the file execution within Stedi. This ID is included in the file processed event, or you can retrieve it manually from the file's details page within the Stedi app.

Response

302
application/json
GetExecutionMetadataDocument 302 response
documentDownloadUrl
string

A URL to download the document. This URL is available for 60 minutes.