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

# Sessions & Logs

> Start your deployed agent in a room, list and stop live sessions, and stream console logs.

A **session** is one live conversation handled by your agent.

## Start a session

```bash theme={null}
zeroruntime invoke                          # fresh room, prints a playground link
zeroruntime invoke --console                # talk to the agent in your terminal
zeroruntime invoke --room-id <room-id>      # join a specific room
```

`invoke` prints the room ID it joined and a playground link.

## List and stop sessions

```bash theme={null}
zeroruntime session list                        # sessions for this agent
zeroruntime session list --room-id <room-id>    # only sessions in one room
zeroruntime session stop --room-id <room-id>    # stop by room
zeroruntime session stop --session-id <id>      # stop by session ID
```

## Logs

Stream console output from your running agent:

```bash theme={null}
zeroruntime logs                          # most recent 50 lines, newest first
zeroruntime logs --limit 200 --sort 1     # 200 lines, oldest first
zeroruntime logs --since 1h               # last hour
zeroruntime logs --since 30m --until 5m   # a specific window
zeroruntime logs -v <version-id>          # one version only
```

See the [CLI Reference](/deployments/cli-reference#logs) for every flag and default.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.