# `ApifyClient.API.Logs`
[🔗](https://github.com/social-growth-studio/apify-client-ex/blob/v1.0.0/lib/apify_client/api/logs.ex#L1)

Provides API endpoint related to api/logs

# `get`

```elixir
@spec get(build_or_run_id :: String.t(), opts :: keyword()) ::
  {:ok, String.t()} | {:error, ApifyClient.Error.t()}
```

Get Actor build or run log

Retrieves logs for a specific Actor build or run.

## Options

  * `stream`: If `true` or `1` then the logs will be streamed as long as the run or build is running.
    
  * `download`: If `true` or `1` then the web browser will download the log file rather than open it in a tab.
    
  * `raw`: If `true` or `1`, the logs will be kept verbatim. By default, the API removes
    ANSI escape codes from the logs, keeping only printable characters.
    

---

*Consult [api-reference.md](api-reference.md) for complete listing*
