---
title: "Get history of workflow executions"
method: GET
path: "/api/{org_id}/workflows/{id}/history"
tags: ["Workflows"]
---

# Get history of workflow executions

`GET /api/{org_id}/workflows/{id}/history`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/workflows/{id}/history`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/workflows/:id/history/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `id` string, required

## Query parameters

- `start_time` integer
- `end_time` integer

## Response `200`

Success

- WorkflowHistoryRow[]
  - `_timestamp` integer, required
  - `end_time` integer, required
  - `error` string, nullable
  - `evaluation_took_in_secs` number, double, required
  - `event_type` 'AlertFired' | 'AlertResolved' | 'IncidentEvent' | 'Webhook' | 'Manual' | 'Test' | 'Retry' | 'Unknown'
  - `http_request` HttpRequestFacts
    - `body_bytes` integer, required
    - `caller_ip` string, required
    - `content_type` string, nullable
    - `credential_prefix` string, required
    - `error` string, nullable
    - `idempotency_key` string, nullable
    - `status` string, required
  - `key` string, required
  - `org` string, required
  - `run_id` string
  - `source_id` string
  - `source_node` string, required
  - `start_time` integer, required
  - `status` string, nullable

## Other responses

- `400`: Failure
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
