segmentstream logs
Read the workspace application's logs.
Usage
segmentstream logs [OPTIONS]Read the workspace application's logs. Without --build, reads the live runtime stream (requests, console output, errors) of the deployment serving the workspace. Each read covers a short live window, and --follow keeps reading until --timeout. Lines written while nobody was reading can be queried with --since (for example 1h or a UTC ISO timestamp), within the provider's retention. --until bounds historical reads. --workflow-run selects ontology workflow logs; job logs use `run logs`. A durable agent session keeps running on the deployment that started it; pass --deployment to read that deployment. --service also keeps lines no service is attributed to, shown as [unattributed]. With --build, reads the build output of the newest deployment. Requires permission to read deployment logs.
Options
--build- Read build output instead of runtime logs
--deployment UUID- Deployment to read
--preview NAME- Read this preview's deployment logs
--workspace UUID--follow- Keep reading new log lines
--cursor TEXT- Resume after a previous cursor
--since TEXT- Read retained logs since a duration (1h, 24h) or UTC timestamp
--until TEXT- End historical reads at a UTC timestamp or relative duration
--workflow-run RUN_ID- Filter ontology workflow logs
--request-id TEXT- Filter logs by request ID
--level [info|warning|error]- Minimum runtime log level
--service [app|ontology|agent]- Only this service and lines no service is attributed to
--timeout INTEGER RANGE- [default: 1200; x>=1]
--output [table|json]- Output format [default: table]
--api-url TEXT--organization ORG-ID- Organization for this command
--help- Show this message and exit.