> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get Browserbase function build logs

> Read timestamped logs for one Function build.

`browserbase.getFunctionBuildLogs` reads timestamped logs for one Function build. Inputs accept literal values or compatible signals. An optional second argument `{ account }` selects a named Browserbase binding.

## Example

```ts theme={null}
import { automation, onInvocation } from "automate.ax"
import { browserbase } from "automate.ax/browserbase"

export default automation("Get Browserbase function build logs", () => {
  onInvocation()
  browserbase.getFunctionBuildLogs({
    buildId: "00000000-0000-4000-8000-000000000001",
  })
})
```

## Inputs

| Input     | Type | Required | Default | Description        |
| --------- | ---- | -------- | ------- | ------------------ |
| `buildId` | UUID | Yes      | —       | Function build ID. |

## Output

Returns `logs` and `total`. Each log has `message` and numeric `timestamp`.

Use logs with the build's `cause` when diagnosing failures.
