# Get Run Logs API

Retrieve execution logs for a specific run.

  GET  `/v1/runs/{run_id}/logs` 

## Parameters

Add `?include=all` to include all logs (including debug).

## Example

```bash
curl -X GET "https://api-ingress-worker-staging.browsable-staging.workers.dev/v1/runs/00000000-0000-4000-8000-000000000001/logs?include=all" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

```json
{
  "logs": [
    {
      "id": "log_1",
      "level": "info",
      "message": "Searching Reddit",
      "source": "builtin",
      "created_at": "2024-01-20T10:30:05Z"
    }
  ]
}
```

---
Source: https://browsable-api-ux-staging.pages.dev/docs/api/runs/logs
