Automations · Workflows

Get an execution's timeline

Fetches an execution's timeline.

GEThttps://api.pozy.ai/v1/workflows/{workflowId}/executions/{executionId}/events
listWorkflowExecutionEvents

Guide: Workflows

Request

Send your API key as Authorization: Bearer pz_live_.... Read-only keys can call it. Keys with the messages resource group disabled get 403 resource_group_disabled. Authentication

Path parameters

NameTypeNotes
workflowIdrequiredstring
executionIdrequiredstring

Example

curl -X GET "https://api.pozy.ai/v1/workflows/6e299f518f373bfd669857c4/executions/6c1d5173be24d1f9e4e6f57f/events" \
  -H "Authorization: Bearer $POZY_API_KEY"

Response

200 on success

  • successboolean
  • executionobject
    • idstring
    • statusstring

      One of running, waiting, completed, exited, failed.

    • startedAtstring (date-time)

      Can be null.

    • completedAtstring (date-time)

      Can be null.

  • eventsarray of object
    9 child fields
    • actionstring

      One of execution_started, execution_completed, execution_exited, execution_paused, execution_resumed, node_started, node_completed, node_failed, node_skipped.

    • statusstring

      One of success, failed, pending. Can be null.

    • nodeIdstring

      Can be null.

    • nodeTypestring

      Can be null.

    • sourceHandlestring

      Can be null.

    • durationMsinteger

      Can be null.

    • errorMessagestring

      Can be null.

    • metaobject

      Can be null.

    • atstring (date-time)
200 response
{
  "success": true,
  "execution": {
    "id": "6bfebd43ddc270f6d2c56fc5",
    "status": "running",
    "startedAt": "2026-10-02T09:00:00.000Z",
    "completedAt": "2026-10-02T09:00:00.000Z"
  },
  "events": [
    {
      "action": "execution_started",
      "status": "success",
      "nodeId": "661065480d0716ebcd3f1af3",
      "nodeType": "string",
      "sourceHandle": "acme",
      "durationMs": 1,
      "errorMessage": "Hello from Pozy",
      "meta": {},
      "at": "2026-10-02T09:00:00.000Z"
    }
  ]
}

Errors

Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:

400invalid_request_errorA parameter or body field is missing or invalid. param names it.
401authentication_errorThe API key is missing, revoked or expired.
403permission_errorThe key is scoped to other profiles or has this resource group disabled.
404not_foundNothing with that id exists in your workspace.
429rate_limit_errorToo many requests this minute. Wait for Retry-After seconds.

Every code is listed in Errors.

More in Workflows