Automations · Workflows

List workflow runs

Returns workflow runs, one page at a time.

GEThttps://api.pozy.ai/v1/workflows/{workflowId}/executions
listWorkflowExecutions

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

Query parameters

NameTypeNotes
statusstringOne of running, waiting, completed, exited, failed
limitintegerDefault 25
skipintegerDefault 0

Example

curl -X GET "https://api.pozy.ai/v1/workflows/6e299f518f373bfd669857c4/executions?limit=25" \
  -H "Authorization: Bearer $POZY_API_KEY"

Response

200 on success

  • successboolean
  • executionsarray of object
    13 child fields
    • idstring
    • statusstring

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

    • currentNodeIdstring
    • waitingForobject

      Can be null.

      2 child fields
      • kindstring

        One of timer, reply.

      • nodeIdstring
    • variablesobject
    • platformIdentifierstring
    • conversationIdstring

      Can be null.

    • stepCountinteger
    • lastErrorstring

      Can be null.

    • resumeAtstring (date-time)

      Can be null.

    • createdAtstring (date-time)
    • updatedAtstring (date-time)
    • completedAtstring (date-time)

      Can be null.

  • paginationobject
    • totalinteger
    • limitinteger
    • skipinteger
    • hasMoreboolean
200 response
{
  "success": true,
  "executions": [
    {
      "id": "6bfebd43ddc270f6d2c56fc5",
      "status": "running",
      "currentNodeId": "6824a29c1481b019b3350794",
      "waitingFor": {
        "kind": "timer",
        "nodeId": "661065480d0716ebcd3f1af3"
      },
      "variables": {},
      "platformIdentifier": "instagram",
      "conversationId": "6e525f3820fc636aa96d2ee9",
      "stepCount": 42,
      "lastError": "string",
      "resumeAt": "2026-10-02T09:00:00.000Z",
      "createdAt": "2026-10-02T09:00:00.000Z",
      "updatedAt": "2026-10-02T09:00:00.000Z",
      "completedAt": "2026-10-02T09:00:00.000Z"
    }
  ],
  "pagination": {
    "total": 42,
    "limit": 1,
    "skip": 1,
    "hasMore": true
  }
}

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