Skip to main content
GET
/
v1
/
regions
/
global
/
workflows
/
{id}
/
runs
/
{runId}
/
logs
Get workflow run logs
const options = {method: 'GET'};

fetch('https://api.example.com/v1/regions/global/workflows/{id}/runs/{runId}/logs', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": [
    {
      "timestamp": "2023-11-07T05:31:56Z",
      "level": "debug",
      "message": "<string>",
      "step": "<string>",
      "metadata": {}
    }
  ]
}

Path Parameters

id
string
required

Workflow identifier

runId
string
required

Run identifier

Query Parameters

level
enum<string>

Filter by log level

Available options:
debug,
info,
warning,
error

Response

Workflow run logs

success
enum<boolean>
Available options:
true
data
object[]