Everstack

List execution history for a workflow

GET/v1/workflows/{workflowId}/executions
GET/v1/workflows/{workflowId}/executions

Your instance endpoint, shown on the instance page in the dashboard. Each instance has its own host; there is no shared API host.

Parameters

NameInTypeRequiredDescription
workflowIdpathstringYes
tenantIdquerystringNo
pageSizequeryintegerNo
offsetqueryintegerNo
statusFilterquerystringNooptional: running | completed | failed

Responses

200 List workflow executions

PropertyTypeDescription
executionsobject[]
totalinteger

default An unexpected error response.

PropertyTypeDescription
codeinteger
messagestring
detailsobject[]

Request

curl -X GET "http://localhost:8089/v1/workflows/{workflowId}/executions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
const response = await fetch("http://localhost:8089/v1/workflows/{workflowId}/executions", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
});
const data = await response.json();
import requests

response = requests.get(
    "http://localhost:8089/v1/workflows/{workflowId}/executions",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
)
data = response.json()

Response

{
  "executions": [
    {
      "id": "string",
      "workflowId": "string",
      "tenantId": "string",
      "correlationId": "string",
      "triggerType": "string",
      "status": "string",
      "inputMessages": [],
      "outputContent": "string",
      "resolvedModel": "string",
      "resolvedProvider": "string",
      "promptTokens": 0,
      "completionTokens": 0,
      "totalTokens": 0,
      "errorMessage": "string",
      "startedAt": "string",
      "completedAt": "string",
      "durationMs": 0,
      "eventsJson": "string",
      "ledgerJson": "string"
    }
  ],
  "total": 0
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}