v2

latestOpenAPI 3.1.0Apache 2.02026-07-31441011.7 MB
Actions

Get details for single Web3 Action execution

Retrieve the details of a specific Web3 Action execution. You need to provide the Web3 Action ID and execution ID.

get/v1/account/{accountSlug}/project/{projectSlug}/actions/action/{actionId}/calls/call/{executionId}

Path parameters

accountSlugstring required

Account slug of the user

projectSlugstring required

Project slug of the account

actionIdstring required

Web3 Action Id to get info for

executionIdstring required

Web3 Action execution Id to get info for

Response

A successful response.

idstring required

ID of the Web3 Action execution.

actionIdstring required

ID of the Web3 Action connected to this execution.

versionIdstring required

ID of the Web3 Action version connected to this execution.

createdAtstring required

When Web3 Action execution is created.

type'AUTOMATIC' | 'MANUAL' | 'RERUN' required

Web3 Action execution type.

status'ENABLED' | 'DISABLED' | 'SUCCEEDED' | 'SUBMITTED' | 'SKIPPED' | 'FAILED' | 'PENDING' | 'RETRY' | 'TIMED_OUT' | 'RATE_LIMITED' required

Web3 Action execution status.

statusUpdatedAtstring required

When Web3 Action execution status is updated.

payloadobject required

Web3 Action execution payload.

storageType'COPY_ON_WRITE' | 'WRITE' | 'EMPTY' required

A storage type used to store Web3 Action execution.

storageIdstring required

A storage Id used to store Web3 Action execution.

memorynumber required

Web3 Action execution memory in bytes.

timenumber required

Web3 Action execution time in milliseconds.

parsedLogsobject

Parsed logs for Web3 Action execution

parsedErrorobject

Parsed errors for Web3 Action execution

Example response

{
  "id": "4010f442-c4d9-407d-aba1-7276e3312998",
  "actionId": "0f55690d-0894-4173-9714-10cc0404e09a",
  "versionId": "7052c8f8-ddc5-4c05-82c0-d69e223e0d65",
  "createdAt": "2022-12-02T10:06:02.649431Z",
  "type": "AUTOMATIC",
  "status": "SUCCEEDED",
  "statusUpdatedAt": "2022-12-02T10:06:02.815476Z",
  "payload": {
    "type": "block",
    "block": {
      "network": "1",
      "blockNumber": 16096415,
      "blockHash": "0xdf6b1f2eb10513cd8f0d9716c07daa4a67de0ecd8a23de28d8b146ceb78eb7f7",
      "blockDifficulty": "0",
      "totalDifficulty": "58750003716598352816469"
    }
  },
  "storageType": "WRITE",
  "storageId": "1830efff-aa75-481e-b464-cedaf8b90960",
  "memory": 67,
  "time": 76,
  "parsedLogs": {
    "lines": [
      {
        "time": "2022-12-02T10:06:02.747Z",
        "severity": "INFO",
        "message": "DefaultBlockEvent {\n  network: '1',\n  blockHash: '0xdf6b1f2eb10513cd8f0d9716c07daa4a67de0ecd8a23de28d8b146ceb78eb7f7',\n  blockNumber: 16096415,\n  blockDifficulty: '0',\n  totalDifficulty: '58750003716598352816469'\n}"
      },
      {
        "time": "2022-12-02T10:06:02.747Z",
        "severity": "INFO",
        "message": "blockEvent"
      }
    ]
  },
  "parsedError": null
}