Skip to main content
GET
/
workflows
/
{workflow_id}
/
executions
List workflow executions
curl --request GET \
  --url https://api.kapso.ai/platform/v1/workflows/{workflow_id}/executions \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "started_at": "2023-11-07T05:31:56Z",
      "last_event_at": "2023-11-07T05:31:56Z",
      "ended_at": "2023-11-07T05:31:56Z",
      "tracking_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "whatsapp_conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "workflow": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "status": "<string>"
      },
      "current_step": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "identifier": "<string>",
        "stepable_type": "<string>",
        "position": {
          "x": 123,
          "y": 123
        }
      }
    }
  ],
  "paging": {
    "cursors": {
      "before": "<string>",
      "after": "<string>"
    },
    "next": "<string>",
    "previous": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.kapso.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

workflow_id
string<uuid>
required

Workflow identifier

Query Parameters

status
enum<string>

Filter by execution status

Available options:
running,
waiting,
ended,
failed,
handoff
waiting_reason
string

Filter waiting executions by reason (e.g., 'wait_for_response', 'timeout')

created_after
string<date-time>

Only return executions started on or after this timestamp

created_before
string<date-time>

Only return executions started on or before this timestamp

whatsapp_conversation_id
string<uuid>

Filter by associated WhatsApp conversation

limit
integer
default:20

Maximum number of results per cursor-paginated page (default 20, max 100).

Required range: 1 <= x <= 100
before
string

Cursor for the previous page (Base64 encoded).

after
string

Cursor for the next page (Base64 encoded).

Response

Executions retrieved successfully

List of workflow executions with cursor pagination metadata

data
object[]
required
paging
object
required