Workflows

Log detail

Returns one run in full detail, or the workflow snapshot it ran with.

GEThttps://app.getera.io/api/v1/logs/{id}
API key
GEThttps://app.getera.io/api/v1/logs/executions/{executionId}
API key

The first address returns one run log with its step data and cost. The second finds the same run by executionId and returns the snapshot of the workflow as it was when it ran (blocks and connections) — handy for working out why a run ended the way it did.

Authentication

An API key in the x-api-key header. The run must be in a workspace the key's owner can reach.

Path parameters

NameTypeRequiredDescription
idstringYesThe id from the Run logs response.
executionIdstringYesThe executionId from a run response or a log.

Example

curl https://app.getera.io/api/v1/logs/log_91ab \
  -H "x-api-key: ERA_API_KEY"

Response: log

{
  "data": {
    "id": "log_91ab",
    "workflowId": "wf_demo123",
    "executionId": "5d7e2a10-0000-4000-8000-000000000020",
    "level": "info",
    "trigger": "api",
    "startedAt": "2026-10-14T09:30:00.000Z",
    "endedAt": "2026-10-14T09:30:02.140Z",
    "totalDurationMs": 2140,
    "workflow": {
      "id": "wf_demo123",
      "name": "Prepare a quote",
      "description": "Drafts a quote for a new lead.",
      "color": "#3972F6",
      "folderId": null,
      "userId": "c0ffee00-0000-4000-8000-000000000002",
      "workspaceId": "WORKSPACE_ID",
      "createdAt": "2026-09-20T10:00:00.000Z",
      "updatedAt": "2026-10-01T08:00:00.000Z"
    },
    "executionData": {},
    "cost": { "total": 0.0042 },
    "createdAt": "2026-10-14T09:30:02.200Z"
  },
  "limits": { "workflowExecutionRateLimit": { "sync": {}, "async": {} }, "usage": {} }
}

Response: snapshot

{
  "executionId": "5d7e2a10-0000-4000-8000-000000000020",
  "workflowId": "wf_demo123",
  "workflowState": { "blocks": {}, "edges": [] },
  "executionMetadata": {
    "trigger": "api",
    "startedAt": "2026-10-14T09:30:00.000Z",
    "endedAt": "2026-10-14T09:30:02.140Z",
    "totalDurationMs": 2140,
    "cost": { "total": 0.0042 }
  },
  "limits": { "workflowExecutionRateLimit": { "sync": {}, "async": {} }, "usage": {} }
}

Errors

StatusWhen
401Missing or invalid key.
404{"error": "Log not found"}, {"error": "Workflow execution not found"} or {"error": "Workflow state snapshot not found"}.
429Rate limit.
500Server error.
© 2026 Era. Era documentation. Something missing or wrong? Write to us: [email protected]