Skip to main content
Every call to Reprocess — whether for a whole batch or a single item — creates a log entry. These endpoints let you query that history, which is useful for auditing who retried what and why an attempt failed, independent of the item’s current live status.

Logs for a batch

Returns reprocess log entries for every item in a batch, most recent first.

Endpoint

Path parameters

string
required
The batch to fetch reprocess logs for.

Headers

string
required
Your public API key.
string
required
Your API secret. Use a stl_test_... value in sandbox, stl_live_... in production.
string
required
Your business ID.

Query parameters

integer
Page number. Defaults to 1.
integer
Records per page. Defaults to 20, capped at 100.
string
Filter to logs whose outcome was this status. One of completed, failed, pending.
string
Filter to logs triggered by this actor type. One of member, admin, system.
string
ISO 8601 date — only include logs created on or after this date.
string
ISO 8601 date — only include logs created on or before this date.
API-triggered reprocesses are recorded with triggeredByType: "api" in the response, but triggered_by_type as a filter only accepts member, admin, or system — passing api is rejected as an invalid query parameter. There’s currently no way to filter this endpoint down to only API-triggered attempts; omit the filter and check triggeredByType in the results client-side instead.

Response

boolean
true on success.
string
Human-readable outcome.
array
Reprocess log entries, most recently created first.
string
Unique ID for this log entry.
string
The batch this log entry belongs to.
string
The item this log entry is about.
string
The transaction reference the item had immediately before this reprocess attempt.
string
The new transaction reference generated for this attempt.
string
ID of whoever (or whatever) triggered this reprocess — a member ID or your API client’s ID, depending on triggeredByType.
string
Who triggered this attempt: member (dashboard user), api (an API-key request like this one), admin, or system.
string
Display name of the trigger, if available. null for API-triggered attempts.
string
The item’s status immediately before this attempt — always failed, since only failed items are eligible for reprocessing.
string
The item’s resulting status after this attempt. null while the attempt is still in flight.
string
Why the attempt failed, if newStatus is failed. null otherwise.
string
ISO 8601 timestamp of when this reprocess attempt was initiated.
integer
The current page number.
integer
The page size used for this response.
integer
Total number of log entries matching the current query, across all pages.
integer
The final page number, derived from total ÷ limit.

Code examples

Example response

Errors


Logs for a single item

Same as above, scoped to one item within a batch.

Endpoint

Path parameters

string
required
The batch the item belongs to.
string
required
The item to fetch reprocess logs for.

Headers

string
required
Your public API key.
string
required
Your API secret. Use a stl_test_... value in sandbox, stl_live_... in production.
string
required
Your business ID.

Query parameters

integer
Page number. Defaults to 1.
integer
Records per page. Defaults to 20, capped at 100.
string
Filter to logs whose outcome was this status. One of completed, failed, pending.
string
ISO 8601 date — only include logs created on or after this date.
string
ISO 8601 date — only include logs created on or before this date.
Unlike the batch-level endpoint above, this one does not support filtering by triggered_by_type.

Response

Same response shape as logs for a batch above, filtered to the one item.

Code examples

Errors

See Errors for the full envelope and error code reference.