# workspace.Workspace.InitialSessionRequest

- **Module:** workspace.Workspace
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/workspace/builder.go#L15
- **Page:** https://libtmux.org/reference/go/workspace-workspace-initialsessionrequest/

```
workspace.Workspace.InitialSessionRequest() -> (tmux.NewSessionRequest, error)
```

InitialSessionRequest validates w and returns the request that creates its session and initial window. Use the resulting materialized session with [BuildInto] to continue the build over a caller-owned transport.
