Get Execution Transactions
Fetch a list of transactions for a file execution, including the full transaction details.
/executions/{executionId}/transactions
This endpoint retrieves information about all transactions Stedi has processed for a specific file execution. Transactions are sorted by creation date from newest to oldest.
A Stedi API Key for authentication.
Path Parameters
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.
Query Parameters
The maximum number of elements to return in a page. You can set this to a maximum of 500 elements. If not specified, the default is 100.
- Range:
≥ 1 and ≤ 500
A token returned by a previous call to this operation in the nextPageToken
. If not specified, Stedi returns the first page of results.
- Required string length:
1 - 1024
Response
ListExecutionTransactions 200 response
Token for pagination to retrieve the next page of results; null if there are no more results
- Required string length:
1 - 1024
The processed transactions that match the request criteria. The items
array is empty if there are no matching transactions.
curl --request GET \
--url "https://core.us.stedi.com/2023-08-01/executions/{executionId}/transactions" \
--header "Authorization: <api_key>"
fetch("https://core.us.stedi.com/2023-08-01/executions/{executionId}/transactions", {
headers: {
"Authorization": "<api_key>"
}
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://core.us.stedi.com/2023-08-01/executions/{executionId}/transactions"
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 requests
url = "https://core.us.stedi.com/2023-08-01/executions/{executionId}/transactions"
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://core.us.stedi.com/2023-08-01/executions/{executionId}/transactions"))
.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();
}
{
"message": "string"
}
{
"message": "string",
"code": "string"
}
{
"message": "string",
"code": "string"
}
{
"message": "string",
"code": "string"
}
{
"message": "string",
"code": "string"
}
{
"message": "string",
"cause": {
"name": "string",
"message": "string",
"stack": "string"
}
}
{
"message": "string",
"code": "string"
}
{
"message": "string",
"code": "string"
}