Fetching and filtering logs
Fetch and filter execution logs.
Logs
Fetch and filter execution logs for a specific agent tool.
Usage
_10weni logs --agent <agent_key> --tool <tool_key> [--start-time ISO8601] [--end-time ISO8601] [--pattern TEXT]
Options
--agent, -a(required): Agent key in your definition (e.g.cep_agent).--tool, -t(required): Tool key (e.g.get_address).--start-time, -s(optional): ISO 8601 datetime. Examples:2024-01-01T00:00:002024-01-01T00:00:00.000Z
--end-time, -e(optional): ISO 8601 datetime, same formats as start.--pattern, -p(optional): Simple substring filter. Regex (e.g.%...%) is not supported.
Supported datetime formats include:
YYYY-MM-DDTHH:MM:SSYYYY-MM-DDTHH:MM:SS.sss- With timezone suffix:
Z,+00:00, etc.
Pagination
If more logs are available, you'll be prompted to fetch more. Choose p to continue or q to stop.
Examples
_10# Basic_10weni logs -a cep_agent -t get_address_10_10# With time range_10weni logs -a cep_agent -t get_address -s 2024-01-01T00:00:00 -e 2024-01-01T23:59:59_10_10# With simple pattern_10weni logs -a cep_agent -t get_address -p error