Workflows

Run logs

Lists the run history of a workspace's workflows, with filters.

GEThttps://app.getera.io/api/v1/logs
API key

Lists when your workflows ran, what triggered them, how long they took and what they cost. Useful for feeding your own monitoring or reporting tool.

Authentication

An API key in the x-api-key header. The key's owner must have access to the workspace.

Query parameters

NameTypeRequiredDescription
workspaceIdstringYesThe workspace's id.
workflowIdsstringNoComma-separated workflow ids.
folderIdsstringNoComma-separated folder ids.
triggersstringNoComma-separated triggers: manual, api, schedule, chat, webhook, mcp, a2a.
levelstringNoinfo or error.
startDate, endDatedateNoISO 8601 range.
executionIdstringNoOne run.
minDurationMs, maxDurationMsnumberNoDuration range (milliseconds).
minCost, maxCostnumberNoCost range.
modelstringNoBy the AI model used.
detailsstringNobasic (default) or full. full adds a workflow summary and the cost breakdown.
includeFinalOutputbooleanNoWith details=full, adds the final output.
includeTraceSpansbooleanNoWith details=full, adds step-by-step traces.
limitnumberNoDefault 100.
cursorstringNoThe nextCursor from the previous response.
orderstringNodesc (default, newest first) or asc.

Example

curl -G https://app.getera.io/api/v1/logs \
  -H "x-api-key: ERA_API_KEY" \
  --data-urlencode "workspaceId=WORKSPACE_ID" \
  --data-urlencode "level=error" \
  --data-urlencode "limit=20"

Response

{
  "data": [
    {
      "id": "log_91ab",
      "workflowId": "wf_demo123",
      "executionId": "5d7e2a10-0000-4000-8000-000000000020",
      "deploymentVersionId": "dep_3",
      "level": "error",
      "trigger": "api",
      "startedAt": "2026-10-14T09:30:00.000Z",
      "endedAt": "2026-10-14T09:30:02.140Z",
      "totalDurationMs": 2140,
      "cost": { "total": 0.0042 },
      "files": null
    }
  ],
  "nextCursor": "eyJzdGFydGVkQXQiOiIuLi4ifQ==",
  "limits": { "workflowExecutionRateLimit": { "sync": {}, "async": {} }, "usage": {} }
}

Errors

StatusWhen
400Invalid parameters: {"error": "Invalid parameters", "details": [...]}.
401Missing or invalid key.
403No access to the workspace: {"error": "Access denied"}.
429Rate limit.
500Server error.

For one log in detail, see Log detail.

© 2026 Era. Era documentation. Something missing or wrong? Write to us: [email protected]