Executions

List executions for a workflow (convenience nested route)

Changed on

Same handler as GET /executions?workflowId={id}; offered as a nested route for clients that prefer it.

get/workflows/{id}/executions

Request

  • Base URL
    https://api.avaprotocol.org/api/v1
  • Auth
    HTTP bearer

Query parameters

beforestring

Cursor — return items immediately before this position (backward pagination).

afterstring

Cursor — return items immediately after this position (forward pagination).

limitinteger

Max items to return. Default 20; server-enforced ceiling applies.

Response

Page of executions for the workflow.

Example response

{
  "data": [
    {
      "id": "01JG2FE5MDVKBPHEG0PEYSDKAC",
      "workflowId": "01JG2FE5MDVKBPHEG0PEYSDKAC",
      "chainId": 11155111,
      "steps": [
        {
          "errorDetails": {
            "token": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
          }
        }
      ],
      "authorization": {
        "missingActions": [
          {
            "target": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
          }
        ],
        "missingTokens": [
          "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
        ],
        "required": {
          "allowedActions": [
            {
              "target": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
            }
          ],
          "erc20SpendCaps": [
            {
              "token": "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB",
              "amount": "500000000"
            }
          ],
          "nativeRecipients": [
            "0x82F2Dd9a552a69f2ceD7Ff2D05c43aB8430158FB"
          ],
          "nativeSpendCap": {
            "amount": "10000000000000000"
          }
        }
      }
    }
  ]
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status